Skip to content

Instantly share code, notes, and snippets.

View evantbyrne's full-sized avatar

Evan Byrne evantbyrne

View GitHub Profile
@evantbyrne
evantbyrne / gist:ee04b83d8f840f5e29f4
Created April 20, 2015 19:26
Use old version of Photoshop on OSX without installing Java 6
# Via http://www.macworld.co.uk/how-to/mac-software/how-make-photoshop-cs5-run-in-mac-os-x-yosemite-3596952/#comment-1838859659
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
@evantbyrne
evantbyrne / gist:9ac272f82549733fe589
Created November 14, 2014 00:13
Show git hash heroku
git ls-remote heroku
@evantbyrne
evantbyrne / gist:02c3a82d44225141336b
Created October 3, 2014 20:00
Delete all .pyc files in project
find . -name '*.pyc' -delete
https://twitter.com/share?url=[link]
https://www.facebook.com/sharer/sharer.php?u=[link]
http://www.linkedin.com/shareArticle?mini=true&url=[link]
http://www.pinterest.com/pin/create/button/?url=[link]&media=[image_link]
https://plus.google.com/share?url=[link]
@evantbyrne
evantbyrne / each
Created April 12, 2014 23:09
Run command per line of file with bash
#!/bin/bash
# Example usage: ./each echo < list.txt
# Output: One Two Three
xargs -0 $1 < <(tr \\n \\0 $in)
@evantbyrne
evantbyrne / gist:7781876
Created December 4, 2013 03:28
CPS 396M Stripe App

About CPS 396M Group Project

A basic Stripe management Android app, which was created for a school project. Use at your own risk.

Authors

@evantbyrne
evantbyrne / gist:5842315
Created June 22, 2013 19:39
Create administrative user with wp-cli
wp user create evan evantbyrne@gmail.com --role=administrator