Skip to content

Instantly share code, notes, and snippets.

View buzzedword's full-sized avatar
:octocat:
Live and in stereo

Danny Garcia buzzedword

:octocat:
Live and in stereo
View GitHub Profile
@morgoth
morgoth / deployer.rake
Created January 27, 2012 20:03
Rake task to copy local files to remote server via FTP
# Rake task to copy local files to remote server via FTP
# required credentials.yml file, that contains keys:
# server, username, password
require "net/ftp"
require "yaml"
class FTPClient
attr_reader :remote_path
@eculver
eculver / .gitignore
Created October 21, 2011 21:35
.gitignore boilerplate
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc
@buzzedword
buzzedword / .gitconfig
Created October 5, 2011 19:45
Public Global .gitconfig
[user]
name = John Doe
email = user@email.place
[color]
ui = true
status = auto
branch = auto
[alias]
st = status
@buzzedword
buzzedword / gs.js
Created May 24, 2011 22:40
Grooveshark Chrome Extension
chrome.extension.onRequest.addListener(
function(request, sender, sendResponse) {
switch (request.message.action){
case "addSong" :
Grooveshark.addSongsByID(request.message.ID, true);
break;
case "getSong" :
var song = GrooveShark.getCurrentSongStatus().song;
sendResponse({"songTitle": song});
break;