This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pretty City - Spinning | |
Guitar with Fuzz, lots of fuzz | |
[Verse 1] | |
Repeat x 4 | |
e|--------------------|-----------------| | |
B|--------------------|-----------------| | |
G|-------4b5----------|-----------------| | |
D|---3-3------5-5-5-5-|-7-7-7-7-7-7-7-7-| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$URL = 'https://egov.uscis.gov/casestatus/mycasestatus.do?appReceiptNum=LIN'; | |
$lin = 1690882870; | |
$myfile = fopen("lins.txt", "w"); | |
$i = 0; | |
while (true) { | |
$DOM = new DOMDocument; | |
$yay = $lin - $i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*********************************** | |
config stuff up here | |
************************************/ | |
set_time_limit(0); | |
date_default_timezone_set('America/New_York'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// main.m | |
// Dijkstra | |
// | |
// Created by Richard S on 12/01/2015. | |
// Copyright (c) 2015 Richard Sbresny. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "AppDelegate.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Playground - noun: a place where people can play | |
import Foundation | |
extension String { | |
subscript (i: Int) -> String { | |
return String(Array(self)[i]) | |
} | |
func count() -> Int { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
extension Int { | |
func times(closure:(Int)->Void) { | |
for i in 0...self { | |
closure(i) | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/smtp' | |
require 'optparse' | |
require "rubygems" | |
require "json" | |
require "net/http" | |
require "uri" | |
####### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream app { | |
server unix:/srv/app/current/tmp/sockets/unicorn.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name www.app.com; | |
rewrite ^/(.*) http://app.com/$1 permanent; | |
} | |
server { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rest-client' | |
require 'highline/import' | |
require 'json' | |
require 'time' | |
@activityCount = 0 | |
@uploadedCount = 0 | |
@garminPath = "/Volumes/GARMIN/Garmin/Activities" | |
def startup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fileutils' | |
require 'pathname' | |
require 'digest' | |
require 'colorize' | |
class Syncd | |
def initialize | |
@dir = '/Volumes/MUSIC' | |
@remote = '/Users/richard/mew' |
NewerOlder