- Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
- rabl - General ruby templating with json, bson, xml, plist and msgpack support
- Thin - Very fast and lightweight Ruby web server
- Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
- SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
- Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
- [factory_girl](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
#!/bin/bash | |
# Bash script to generate a "Release" Build - Based on arrix.blogspot.com code | |
# - The file must lay on the same .xcodeproj folder | |
# - Project must be set up with "Debug" (with developer provisioning profiles) | |
# and "Release" (with distribution provisioning profiles) | |
# - Project build version will be upgraded with the current datetime and marketing version | |
# will be the same provided as the second parameter of the script: see USAGE. | |
# | |
# USAGE: sh build.sh AppName 0.1.1 |
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
#!/bin/bash | |
USER="CHANGE_NAME" | |
NAME=traktscrobbler | |
PIDFILE=/var/run/$NAME.pid | |
DAEMON=/usr/bin/python | |
SCRIPT=/CHANGE/PATH/TO/Plex-Trakt-Scrobbler/script.py | |
case "$1" in | |
start) | |
echo "Starting $NAME" | |
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
#!/bin/bash | |
# Bash script to generate a "Release" Build - Based on arrix.blogspot.com | |
# - The file must lay on the same .xcodeproj folder | |
# - Project must be set up with "Debug" (with developer provisioning profiles) | |
# and "Release" (with distribution provisioning profiles) | |
# - Project build version will be upgraded with the current datetime and marketing version | |
# will be the same provided as the second parameter of the script: see USAGE. | |
# | |
# USAGE: sh build.sh AppName 0.1.1 |
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
//_______________________________________________________________________________________________________________ | |
// this represents the display and behaviour of the cells. | |
@protocol UITableViewDelegate<NSObject, UIScrollViewDelegate> | |
@optional | |
// Display customization |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.
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 python | |
import subprocess, sys, threading | |
PLAY_COMMAND = "mpg123" | |
class PlayerThread(threading.Thread): | |
def __init__(self, filename): | |
self.filename = filename |
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
// based on http://stackoverflow.com/a/29075908/468868 answer | |
const unsigned *tokenBytes = [deviceToken bytes]; | |
NSString *hexToken = [NSString stringWithFormat:@"%08x%08x%08x%08x%08x%08x%08x%08x", | |
ntohl(tokenBytes[0]), ntohl(tokenBytes[1]), ntohl(tokenBytes[2]), | |
ntohl(tokenBytes[3]), ntohl(tokenBytes[4]), ntohl(tokenBytes[5]), | |
ntohl(tokenBytes[6]), ntohl(tokenBytes[7])]; |
I hereby claim:
- I am crsantos on github.
- I am crsantos (https://keybase.io/crsantos) on keybase.
- I have a public key whose fingerprint is 4FF1 2840 B9EE CE15 BC0A E54B 8412 AFDD 619A D848
To claim this, I am signing this object:
OlderNewer