Skip to content

Instantly share code, notes, and snippets.

@annie-l
annie-l / screenshot
Last active September 11, 2017 17:23
screenshot command: captures screenshot from current device via adb and saves it to your desktop. input an optional filename. save this to /usr/local/bin to use anywhere.
#!/bin/bash
# What: Pull screenshot from connected device and save it to the Desktop (on Mac)
# Usage: screenshot
# Examples:
#> screenshot foo
# (creates [device name]-foo.png on the Desktop)
#> screenshot
# (creates [device name]-[date_time].png on the Desktop)
# Notes: update FILEPATH to change directory. if you set it to empty ("FILEPATH=") it will save to the current directory.
@annie-l
annie-l / readme.md
Last active August 29, 2015 14:17
tweetify: linkify & imagify tweets from twitter api

tweetify.js formats tweet entities from api.twitter.com for html display:

  • user mentions
  • media
  • urls
  • hashtags

before and after:

before after