Skip to content

Instantly share code, notes, and snippets.

View tjhorner's full-sized avatar
⚠️
I may be slow to respond.

TJ Horner tjhorner

⚠️
I may be slow to respond.
View GitHub Profile
View gist:9674454
/*
_____________________▓▓▓
_______________________▓▓▓▒▒▒▓
____________________▓▓▒▒▒▒▒▒▒▓______▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
__________________▓▓▒▒▓▓▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
________________▓▓▒▒▒▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓_______▓▓▓▓▓▓▓
_______________▓▓▒▒▒▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓_______▓▓▓▓▓
_____________▓▓▒▒▒▒▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓______▓▓
____________▓▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓
___________▓▓▒▒▒▒▓▒▒▒▒▒▒▒▒▒▓░░░░░░▓▓▓▓▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓
@tjhorner
tjhorner / javascript check.js
Created March 20, 2014 21:40
gotta make sure javascript is enabled
View javascript check.js
var x = 'IT\'S FUCKING ENABLED';
// if javascript is enabled, these alerts will appear.
alert(x);
alert(x);
alert(x);
alert(x);
alert(x);
alert(x);
alert(x);
View magic.js
function magic(){
return 'sparks and shit';
}
magic();
@tjhorner
tjhorner / keybase.md
Created June 12, 2014 05:28
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am geekygamer14 on github.
  • I am geekygamer14 (https://keybase.io/geekygamer14) on keybase.
  • I have a public key whose fingerprint is A172 4DF5 9428 DA02 997F 5F98 80D2 5371 830E 83B8

To claim this, I am signing this object:

@tjhorner
tjhorner / gist:38c50a6704742e7136a0
Last active August 29, 2015 14:06
request example
View gist:38c50a6704742e7136a0
<!-- from the android client: http://i.gyazo.com/401d0b1943411b5b83850b4cbba10506.png -->
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<ProcessWebServiceRequest xmlns="http://edupoint.com/webservices/">
<userID></userID>
<password></password>
<skipLoginLog>1</skipLoginLog>
<parent>0</parent>
<webServiceHandleName>PXPWebServices</webServiceHandleName>
View gist:9ffdd59b4a9d9831be67
Verifying that +geekygamer14 is my Bitcoin username. You can send me #bitcoin here: https://onename.io/geekygamer14
View dominos-models.cs
// YOU BETTER THANK ME I JUST SAVED YOU A LOT OF TIME THIS TOOK HOURS
public class Address
{
[JsonProperty("Street")]
public string Street = "";
[JsonProperty("City")]
public string City = "";
[JsonProperty("Region")]
public string Region = "";
View dominos-sample-request.json
{
"Address": {
"Street": "2764 SOMETHNING DRIVE",
"City": "CARLSBAD",
"Region": "CA",
"PostalCode": "92009",
"Type": "House"
},
"Coupons": [
{
@tjhorner
tjhorner / styles.less
Last active August 29, 2015 14:12
My Atom styles
View styles.less
// My Atom <http://atom.io> stylesheet.
// Go ahead, copy this. All I ask in return is
// to see what yours looks like afterwards!
@dark-orange: #FF982D;
@dark-red: #FF1A00;
@light-blue: #A1C7F2;
View not the only real dev language
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching source index from https://rubygems.org/
Using minitest 4.7.5
Installing multi_json 1.8.2
Installing rake 10.1.1
Installing i18n 0.6.9