Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
LjE2MDU0NTMwNDQgMC4xODU0NjI4MTc1IDAuMTk4NDg3MDEzNgAQAoAC0hAREhNaJGNs
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
@policecar
policecar / deepdream-install.md
Last active August 29, 2015 14:26 — forked from robertsdionne/deepdream-install.md
Deepdream installation
#!/usr/bin/env bash

# Assuming OS X Yosemite 10.10.4

# Install XCode and command line tools
# See https://itunes.apple.com/us/app/xcode/id497799835?mt=12#
# See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html
xcode-select --install

Keybase proof

I hereby claim:

  • I am policecar on github.
  • I am priska (https://keybase.io/priska) on keybase.
  • I have a public key whose fingerprint is 5A93 AF0A CAD9 5EB9 8D6D 6D48 3632 7179 59AF 351A

To claim this, I am signing this object:

@policecar
policecar / virtualenv-starter
Created March 4, 2014 13:14
Using virtualenv(wrapper) as non-root user
# install setuptools and pip to user local
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
python ez_setup.py --user
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py --user
# install virtualenv and virtualenvwrapper to user local directory
pip install --install-option="--user" virtualenv
pip install --install-option="--user" virtualenvwrapper
@policecar
policecar / uozewe.sh
Last active January 4, 2016 00:19
Strip unwanted Amazon COMM ID3 tags from your music.
# Minimal script to remove Amazon's ID3 tags from your music: amazon -> uozewe ^^ ( h/t plinz )
# Requirements: id3v2, eyeD3(-2.7)
# Version: 0.1 alpha
# Author: priska
#
# Process: migrates ID3v1 tags to ID3v2, then removes incorrigible IDv1 tags like Amazon's ID3v1 COMM,
# finally removes the IDv2 COMM tag; preserves the original timestamp.
# Tested with: id3info ./* | grep -i amazon
tmpfile=`mktemp usinikimbilie` ;