Posts

Showing posts from April, 2018

How to Avoid Common Travel Video Mistakes

How to Use TensorFlow Mobile in Android Apps

International Artist Feature: New Zealand

How to Draw a Palm Tree

How to Quickly Customize a PowerPoint Template Design

Regular Expressions With Go: Part 2

Image
Overview This is part two of a two-part series of tutorials about regular expressions in Go. In part one we learned what regular expressions are, how to express them in Go, and the basics of using the Go regexp library to match text against regular expression patterns.  In part two, we will focus on using the regexp library to its full extent, including compiling regular expressions, finding one or more matches in the text, replacing regular expressions, grouping submatches, and dealing with new lines. Using the Regexp Library The regexp library provides full-fledged support for regular expressions as well as the ability to compile your patterns for more efficient execution when using the same pattern to match against multiple texts. You can also find indices of matches, replace matches, and use groups. Let's dive in. Compiling Your Regex There are two methods for compiling regexes: Compile() and MustCompile() . Compile() will return an error if the provided pattern is inva

20 Best WordPress Video Themes: With Beautiful Gallery and Fullscreen Features

Create a Library Finder App in Angular: HomeComponent and LibraryListComponent

20 Coolest Cinema 4D Templates

10 of the Most Useful Free Mac Apps for Travellers

How to Create a Summer Portrait With Ice Cream in Procreate

15 of the Best Rated Breakbeat and Drum & Bass Music Kits

5 Best FTP Client Software for Mac and Windows

18 Professional PowerPoint Templates: For Better Business Presentations

How to Create a Focus Group for Better Market Research

Translating Stimulus Apps With I18Next

Image
In my previous article I covered Stimulus—a modest JavaScript framework created by Basecamp. Today I'll talk about internationalizing a Stimulus application, since the framework does not provide any I18n tools out of the box. Internationalization is an important step, especially when your app is used by people from all around the world, so a basic understanding of how to do it may really come in handy. Of course, it is up to you to decide which internationalization solution to implement, be it jQuery.I18n , Polyglot , or some other. In this tutorial I would like to show you a popular I18n framework called I18next that has lots of cool features and provides many additional third-party plugins to simplify the development process even further. Even with all these features, I18next is not a complex tool, and you don't need to study lots of documentation to get started. In this article, you will learn how to enable I18n support in Stimulus applications with the help of the I18nex

20 Cool Photoshop Photo Effects to Add Style & Wow

7+ Best Antivirus Software for Macs in 2018 (Free + Paid)

Regular Expressions With Go: Part 1

Image
Overview Regular expressions (AKA regex) are a formal language that defines a sequence of characters with some pattern. In the real world they can be used to solve a lot of problems with semi-structured text. You can extract the important bits and pieces from text with a lot of decorations or unrelated content. Go has a strong regex package in its standard library that lets you slice and dice text with regexes.  In this two-part series, you'll learn what regular expressions are and how to use regular expressions effectively in Go to accomplish many common tasks. If you're not familiar with regular expressions at all, there are lots of great tutorials. Here is a good one . Understanding Regular Expressions Let's start with a quick example. You have some text, and you want to check if it contains an email address. An email address is specified rigorously in RFC 822 . In short, it has a local part followed by an @ symbol followed by a domain. The mail address will be separ

Get Wear OS and Android Talking: Exchanging Information via the Wearable Data Layer

Get Started With the New Bootstrap 4 Grid System in Our New Course

How to Create an Alice in Wonderland Themed Stencil in Adobe Illustrator

Create a Library Finder App in Angular: Library Service and Routing

How to Find and Fix Poor Page Load Times With Raygun

How to Create a Furry, White Rabbit Inspired Text Effect in Adobe Photoshop

How to Insert Word Documents Into PowerPoint in 60 Seconds

Personal Branding Guide for Designers 2018

Create 2D Tree Shapes With Code

Create an Alice in Wonderland Themed iPhone Wallpaper in Pixelmator

Create Beautiful Page Layouts and a Striking Cover for a Children’s Fiction Book

How to Create an Alice in Wonderland Tea Party Scene in Adobe Illustrator

How to Deal with a Difficult Boss (7 Top Strategies)

15+ Best Responsive Web Design Tutorials for Beginners

WordPress Gutenberg Block API: An Introduction

Introduction to Network Programming in Python

