Posts

Showing posts from January, 2018

15 Fantastic Funk & Groove Music Kits for Your Next Project

5 Trending After Effects Projects for Creative Video (February 2018)

How to Draw a Bear

Code a Measuring App With ARKit

What Is Gulp?

Hotshots: Mystical Fairytale Forest Photograph

A Look Ahead: Web Design Predictions for 2018

18 Professional Business Resume Templates for 2018

Exception Handling in Laravel

Image
In this article, we're going to explore one of the most important and least discussed features of the Laravel web framework—exception handling. Laravel comes with a built-in exception handler that allows you to report and render exceptions easily and in a friendly manner. In the first half of the article, we'll explore the default settings provided by the exception handler. In fact, we'll go through the default Handler class in the first place to understand how Laravel handles exceptions. In the second half of the article, we'll go ahead and see how you could create a custom exception handler that allows you to catch custom exceptions. Setting Up the Prerequisites Before we go ahead and dive into the Handler class straight away, let's have a look at a couple of important configuration parameters related to exceptions. Go ahead and open the config/app.php file. Let's have a close look at the following snippet. ... ... /* |---------------------------------

Trend Watch: Retro 90s Design

A Beginner's Guide to Siri

New Short Course: Customizing WordPress With Child Themes

How to Adjust White Balance in Videos Using Adobe Premiere

How to Create a Vintage Photo Collage in Adobe Photoshop & Lightroom

10 Easy Instagram Promo Video Templates for Adobe After Effects

How to Play the Piano Properly in a Rock Band

How to Create a Textured City Snapshot Illustration in Adobe Illustrator

Free Live Course: 15 Time Saving Shortcuts for Adobe XD

Bored at Work: How to Reclaim Your Time, Energy, & Attention

Get Started With Processing for Android

Histogram Equalization in Python

18+ Professional Business Project Proposal Templates for 2018

How to Create an Audio Oscillator With the Web Audio API

Bad Icon Design: 3 Pitfalls and How to Avoid Them

10 Amazing Photoshop Templates That Every Designer Should Own

How to Adjust Exposure: Video Image Correction in Adobe Premiere

15 Top Particle Effects Project Templates for Adobe After Effects (2018)

How to Apply Spot Fixes in Adobe Lightroom in 60 Seconds

Bootstrap 4 is Here! What’s New?

Overview of Wearable Development Platforms

Image
Technology is rapidly changing, and today's latest device becomes completely outdated in a flash. In such a dynamic and emerging tech environment, developers might get somewhat confused. We all want to find the best avenues to channel our learning and development efforts. Many technologists believe that the golden age of smartphones is nearing its end. A whole new batch of hi-tech wearable devices are about to replace smartphones in the near future. What would these technologies and devices look like? Wearables can range in size from watches through to smart glasses and smart rings. Every day, they are becoming smaller in size and are boosting their performance too. These devices have already started to redefine user interaction patterns, user behaviour, and sometimes even the user's lifestyle. In this article, you'll learn about the latest emerging wearable device platforms for which you could develop apps. 1.  Smartwatches Although smartwatches are the obvious next st

How to Create a Surreal Broken Glass Effect in Adobe Photoshop

How to Cache Using Redis in Django Applications

Image
One of the ways to relieve strain on a server is by caching data. This is done by caching data after it has been processed and then serving it from the cache the next time it is requested. This tutorial will give a detailed discussion of Redis, explaining how to install Redis and cache data in Python applications. Introduction to Redis and Caching Caching refers to storing the server response in the client itself, so that a client need not make a server request for the same resource again and again. A server response should have information about how caching is to be done, so that a client caches the response for a time period or never caches the server response. A cache, on the other hand, is a hardware or software component that is used to store data so future requests for the same data can be served faster. In this age where users expect results within a second, it is wise to serve requests by reading data from the cache, which is ultimately faster than reading from a slower dat

How to Insert Images into Excel in 60 Seconds

Creating a VR Game in Unity

How to Draw a Rabbit Step by Step

Faking Keyboard Parts On Guitar, Part 3

Image
In Part 2 of this series, I covered a range of different analogue and iOS options suitable for creating keyboard sounds on guitar. There’s a third way, however, that introduces the convoluted, technical world of MIDI. In The Beginning… MIDI stands for Musical Instrument Digital Interface . Introduced to the public in 1983, its basic function is to pass information such as note pitch, velocity, duration and so on from the controller —guitar, in this case—to the  sound module  such as synthesisers, samplers, and so on).  Unlike conventional audio, event messages produce no sound of themselves serving as a set of instructions to trigger the sound module. So far, nothing here to interest guitarists. However, MIDI goes beyond simply being just a trigger for notes; indeed, its ability to manipulate whole hosts of variables via anything MIDI-compatible means you aren’t just limited to keyboard sounds.  For a band or artist needing a broad palette of tones, it’s worth investigating.

How to Organize Your Outlook Contacts

20 Essential WordPress Utilities to Manage Your Site

How to Create a 90s Style Event Flyer in Adobe InDesign

How to Draw an Ultra Violet Collection of Presents in Adobe Illustrator

Top 5 New After Effects Items for Creative Video Projects (January 2018)

How to Code a Bottom Navigation Bar for an Android App

How to Create a Romantic Wedding Photo Manipulation in Adobe Photoshop

Beginner's Guide to Angular 4: HTTP

How to Make Winning Pitch Decks (With PowerPoint Templates)

How to Create Flat Bride & Groom Characters in Adobe Illustrator

New Coffee Break Course: How to Use a Custom Campaign Monitor Template

Getting Started With the App Store

Create a Rainy Scene Animation Using Default After Effects Plugins

Video Lighting On-Location: How to Use Direct Sunlight

How to Decorate Photos for Instagram With Drawings: Photoshop in 60 Seconds

Get More Installs and Better Ratings for Your Apps Using Instabug

Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io

How to Make an Unbounce Landing Page Quickly

Beginners Guide to Angular 4: Routing

How to Create a Pastel Neon Club Flyer in Adobe InDesign

Getting Started With Cloud Firestore for Android

How to Build an Off-Canvas Menu With CSS and a Touch of JavaScript

How to Create a Glittering, Festive, 3D Text Effect in Adobe Photoshop

Learn Something New: Master These Trending Topics for 2018

How to Draw a Celebrating Sporty Character in Adobe Illustrator

18+ Best Responsive HTML5 Landing Page Templates (2018)

Beginner's Guide to Angular 4: Services

Git Version Control on the Command Line for iOS Devs

Checklist: Ways to Enhance Your Onboarding Experience

18 Best New Event Flyers for 2018

How to Draw a Chibi

How to Document Your Designs Using Behavior Driven User Stories

How to Put a Logo on Every PowerPoint Slide in 60 Seconds

Beginner's Guide to Angular 4: Components

Newly Updated Course: Build a CMS With Laravel

How to Create a Champagne Celebration Illustration in Adobe Illustrator

How to Fall Asleep at Night (When You Can’t)

How to Color Correct Video in Adobe Premiere: Tools of the Trade

International Artist Feature: Croatia

Building Games With Python 3 and Pygame: Part 5

Image
Overview This is part five of a five-part series of tutorials about making games with Python 3 and PyGame. In part four we detected collisions, responded to the ball hitting various game objects, and created a game menu with custom buttons.  In this last part, we'll cover diverse topics such as the end game, managing lives and score, sound effects, music, and even a flexible special effects system. For dessert, we'll discuss potential improvements and future directions. The End Game Eventually, the game has to end. In this version of Breakout, the game ends in one of two ways: either the player loses all their lives or they hit all the bricks. There is no next level (although it would be easy to add). Game Over! The game_over field of the Game class is set to False in the __init__() method of the Game class. The main loop goes round and round until the game_over  variable is set to True: class Game: def __init__(self, caption, wi

How to Create a Colorful Collage in Adobe Photoshop & Lightroom

How to Organize Your Outlook Email Inbox Efficiently

How to Code a Navigation Drawer for an Android App

Android Things: Adding Google Assistant

How to Create an Irish Door Illustration in Adobe Illustrator

Hot Shots: Cool and Sleek, Tall Glass Office Buildings

How to Draw Furries, aka Anthropomorphic Characters

Design Patterns for Cocoa: MVC and MVVM

Building Games With Python 3 and Pygame: Part 4

Image
Overview This is part four of a five-part series of tutorials about making games with Python 3 and Pygame. In part three, we dove into the heart of Breakout and learned how to handle events, met the main Breakout class, and saw how to move the different game objects. In this part, we will see how to detect collisions and what happens when the ball hits various objects like the paddle, the bricks, the walls, the ceiling, and the floor. Finally, we will review the important topic of game UI and in particular how to create a menu with our own custom buttons. Collision Detection In games, things bump into each other. Breakout is no different. Mostly it's the ball that bumps into stuff. The handle_ball_collisions() method has a nested function called intersect() , which is used to test if the ball hit an object and where it hit the object. It returns 'left', 'right', 'top', 'bottom', or None if the ball didn't hit the object. def handle_ball_co

How to Compose & Send New Emails With Microsoft Outlook

CSS Scroll Snap: What Is It? Do We Need It?

How to Draw a Wreath of Tropical Flowers in Adobe Illustrator

How to Do More With Photos in Apple Photos App: Part 4

5 Hot New Video Artists on Envato Market (January 2018)

How to Create a Wall of Lights Photo Effect: Photoshop in 60 Seconds

Free Live Course: 10 Essential Design Tips for Illustrator

Building Games With Python 3 and Pygame: Part 3

Image
Overview This is part three of a five-part series of tutorials about making games with Python 3 and Pygame. In part two , we covered the TextObject class used to render text on the screen, created the main window, and learned how to draw objects like bricks, the ball, and the paddle.  In this part, we will dive into the heart of Breakout and learn how to handle events, meet the main Breakout class, and see how to move the different game objects. Handling Events In Breakout, there are three types of events: key press events, mouse events, and timer events. The main loop in the Game class takes care of the key press and mouse events and delivers them to subscribers (by calling a handler function).  While the Game class is very generic and has no Breakout specific knowledge, the subscription itself and how to handle each event are very specific. The Breakout Class The Breakout class is where most of the domain knowledge about the Breakout game is managed. We will meet the Breakout

7 Interactive Presentation Ideas to Engage Your Audience

Trend Watch: Floral, Tropical, and Botanical Design

Quick Tip: Get Free and Easy Mockups With “The Mockup Club”

Creating a Magnum Mecha Character in Maya: Part 1

How to Create an Easter Egg Flyer in Adobe InDesign

Creating Graphic Design and Illustration for Color Blind People

How to Use the Android ListView Component

Building Games With Python 3 and Pygame: Part 2

Quick Tip: How to Create a Monstera Leaf Pattern in Adobe Illustrator

18+ Modern Resume Templates With Clean (Elegant) Designs (2018)

Canny Edge Detector Using Python

20 Handy DuckDuckGo Cheat Sheets for Web Designers

Three Ways to Make Your Swift Code More Readable

New Web Design eBooks Available From A Book Apart

How to Create a Surreal Icy Fish Photo Manipulation With Adobe Photoshop

How to Create a Basic 3-Point Lighting Setup for Video

How to Work With Text in Gravit Designer

How to Create a Black Panther Movie-Inspired Photo Manipulation in Photoshop

Building Games With Python 3 and Pygame: Part 1

How to Combine PowerPoint Presentation Files in 60 Seconds

10 Best WordPress Booking & Reservation Plugins

How to Do More With Apple's Photos App: Part 3

15 Stylish Wedding Video Templates for Adobe After Effects

How to Create a Film Effect in Adobe Lightroom in 60 Seconds

Hot Shots: Spicy Peppers Pop

9 Best Screen Recorder Capture Software (Free & Premium)

Environmental Lighting for Filmmakers: What is Light?

60 Second How-to: Custom Sequence Images in Adobe Photoshop Lightroom

Art for All: Celebrate Diversity in Design—Volume 5

How to Write a Professional Sick Day Email (With Examples)

How to Auto Update WordPress Salts

Quick Tip: Create a Custom Quick Settings Tile for Android

How to Create a Galaxy-Inspired Self-Portrait Photo Manipulation in Adobe Photoshop

How to Create a Candy Monster Character in Adobe Illustrator

How to Do More With Apple's Photos App: Part 2

Top 5 Video Artists on Envato Market This Month (January 2018)

15+ Best WordPress Event Themes: For Conferences and More

How to Use Shopify Themes to (Quickly) Make Online Stores

18+ Best Shopify Themes With Responsive Designs for 2018

How to Download Files in Python

Image
Python provides several ways to download files from the internet. This can be done over HTTP using the urllib package or the requests library. This tutorial will discuss how to use these libraries to download files from URLs using Python. REQUESTS The requests library is one of the most popular libraries in Python. Requests allow you to send  HTTP/1.1 requests without the need to manually add query strings to your URLs, or form-encode your POST data. With the requests library, you can perform a lot of functions including: adding form data, adding multipart files, and accessing the response data of Python MAKING REQUESTS The first you need to do is to install the library and it's as simple as: pip install requests To test if the installation has been successful, you can do a very easy test in your  python interpreter by simply typing: import requests If the installation has been successful, there will be no errors. HTTP requests include: GET POST PUT DELETE OP