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
nixtime () { | |
curl http://nixti.me/$* -d tz=`date +%Z` -d json=1 | |
} |
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
alert("hey this is pretty cool"); | |
var x = 9; | |
x++; |
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
created: | |
subject: todo|todolist | |
shared: | |
subject: todo|todolist | |
shared to: twitter|facebook|email | |
share action: created | |
landing: | |
subject: todo|todolist |
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
public static final String ADJECTIVE = "JJ"; | |
public static final String ADJECTIVE_SUPERLATIVE = "JJS"; | |
public static final String ADJECTIVE_COMPARATIVE = "JJR"; | |
public static final String ADVERB = "RB"; | |
public static final String DETERMINER = "DT"; | |
public static final String TO = "TO"; | |
public static final String PARTICLE = "RP"; | |
public static final String ADVERB_COMPARATIVE = "RBR"; | |
public static final String ADVERB_SUPERLATIVE = "RBS"; |
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
String uri = "tel:911"; | |
Intent intent = new Intent(Intent.ACTION_CALL); | |
intent.setData(Uri.parse(uri)); | |
startActivity(intent); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.mongodb.mongod</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/mongodb/bin/mongod</string> |
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
db.user.getIndexes() | |
[ | |
{ | |
"v" : 1, | |
"key" : { | |
"_id" : 1 | |
}, | |
"ns" : "jeraff.user", | |
"name" : "_id_" | |
}, |
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
db.currentOp() | |
{ | |
"inprog" : [ | |
{ | |
"opid" : 11366478, | |
"active" : true, | |
"secs_running" : 2, | |
"op" : "getmore", | |
"ns" : "local.oplog.rs", | |
"query" : { |
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
db.currentOp() | |
{ | |
"inprog" : [ | |
{ | |
"opid" : 11350075, | |
"active" : true, | |
"secs_running" : 0, | |
"op" : "getmore", | |
"ns" : "local.oplog.rs", | |
"query" : { |
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
db.currentOp() | |
{ | |
"inprog" : [ | |
{ | |
"opid" : 11343547, | |
"active" : true, | |
"secs_running" : 1, | |
"op" : "getmore", | |
"ns" : "local.oplog.rs", | |
"query" : { |