New Course: Java 8 for Android App Development

15 Best WordPress Landing Page Themes - Made for Conversions

How to Create a Furry Cheshire Cat Inspired Text Effect in Adobe Illustrator

25+ Free Microsoft PowerPoint Templates to Download Now

First Look at WordPress Gutenberg

How to Create an Alice in Wonderland Inspired Afternoon Tea Invite in Adobe InDesign

Why Dark UI Patterns are Bad for Business

Email Isn't Working. How to Use Computers to Support Customers

How to Create a Wonderland Photo Manipulation With Adobe Photoshop

What Is WordPress Gutenberg?

How to Create a Hookah Smoke Text Effect in Adobe Photoshop

Quick Tip: Beware When Using the Slim Version of jQuery

How to Use Google Sheets to Make Your First Spreadsheet

Notifications in Laravel

Image
In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications over the mail channel. Basics of Notifications During application development, you often need to notify users about different state changes. It could be either sending email notifications when the order status is changed or sending an SMS about their login activity for security purposes. In particular, we're talking about messages that are short and just provide insight into the state changes. Laravel already provides a built-in feature that helps us achieve something similar—notifications. In fact, it makes sending notification messages to users a breeze and a fun experience! The beauty of that approach is that it allows you to choose from different channels notifications will be sent on. Let's quickly go through the diff

Create Two Colorful Children's Book Illustrations in Illustrator

How to Draw Lips and a Mouth

15 Kinetic After Effects Typography Animation Video Templates

Video Gold: How to Use Sunrise and Sunset for Beautiful Lighting on Location

How to Celebrate Earth Day (10 Activity Ideas for Your Work)

5 Amazing Assets to Give Wedding Photography Portfolio a Professional Look

How to Create an ‘Earth Day’ Plastic Pollution Infographic in Adobe InDesign

14 Awesome Product Demo Video Templates for After Effects

What Is Environmental Ethics for Business? +10 Important Issues

Super Zoom: Why You Should Consider a One-Lens Wonder for Your Camera

How to Use Medium Telephoto Photography Lenses

15 Fresh Spring Resources for Photographers and Designers

Travel Video: Choose the Right Accessories for Your Trip

5 Hot Video Artists on Envato Market This Month (April 2018)

How to Animate a Twirling Girl in Toon Boom

20 Cool Photoshop Text Effects, Actions & Styles for 2018

How to Rotate Text & Shapes in Keynote in 60 Seconds

Introduction to the Stimulus Framework

Image
There are lots of JavaScript frameworks out there. Sometimes I even start to think that I'm the only one who has not yet created a framework. Some solutions, like Angular , are big and complex, whereas some, like Backbone (which is more a library than a framework), are quite simple and only provide a handful of tools to speed up the development process. In today's article I would like to present you a brand new framework called Stimulus . It was created by a Basecamp team led by David Heinemeier Hansson, a popular developer who was the father of  Ruby on Rails . Stimulus is a small framework that was never intended to grow into something big. It has its very own philosophy and attitude towards front-end development, which some programmers might like or dislike. Stimulus is young, but version 1 has already been released so it should be safe to use in production. I've played with this framework quite a bit and really liked its simplicity and elegance. Hopefully, you will

Single-Page React Applications With the React-Router and React-Transition-Group Modules

New Course: Four Bootstrap 4 Projects

Art for All: Celebrate Diversity in Design—Volume 8

Auto-Update Your WordPress Salts With WP-Salts-Update-CLI

Best Practices in UX Design for a Global Audience

How to Set Up a Full-Text Search Using Scout in Laravel

Image
Full-text search is crucial for allowing users to navigate content-rich websites. In this post, I'll show you how to implement full-text search for a Laravel app. In fact, we'll use the Laravel Scout library, which makes implementation of full-text search easy and fun. What exactly is the Laravel Scout? The official documentation sums it up like this: Laravel Scout provides a simple, driver-based solution for adding full-text search to your Eloquent models. Using model observers, Scout will automatically keep your search indexes in sync with your Eloquent records. Basically, Laravel Scout is a library that manages manipulation of the index whenever there's a change in the model data. The place where the data will be indexed depends on the driver that you've configured with the Scout library. As of now, the Scout library supports Algolia, a cloud-based search engine API, and that's what we'll use in this article to demonstrate the full-text search implementat