Using Sed in Bash scripts
Let me start out by saying I am NOT a script girl. I’ve worked with PHP for a decade and love my use of spacing. I’ve written 1 bash script that clones a database on a remote server and saves…
Let me start out by saying I am NOT a script girl. I’ve worked with PHP for a decade and love my use of spacing. I’ve written 1 bash script that clones a database on a remote server and saves…
Not something you want to see in an email when you’re on “vaca” (ie. teething baby). At least it didn’t crash the server several times. The database was up to 400% usage too. Wheee. I will be the first to…
Before my new job, I was used to having a script that would automatically pull a fresh copy of the production database at my command using AWS. With the current setup at work, it’s more of a manual deal which…
This is pretty basic in the dev world–editing a host file– but I’ve had to type up these instructions waaaaaay too often to send to our Marketing department. This post is purely just for me to send to them and…
This is so simple I wish I knew it before. In every git project, there seems to be a set of local files that always get added to the .gitignore file. For example, PHPStorm users always get an .idea file…
Ever since I moved from the Heidi to DataGrip as a database GUI, I feel like some of the most basic things I was doing with mySQL was lost or it’s slow as heck. One of those exporting the database…
So I was debugging something on WordPress and because I wanted something to work, I changed the plugin folder to 777. While that didn’t solve my problem, when my problem was fixed later, I needed to undo my change. For…
I have a confession: my memory sucks. Especially with the wedding right around the corner, it’s even worse. There are a bunch of random SSH commands that I don’t use all that often (even less with Docker now). Just wanted…