Understanding Python Regex Functions, with Examples

Regular expressions (regex) are special sequences of characters used to find or match patterns in strings, as this introduction to regex explains. We’ve previously shown how to use regular expressions with JavaScript and PHP. The focus of this article is Python regex, with the goal of helping you better understand how to manipulate regular expressions… Continue reading Understanding Python Regex Functions, with Examples

PHP Type Casting: A Complete Guide

* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} When you are writing a program, you will need to create and manipulate multiple variables. These variables might store the same or different types of data. For example, some of them could have an integer value while others could be a string or float. Different programming languages… Continue reading PHP Type Casting: A Complete Guide

Using PHP urlencode and urldecode

Every now and then you will have to pass around URLs between different webpages and services. It sounds like a pretty easy task since URLs are basically just text strings, but things can sometimes get complicated. For example, sometimes you need to encode a URL in another URL, for example in a GET request! In… Continue reading Using PHP urlencode and urldecode

How to Add a Dropdown Menu in Android Studio

A dropdown or pull-down menu, also known as spinner, is one of the most essential UI elements for an app. In this tutorial I’ll tell you how to add one to your Android app using Java. Dropdown menus organize an app and improve user experience. Almost every app has a dropdown menu integrated into its… Continue reading How to Add a Dropdown Menu in Android Studio

What is HubSpot?

In case you haven’t heard, HubSpot themes are now available on ThemeForest! Whether you’re new to HubSpot or are still honing your skills, read on for the ins and outs of the platform, including how it can help your business reach new heights.  What is HubSpot?  In a nutshell, HubSpot is inbound marketing and sales… Continue reading What is HubSpot?

How to Work With Regular Expressions in PHP

In this article, we’ll go through the PHP functions that allow you to use regular expressions to perform search and replace operations on strings. What Is a Regular Expression? Regular expressions—also called “regex”—are search patterns for text. These patterns can be processed by a regex engine to find substrings, validate that a string matches a… Continue reading How to Work With Regular Expressions in PHP

What is PHP Used For?

PHP is an open source language that was created to make web development easier. It’s primary and most suitable purpose is as a web development language for creating web apps or APIs. You don’t need a complicated set of commands to create webpages in PHP. In fact, you can mix PHP with plain HTML in… Continue reading What is PHP Used For?

How to Handle Text Overflow (with a CSS Ellipsis)

When a string of text overflows the boundaries of a container it can make a mess of your whole layout. Here’s a cool trick to handle text overflow by truncating long strings with a CSS ellipsis. Text Overflow (with a CSS Ellipsis) Our Overflowing Text Demo During this quick tip we’ll use the following demo… Continue reading How to Handle Text Overflow (with a CSS Ellipsis)

Functions in PHP: Return Values and Parameters

Functions are an important part of programming languages. They help us avoid code duplication by allowing us to run the same set of instructions over and over again on different data. In this tutorial, we will talk about functions in PHP. We will cover all the basic concepts of functions in PHP, and you’ll learn… Continue reading Functions in PHP: Return Values and Parameters

String Concatenation in PHP

String concatenation is a very common and useful operation in PHP. There are many ways in which you might want to join strings together like prepending, appending, or combining them at some other point. In this quick tip, I’ll teach you string concatenation in PHP. You’ll learn how to prepend or append strings in PHP… Continue reading String Concatenation in PHP

How to Trim Strings in PHP

There are a lot of times when we want to work with strings but they are padded with unwanted characters either at the beginning or the end. PHP has defined specific functions that we can use to trim such strings easily. In this quick tip, we will discuss to common string trimming situations that you… Continue reading How to Trim Strings in PHP

How to Implement Email Verification for New Members

Have you ever created an account with a website and been required to check your email and click a verification link sent by the company in order to activate it? Doing so highly reduces the number of spam accounts. In this lesson, we’ll learn how to do this very thing! Looking for a Shortcut? This… Continue reading How to Implement Email Verification for New Members

Exciting New Tools for Designers, June 2020

The best new tools for designers are ones that make your life easier and your workflows faster. You’ll find some of those in this list this month for sure. From tools to help you capture and manage color palettes to AI-powered design analytics to simple animations, there’s something for almost every designer or developer. Here’s… Continue reading Exciting New Tools for Designers, June 2020

6 Figma Plugins to Give You Design Superpowers (and How to Use Them)

Figma plugins are a recent addition to what’s becoming the go-to collaborative tool for UI designers everywhere. Plugins are built by the community (you can even build one yourself if you wish) and provide an easy way to extend your capabilities with Figma. Through this helpful update, designers can automate repetitive tasks, add accessibility features,… Continue reading 6 Figma Plugins to Give You Design Superpowers (and How to Use Them)

Processing Incoming Request Data in Flask ― Scotch

In any web app, you’ll have to process incoming request data from users. Flask, like any other web framework, allows you to access the request data easily. In this tutorial, we’ll go through how to process incoming data for the most common use cases. The forms of incoming data we’ll cover are: query strings, form… Continue reading Processing Incoming Request Data in Flask ― Scotch

Counting Word Frequency in a File Using Python

Ever wondered about a quick way to tell what some document is focusing on? What is its main topic? Let me give you this simple trick. List the unique words mentioned in the document, and then check how many times each word has been mentioned (frequency). This way would give you an indication of what… Continue reading Counting Word Frequency in a File Using Python

20 Free Vectors to Use in Your Designs

If you’ve been searching far and wide for high-quality free vector graphics, a quick look through the superb selection should convince you that your efforts have finally been rewarded. Most of these are royalty free and many are yours for the asking. Vector graphicsserve a multiplicity of purposes.You can use them tohighlight your brand. Some… Continue reading 20 Free Vectors to Use in Your Designs

Build a Custom WordPress User Flow — Part 3: Password Reset

In the first two tutorials in this series, we have built custom pages for logging in and registering a new user. Now, there is only one part in the login flow left to explore and replace: what happens if a user forgets their password and wants to reset their WordPress password? In this tutorial, we’ll… Continue reading Build a Custom WordPress User Flow — Part 3: Password Reset

Adding Localization to Tumblr Themes

In this episode of Tumblr Theming 101 we’ll complete the CSS for our video post type, which will involve using some principles from Fitvids.js. We’ll also look at adding localized theme strings, for multilingual support.   Localization (Amongst Other Things)  Alternatively, Download the video, or subscribe to Webdesigntuts+ screencasts via YouTube Useful Links Fitvids.js Fitvids.js… Continue reading Adding Localization to Tumblr Themes

How To Compare Strings In PHP

During any sort of programming you will always get situations where you need to compare values with each other, if the values are boolean or integers then the comparison is simple. But if you want to compare strings or parts of strings then there can be more to the comparison such as case of the string you are comparing.