Saturday, July 14, 2012

Using pasteboard from command line on OSX

pbcopy, pbpaste - provide copying and pasting to the pasteboard (the Clipboard) from command line. Here are few examples

Tuesday, July 10, 2012

Generating video with gource and ffmpeg

Gource is a software version control visualization tool, and with ffmpeg you can generate a video of your repo visualization easily.

Monday, July 9, 2012

Taking screenshot on Android devices

  1. First of all you’ll need to download, install and configure Android SDK, along with the USB drivers.
  2. Enable USB Debugging mode. You can do that from Settings -> Applications -> Development.
  3. Connect your Android device to a PC via USB cable.
  4. Go to the “tools” folder in Android SDK and start the batch file titled “ddms” to launch the Dalvik Debug Monitor Service. You should be able to see your device connected on top.
  5. Under the “Device” menu, within the Debugger window, click “Screen Capture” or press Ctrl + S.