./css
./css/main.css
./dist
.all.css
./all.js
./fallback
{ | |
"cmd": ["build_java.sh", "$file_base_name"] | |
} |
states = Array[ ["AK", "Alaska"], | |
["AL", "Alabama"], | |
["AR", "Arkansas"], | |
["AS", "American Samoa"], | |
["AZ", "Arizona"], | |
["CA", "California"], | |
["CO", "Colorado"], | |
["CT", "Connecticut"], | |
["DC", "District of Columbia"], | |
["DE", "Delaware"], |
public class CaesarCipher { | |
public static void main(String args[]){ | |
if (args.length == 3) | |
{ | |
//output decrypted string | |
System.out.println(decryptString(args[0], args[1], args[2])); | |
} | |
else |
@interface Fraction : NSObject | |
+(int) gcd: (int) num1:(int) num2; | |
+(int) lcm: (int) num1:(int) num2; | |
@end | |
@implementation Fraction |
// | |
// Fraction.h | |
// FractionCalculator | |
// | |
// Created by Devon Blandin on 9/15/12. | |
// Copyright (c) 2012 Devon Code Shop. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
window.InvitesApp = { | |
Models: {} | |
Collections: {} | |
Views: {} | |
# Shared regular expressions, largely duplicates of ruby model validations | |
Regexes: | |
name: /^[a-z]+[-\w\s\.']*$/i | |
email: /[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?/ |
# Activate tab | |
# $ osascript activate_tab.applescript 1, 2 | |
on run argv | |
set window_index to item 1 in argv | |
set target_index to item 2 in argv | |
tell application "Google Chrome" to set active tab index of first window to target_index | |
tell application "Google Chrome" to activate | |
end run |
source :rubygems | |
gem "rake" | |
gem 'motion-logger' #cocoalumberjack wrapper |
... | |
NSString * const ContentStringTypeJPEG = @"image/jpeg"; | |
NSString * const ContentStringTypeVideo = @"video/mp4"; | |
inline NSString *stringFromContentType(DSCMultipartContentType contentType) | |
{ | |
switch (contentType) { | |
case DSCMultipartContentJPEG: | |
return ContentStringTypeJPEG; | |
break; |