Skip to content

Instantly share code, notes, and snippets.

View timmyc's full-sized avatar

Timmy Crawford timmyc

View GitHub Profile

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@timmyc
timmyc / twilio_calls_controller.rb
Created February 9, 2012 21:05
Twilio Request Validation for Rails
class TwilioCallsController < ApplicationController
before_filter :authenticate_twilio_request, :only => [
:twilio_handling_method_1, :twilio_handling_method_2
]
def twilio_handling_method_1
# do something Twilio-related
end
def twilio_handling_method_2
//
// Sparrow+SI.h
//
#import <UIKit/UIKit.h>
@interface SPUtils (DeviceAdditions)
+ (BOOL)isDevicePad;
+ (BOOL)isDeviceRetina;
@end