Skip to content

Instantly share code, notes, and snippets.

Ryan Billingsley ryanbillingsley

Block or report user

Report or block ryanbillingsley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View logs.txt
[0mGET /manifests/cd0ea095 200 10.433 ms - 112
Validating start url...
Building the project... { content:
{ start_url: 'http://www.bamideas.com/',
short_name: 'WwwBamideasCom' },
format: 'w3c' } D:\home\site\wwwroot\tmp\cd0ea095 [ 'windows', 'android', 'ios', 'chrome', 'firefox' ] false
Generating the Windows application...
Generating the Chrome application...
Generating the Firefox application...
Generating the Cordova application...
View keybase.md

Keybase proof

I hereby claim:

  • I am ryanbillingsley on github.
  • I am ryanbillingsley (https://keybase.io/ryanbillingsley) on keybase.
  • I have a public key whose fingerprint is 192A 752F 7020 D730 B999 9359 71D7 977D 1F3F 01DA

To claim this, I am signing this object:

View install-teamcity.md

Install

Follow the steps below to install Team City 8.1 on Ubuntu 12.04 with Nginx as the proxy for port 80.

Install Team City:

# will install on port 8111
sudo wget -c https://gist.github.com/ryanbillingsley/5c6641c15aafcd8aa06e/raw/50ec6ce84da8162de9359ee746e5f8c767b7cb75/teamcity-install.sh -O /tmp/teamcity-install.sh
@ryanbillingsley
ryanbillingsley / ffmpeg.sh
Last active Nov 14, 2016
Jason Snell's Automator service that converts to AIFF via ffmpeg.
View ffmpeg.sh
for i in "$@" ; do /Users/jsnell/ffmpeg -i "$i" -map 0:0 -acodec pcm_s161e -ac 1 -out_sample_rate 44100 "${i%.*}.wav" ;
done
@ryanbillingsley
ryanbillingsley / PointOnCircle.m
Created Apr 22, 2014
Finds a point on a circle with a given radius and degree
View PointOnCircle.m
#define RADIANS_TO_DEGREES(radians) ((radians) * (180.0 / M_PI))
#define DEGREES_TO_RADIANS(degrees) ((degrees) * (M_PI / 180.0))
- (CGPoint)determinePointOnCircleWithRadius:(int)radius Degree:(int)degree Center:(CGPoint)startPoint
{
float midX = startPoint.x + radius * cos(DEGREES_TO_RADIANS(degree));
float midY = startPoint.y + radius * sin(DEGREES_TO_RADIANS(degree));
return CGPointMake(midX, midY);
}
View gitcommit.rb
def building_commit
i = 0
body = "tree #{@tree}
parent #{@parent}
author CTF user <me@example.com> #{@timestamp} +0000
committer CTF user <me@example.com> #{@timestamp} +0000
Give me a Gitcoin #{i}"
@ryanbillingsley
ryanbillingsley / DTMFSingle.xml
Created Jan 30, 2012
Simple Single Digit DTMF GRXML file
View DTMFSingle.xml
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<grammar xml:lang="en-US" version="1.0" root="ROOT" mode="dtmf" tag-format="swi-semantics/1.0" xml:base="file://C:/Billingsley/" xmlns="http://www.w3.org/2001/06/grammar">
<rule id="ROOT" scope="public">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
View connect_async_basic_auth
cluster = require('cluster')
http = require('http')
connect = require('connect')
request = require('request')
sys = require('sys')
done = (success) ->
console.log("FN!" + success)
true
View MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
You can’t perform that action at this time.