Skip to content

Instantly share code, notes, and snippets.

View jakerullman's full-sized avatar
☁️
Building the cloud.

Jake Rullman jakerullman

☁️
Building the cloud.
View GitHub Profile
@oodavid
oodavid / README.md
Last active June 12, 2024 00:28 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@aras-p
aras-p / preprocessor_fun.h
Last active July 16, 2024 02:50
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@stursby
stursby / hooks.m
Last active August 29, 2015 14:09
↩️ Hooks (http://hooks.events)
// by @itskathuria
NSURL *url = [NSURL URLWithString:@"http://hooks.events/hooks/post.php"];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
[request setHTTPMethod:@"POST"];
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];
NSString *apiKey = @"yourAPIKeyShouldGoHere";
NSString *title = @"yourTitleShouldGoHere";
NSString *message = @"yourMessageShouldGoHere";
NSString *query = [NSString stringWithFormat:@"hooksTitle=%@&hooksMessage=%@&hooksApi=%@", title, message, apiKey];
@Peleg
Peleg / fb_bd_liker.js
Created November 27, 2014 21:31
Facebook Birthday Liker - likes your friends' posts for your birthday
/**
*
* Facebook Birthday Liker -
* Likes your friends' posts for your birthday
*
* Usage:
* 1. Face the fact that you're an ungrateful, lazy being
* 2. Paste the following code in your console
*
*/