Tag Archives: command line
06
Apr

Bash Command Lookup (\!)

I’ve recently found something relatively interesting that you can do in a bash terminal. I recently sent out an email talking about how to implement git completion’s wonderful self to work on macs. Part of that endeavor meant diving into the way that the terminal displays its information to you on your prompt. Some of the things [...]

Continue Reading →
06
May

Curl from the Command Line

We most frequently use Curl in the form of `libcurl`, a C library providing function transferring data between servers using many of the popular protocols like HTTP, FTP, SCP, and so on. This library is the foundation things like all the curl_*() functions in PHP, which are useful for writing code that interacts with various [...]

Continue Reading →
18
Nov

MySQL – I Am a Dummy

Today I learned about an interesting command-line option for MySQL: $ mysql –i-am-a-dummy This is an alias for –safe-updates, which imposes three restrictions: Any UPDATE or DELETE that does not have a WHERE or LIMIT is rejected. Any SELECT without a LIMIT will be automatically limited to 1,000 rows in the result. Any join that would [...]

Continue Reading →
04
Jul

PostgreSQL Cheat Sheet

PostgreSQL is one of our favorite database engines for a variety of reasons.  Here is our cheat sheet to help you get online and get around Postgres with minimal effort. Database Access Security Database security is handled primarily in two place, from the system service level via a file called pg_hba.conf and within the database [...]

Continue Reading →