Posts
-
Escaping $ in replace strings in Javascript
To have a $ in your replace strings in Javascript regular expressions, it needs to be escaped with another $
-
Changing title of CMD window
title some words
will change the title of your cmd shell in Window
The title will be `some words` instead of `C:\Windows\system32\cmd.exe`. Handy if you have a few of them open and can't tell them apart. -
A Google Apps Script boilerplate
I used to do a lot of Google Apps Script (GAS) programming, but Google's never seemed to interested in that product so I gave up. Here I document a simple boilerplate project so that I don't forget how to do it.
-
Advanced Evernote search
It isn't immediately obvious, but Evernote offers advanced search operators.
-
A good place for scripts in OSX
Where to put unix based scripts on a Mac without them getting in the way? Simple: create a bin folder in your home directory, and add it to the path:
export PATH=~/bin:$PATH
-
SVN status codes
Running the status command in the command line version of subversion returns a list of files with a one letter code in front of each file name. Here's a list of those one letter codes and what they mean.
-
Joining PDF files in OS X from the command line
In OS X, PDF files can be concatenated manually using Preview. But if you are happy using Terminal there's an easier way, thanks to a Python script installed by default in /System/Library/Automator
-
Finding files inside an archive with Terminal
Looking for files inside an archive, without having to extract them first using Apple's Terminal.
-
Finding recently changed files with Terminal
Finding files that were changed in the last day, sorted by size, using Apple's Terminal