Here is a one-liner that compiles your SASS or SCSS files into compressed CSS.
Here is a generic bash shell script for single file installs that you can easily modify and include in your own projects.
Drop the backward and forward arrows. These two shortcuts will make you more nimble on the command line.
Generate a glossy new title for yourself with this little gem from Tim Pietrusky… and enjoy your weekend.
Want to add some color to your Git log? Check out this git log configuration that gives you one commit per line, a commit graph, abbreviated commit ID’s, relative dates, & commit author all bundled up in color coordinated text.
OptiPNG is an open source, lossless PNG file compression application that performs well on compression testing. Here’s how you maximize your compression ratios with it.
Pop this script into your browser’s navigation bar and code away in the browser with syntax highlighting for multiple languages.
Here’s a one liner that allows you to read RSS feed titles in your terminal window.
Did the developer forget a verbosity switch? Here is the solution.
You can open a file in Sublime Text from the Mac command line. Here is how you do it with versions 2 and 3 of this popular text editor.
Programmatically launching a URL in the default browser across OS platforms is not as widely supported as you might think. The Python webbrowser module provides fairly broad support for this. Here’s a shell one-liner and a Python script that allow you to do it.
All of these characters have special functions in the shell and need to be escaped with a backslash
\& or surrounded with single quotation marks
'&' if you intend to use the character itself, rather than the shell-specific meaning, on the command line. Here is the list:
git init been run on the directory? Here’s how you find out.
You can do it with Python. And you can do it with Ruby. The Ruby one line command for a local HTTP server.
No matter how many times I use these commands, I always need to look up the switches to decompress and unpack a compressed tar archive. Here they are for those who have the same problem.
Want to pass arguments to your PHP script via URL on your web server as well as with standard command line syntax via the PHP interpreter? Have your cake and eat it too with this little gem.
This one-liner will modify an error in your last shell command and automatically re-run it.
I came across this file extension x file modification time search capability in linux/unix systems as I was looking into different solutions for a new software project that I am currently working on. It’s a simple shell one-liner.
This could be the most concise way to launch a local server to view files from any directory on your box.
Don’t want to publish that draft post with Octopress quite yet? Here’s the solution.
I picked up this simple modification of the bash .inputrc file a few weeks ago and it has been a great addition to my command line armamentarium. It allows you to perform a case-insensitive search through the bash history (forward or reverse) for anything that you type on the command line with the up and down arrows.
Use these rapid keyboard shortcuts to control Linux, Mac OSX, and Windows versions of Sublime Text.
Need to re-run that last command with sudo? Check out this idiom.
Here is the missing documentation on how to set up description and keyword meta tags for your home page and all posts on your Octopress site.
Tweetledee is a MIT licensed PHP project on GitHub that simplifies access to Twitter JSON and RSS feed data for user timelines, home timelines, lists, favorites, and tweet search. You can run the PHP files directly through the PHP interpreter using standard CLI syntax, take advantage of the many available options through command line switches, and pipe the Twitter data to any application that you’d like. Here’s how you do it.