Quantcast
Channel: ReadyState4 » bash
Browsing all 4 articles
Browse latest View live

Bash argument unpacking

I’m not a bash expert but my .bash_profile is packed with shortcut goodness to do all kinds of things on the quick. Most recently, I wondered how to fix up some of my function shortcuts to take any...

View Article



Using make to concatenate JS files

In a previous project I used a bash script in conjunction with a git hook to concatenate all my js files and increment build numbers in html file references (cache-kill) after every commit. This was...

View Article

Convert a file to utf8-encoding via command-line

I had an issue importing a large CSV to mongodb using mongoimport. I was getting the error: exception:Invalid UTF8 character detected Use iconv, a program that seems to be on both mac and most unix...

View Article

Great little bash snippet to summarize your daily git commits.

For general invoicing and hour tracking, I like to post the details of my git commits. Though, I had my own little version of this script, this one posted at stackoverflow was a lot better looking....

View Article
Browsing all 4 articles
Browse latest View live




Latest Images