Ramblings from a startup addict and Techpreneur!

Author Archives

Patrick Curl is a developer, coder, writer, blogger, affiliate marketer, and more. He lives and breathes apps/startups and has a permanent residency on HackerNews.

Automatically provision new nginx sites on Arch Linux or Ubuntu (Script with tutorial)

Easily create, setup, enable and disable nginx VHOSTS

So one thing I hate as a developer is re-configuring everything a hundred times every time I decide I want to launch a new side project or test app. So to make life easy I developed a bash script that does everything for…

Shortcut to Restart Firefox on Linux using I3wm

Shortcut to restart firefox quantum

First off if you’re a developer and not using i3wm you should really think about giving it a try, it’s like vim for the desktop. It’s a tiled window manager, but you don’t need to use the tiles, I prefer tabbed layout actually,…

FreeCodeCamp Bonfire Challenge Solutions

In order to help land that coding job I’ve been dreaming of, and since I’m currently unemployed, I thought I’d use spare time where I’m not coding on something cool, or applying for dev jobs to work on my craft. Beginner Algorithm Scripting…

How to keep tables uncluttered by using profiles for each user type in Ruby on Rails

This is a continuation of my STI / Single Table Inheritance article: “How to use multiple User types with the same model in Rails aka STI or Single Table Inheritance” To keep your tables less cluttered and better normalized, I do recommend creating…

How to Use Multiple User Types (STI or Single Table Inheritance) with the Same Model in Ruby on Rails

Ruby on Rails

Lately, I’ve been building a complex CRM for music teachers to manage students, invoicing, etc… It’s gotten a bit complicated, and I myself have learned a lot from this side project. One important thing I’ve learned is STI, or Single Table Inheritance. Basically,…

Why the Singularity proves Time Travel Impossible

time travel possible

  The fact is that Ray Kurzweil is a mad genius, he is definitely mad, and he’s definitely a genius, and some of his predictions are quite scary. Nothing is more scary, and exhilarating as the thought of a technological singularity – the…

How to Use Local Environment as Default in Laravel Artisan CLI

I have to say, I absolutely LOVE Laravel – everything about it. One of my favorite features is the ability to separate your app into local/production versions. I use a lot of packages for development, that I just don’t need on my production…

How to setup Local and Production environments on Laravel

One great feature of Laravel is how easy it is to setup local and dev environments. Why would you want separate environments? Require separate packages for dev, and production. Less bloat / potential for errors on production. Turn off debug on production. Special…

Gollum Covers Taylor Swift

I absolutely LOVE Gollum, my favorite character on Lord of the Rings, and probably one of the BEST pieces of acting I’ve ever seen. I love the way Andy Serkis does the split personality between Gollum and Shmeagol, it’s quite amazing. He’s a…

Planet of the Apes meets Terminator.

Cliffnotes version : Monkey gets rewarded for playing video game and hitting targets with controller. Switch to brain interface with robotic arm and he continues to be rewarded – interestingly the 3rd arm is like he really has a 3rd arm, he can…