Category: Programming
-
Using Laravel Voyager with Laravel Spark
There is an easy way to implement the Voyager User class into the Spark User class. The Spark installer will set up your App\User.php file to extend from Laravel\Spark\User. You will be able to log into the admin panel but the Voyager routes will not work. In order to implement the Voyager User class you need to…
-
Apps that set up Apache virtual hosting config files
About vhost files Setting up a website has many steps. It’s important to know the rules and technologies that perform data transfer. The two most common servers are programs called Apache and NGINX. Either or both can be used to host a website by setting up rules on a host computer. These rules are text files,…
-
Generating Static Websites with Python
Working full stack at a marketing firm means making lots of copies of websites.
-
Using the Email Forward Robot
There are many options for working with emails. One of the options is to implement the PHP IMAP classes. Doing this lets you create highly custom programs and automation for your business.
-
HTML Template with Event Tracking
This example shows you how to implement the code I discuss in my posts ‘Building A Landing Page Template’ and ‘Tally Clicks By Name With Google Analytics’.
-
Strip all comments using regex
You might find yourself wanting to remove all comments from a document. For what ever reason. Here’s the regex to do that.
-
Replace all links using regex
After scraping a web page you will want to make many small textual edits. Relying on a basic find and replace in your IDE is not enough. Even find/replace globally means little when you find yourself battling small nuances in links. Simple things like the differences between ‘.jpg’, ‘.JPG’, or ‘.JPEG’ can make you spend…