Skip to content

Instantly share code, notes, and snippets.

View andxyz's full-sized avatar
:octocat:
ship it

Andrew Stevens andxyz

:octocat:
ship it
View GitHub Profile
#!/usr/bin/env ruby
# Shows the jira tickets and their summary for git branches
# see http://cl.ly/image/0v3I3A3D1W3P/Image%202015-09-21%20at%202.26.13%20PM.png
#
# example usage:
# ruby -W0 jira-sickness.rb
# or
# ./jira-sickness.rb
## Make sure to export these variables in the shell for yourself
@andxyz
andxyz / licenses-api.sh
Last active November 11, 2015 16:33 — forked from mislav/licenses-api.sh
An example of using the GitHub Licenses API, currently in preview.
#!/usr/bin/env bash
curl -s -H 'Accept: application/vnd.github.drax-preview+json' \
https://api.github.com/orgs/scoremedia/repos?per_page=100 | \
grep -A1 '"license"' | grep '"key"' | cut -d'"' -f4 | \
sort | uniq -c
# 5 apache-2.0
# 1 bsd-3-clause
# 2 cc0-1.0
module SearchApp
class ElasticSearchClient
def self.production_client
Elasticsearch::Client.new
end
def self.debug_client
@client = Elasticsearch::Client.new log: true
@client.transport.logger = Logger.new($stdout)
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;
<?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>background</key>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMChARm
ZmZmAQEBg0jhej+G
</data>
<key>border</key>
@andxyz
andxyz / markdown-autolink-st3.md
Created September 2, 2014 16:10
markdown-autolink-st3.md
@andxyz
andxyz / going-all-php-mailer-on-a-wordpress-multisite.md
Last active August 29, 2015 14:00
going-all-php-mailer-on-a-wordpress-multisite
@andxyz
andxyz / dixie-flatline.md
Last active August 29, 2015 13:59
dixie-flatline

I’m enjoying reading neuromancer again.


“You Know that Dixie Flatline’s dead?”

He nodded. “Heart, I heard.”

“You’ll be working with his construct.” She smiled. “Taught you the ropes, huh? Him and Quine. I know Quine, by the way. Real asshole.”

@andxyz
andxyz / pamplona.md
Created April 16, 2014 17:12
Pamplona

Pamplona

repo name ideas

  • github.com/andxyz/dream-of-electric-bulls
  • github.com/andxyz/bull-nightmare