Technology Blog
I like to write and I like to code and sometimes I write about coding. Here are a few of my favorite posts.
In this post, I'm going to walk through how to create a dynamic front-end dropdown that retrieves data based on an API call using React.js and Javascript's fetch functionality.
In this post, we'll create a super simple navigation bar that sticks to the top of the page even after the user scrolls past it. This solution is incredibly straightforward using vanilla javascript.
In this post, we'll create a Javascript event listener that calculates the number of characters that have been entered in a TextArea. The purpose here is not to demonstrate the quick and dirty solution, but rather to fully understand how the code actually works. This functionality is helpful for inline form validation and preventing users from hitting the server-side with invalid data.
One of the most powerful functionalities in Laravel is the event. This feature enables all the triggers of various tangentially related functionality to occur throughout the life cycle of a model instance. Plus, events are always listening – meaning you don’t have to explicitly call them in the code to harness their powers. In this post, we’ll implement a sample Laravel model event listener.
Reddit. Quora. ProductHunt. What do all of these websites have in common? Besides their rabid fan bases, they enable a community to interact with content via simple voting buttons that users can click on to promote or demote content. Luckily for Ruby developers, there's an awesome gem I came across this week that quickly builds the same functionality. Here's a tutorial on how to get started with acts_as_votable.
Travel Blog
Writing is a way of putting my curiosity on steroids while traveling. This is what I see and how it feels, raw and unfiltered:
After spending three months in the wonderful landscapes of Patagonia spending a paltry average of $30 a day, I decided to write a book about how I made this a reality, in hopes that I would open up such an adventure to other like-minded travelers. Patagonia On A Budget is available to purchase on Amazon.
Traveling in Patagonia doesn't have to be as expensive as packaged tour operators, TripAdvisor and Lonely Planet might make you believe. With Patagonia On A Budget, you'll learn:
The best value on the craziest adventures
Prices and details for accommodation, transportation and activities in every destination
Detailed maps and itineraries of the most popular backpacking routes
Recommended campgrounds with the best rates and facilities
Instructions and safety advice for hitchhiking
The electronics, websites, and applications to depend on during your expedition
Special instructions for surviving and thriving during long hikes through national parks.
It's easy to start with some basic queries that eventually require refactoring due to performance reasons. In this post, I'll walk through an example query that leverages a SQL join to improve database response time.