Skip to content

Instantly share code, notes, and snippets.

View shanesveller's full-sized avatar
💭
I may be slow to respond.

Shane Sveller shanesveller

💭
I may be slow to respond.
View GitHub Profile
@shanesveller
shanesveller / LICENSE.txt
Created July 4, 2014 18:12
Ventrilo 3 LICENSE
Ventrilo Public Server Software License, Version 3.0.0
THIS SOFTWARE LICENSE AGREEMENT (the "Agreement') is a legal agreement
between you (either an individual or single entity) and Flagship Industries, Inc.
("Flagship") for the software identified above. By installing, copying, downloading,
accessing or otherwise using the software or its documentation, you agree to be bound
by the terms of this Agreement. If you do not agree to the terms of this Agreement, do
not install or use the software or its documentation.
COPYING OF THIS COMPUTER PROGRAM OR ITS DOCUMENTATION EXCEPT
@shanesveller
shanesveller / gist:3245f275d47d416d7d64
Created June 17, 2014 19:09
Last.fm - Similar artists via httpie / jq
$ LFM_ROOT=http://ws.audioscrobbler.com/2.0/
$ ARTIST="Rise Against"
$ AGENT=ShaneSveller
$ API_KEY=CHANGEME
$ http GET $LFM_ROOT method==artist.getsimilar artist=="$ARTIST" api_key==$API_KEY format==json User-Agent:$AGENT | jq '.similarartists.artist[].name'
@shanesveller
shanesveller / keybase.md
Created April 14, 2014 17:58
Keybase verification

Keybase proof

I hereby claim:

  • I am shanesveller on github.
  • I am shanesveller (https://keybase.io/shanesveller) on keybase.
  • I have a public key whose fingerprint is 13C3 4F6E BC0B 3DC9 014E CD93 50F5 1F9A EC10 6145

To claim this, I am signing this object:

require 'formula'
class Serf < Formula
homepage 'http://www.serfdom.io'
version '0.5.0'
depends_on :arch => :intel
if Hardware.is_64_bit?
url 'https://dl.bintray.com/mitchellh/serf/0.5.0_darwin_amd64.zip'
@shanesveller
shanesveller / rac_defaults.yml
Created August 14, 2012 15:13
Rails_apps_composer defaults YAML
recipes:
- core
- init
prefs:
:database: postgresql
:dev_webserver: webrick
:prod_webserver: unicorn
:templates: haml
:unit_test: rspec
@shanesveller
shanesveller / dump-detail.txt
Created June 9, 2011 03:48
Output of Rift PTS 1.3 and TrionDevelopmentTools' /dump detail command as of 2011-06-10 10:30PM EDT
Noncombat logging enabled
Basic globals:
Development.Documentation
Provide documentation on items in the addon environment. Called with no parameters, it returns a table listing all documentation. Can provide both human-readable and computer-readable documentation.
documentables = Development.Documentation() -- table <- void
documentation = Development.Documentation(item) -- string <- variant
documentation = Development.Documentation(item, parseable = false) -- string <- variant, boolean
documentationTable = Development.Documentation(item, parseable = true) -- table <- variant, boolean
Parameters:
parseable: Whether to return in a computer-readable format, as opposed to the normal human-readable format.
source 'http://rubygems.org'
gem 'rails', '3.0.5'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'pg'
# Use unicorn as the web server
@shanesveller
shanesveller / lua-tables.lua
Created July 8, 2010 22:55
Wherein I suck at using Lua tables
-- Help me Obi-wan!
-- Also, Notepad++ still sucks, but my Mac Mini is powered off while I get ready to raid tonight
for bagId=1,NUM_BAG_SLOTS do
-- items[bagId] = {}
for slotId=1,GetContainerNumSlots(bagId) do
local link = GetContainerItemLink(bagId, slotId)
if link then
local _, _, quality, itemLevel, _, itemType = GetItemInfo(link)
-- link_FindSearchInTooltip was renamed in a recent push
I just got off the phone with some guy out in California trying to offer me
a better deal on 'OEM compatible' printer toner. So more or less, knock off
versions of HP printer ink. We get 90% of our printer supplies through a
contract with Ricoh, and the other 10% through CDW at wholesale prices. He
was so pushy, he sounded like he was offering me my first hit of coke. I
politely told him "not interested" 3 times. He'd just start his spiel over
and say, "I guess I just don't understand. You're in the business of getting
the most bang for your buck and I'm in the business of saving you money. Why
won't you give me a shot for 1 shipment of toner? I can promise you you're
looking at savings of up to 30%." He first offered a 4th toner cartridge for
We couldn’t find that file to show.