This file contains hidden or 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
diff --git a/AppDelegate.m b/AppDelegate.m | |
index 60fd8d5..de8302f 100755 | |
--- a/AppDelegate.m | |
+++ b/AppDelegate.m | |
@@ -48,6 +48,8 @@ | |
#import "AppDelegate.h" | |
#import "MainViewController.h" | |
+#import <DCIntrospect/DCIntrospect.h> | |
+ |
This file contains hidden or 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
// http://d.hatena.ne.jp/piglovesyou/20111105/1320516029 | |
// depends on underscore.js | |
// @param {String|Number|Date} date | |
// @param {?String=} lang 'ja' or 'en'. default is 'ja' | |
// @return {String} | |
_.mixin({ | |
niceDate: (function(date, lang) { | |
var DAY, HOUR, MINUTE, MONTH, SECOND, WEEK, YEAR, dateFormat, formatize, langs, pluralize; | |
SECOND = 1000; | |
MINUTE = 60 * SECOND; |
This file contains hidden or 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
@interface ChildController () | |
@property(nonatomic, retain) UINavigationController* navigationController; | |
@end | |
@implementation ChildController | |
@synthesize navigationController; | |
- (void)viewDidLoad | |
{ |
This file contains hidden or 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
launchctl load -wF -D user ~/Library/LaunchAgents/jenkins.plist | |
launchctl list | grep jenkins | |
# 58066 - jenkins | |
launchctl start jenkins | |
open http://localhost:8080/ |
This file contains hidden or 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
open /Applications/Google\ Chrome\ Dev.app --args --user-data-dir=${HOME}/Library/Application\ Support/Google/Chrome-dev --enable-experimental-extension-apis=true |
This file contains hidden or 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
<?php | |
$_GET = (isset($_GET))? $_GET: array(); | |
$_GET['injection'] = '1 && system("sudo ls /");'; | |
$assertion = '1 == ' . $_GET['injection']; | |
echo $assertion; | |
assert($assertion); |
This file contains hidden or 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 casperjs | |
# | |
# # Run script | |
# casperjs casperjs-twitter-source-changer.coffee dankogai kogaidan 12345 jcode.pl | |
# | |
# # CasperJS | |
# http://n1k0.github.com/casperjs/ | |
casper = require('casper').create verbose: true, logLevel: 'debug' |
This file contains hidden or 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 casperjs | |
# | |
# # Run script | |
# casperjs [email protected] amazonpasswd ASIN00001 | |
# | |
# # CasperJS | |
# http://n1k0.github.com/casperjs/ | |
casper = require('casper').create() |
This file contains hidden or 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
// | |
// AppDelegate.m | |
// PhotoLibraryAccess | |
#import "AppDelegate.h" | |
#import <AssetsLibrary/AssetsLibrary.h> | |
@implementation AppDelegate |
This file contains hidden or 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 os | |
import urllib2 | |
import time | |
START = 20000 | |
MAX_NUMBER = 22000 | |
def download(bid): |