I’m back! I took this summer off from blogging just to relax and enjoy my vacations etc… But I’m happy to be back and will try to put out some really helpful blog posts. I have been working on some […] Read More »
Use Last Instance of Terminal Command Search
Last week I went over how to use the last instance of a terminal command from your bash history. This week I want to show another advanced way of using that command. As it turns out, you can also search […] Read More »
Use Last Instance of Terminal Command
The bash history is one of the most useful things you will find on your command line. For example, most people know that typing !! will perform the last command. This is especially useful if you try to run a […] Read More »
WordPress AJAX Example
AJAX (Asynchronous JavaScript and XML) is one of the handiest features/group of interrelated technologies you can include on your website. With AJAX you enable your page to perform database retrievals and changes without reloading the page. WordPress comes with built […] Read More »
Conditionally Enqueue a Stylesheet into WordPress for a Certain Page
In a recent project I found myself creating an online registration form for a dance competition website. I wanted to use Foundation to style the form, but I only wanted the stylesheet to be enqueued on that one page. Basically […] Read More »
Web Workers Demo
Web Workers are a simple JavaScript API that allow for background threads to be run while the user experience/interface is left uninterrupted. Web Workers are passed messages by the main script, run their process with that message and then return […] Read More »
Pass by Reference vs Pass by Value
Pass by reference versus pass by value is a topic that a lot of people get mixed up about, but it’s pretty simple once you get the basic concepts down. First, lets take a look at the formal definition of […] Read More »
Prevent Image Hotlinking with .htaccess
You can add the following code to your .htaccess file to prevent image hotlinking from your website. Simply replace the dobsondev.com with your own domain and everything should work. See the code below: As always thank you for reading and […] Read More »
WordPress Transient Naming
Last week I went over how to use WordPress transients to cache data from an API call. I also talked about a problem where naming transients can be very difficult due to the size restriction of 40 characters. I also […] Read More »
WordPress Transients
WordPress isn’t known for being the fastest website solution on the market – but there are a lot of little tricks that you can do as a developer to make everything run faster. Last week I did an article on […] Read More »