Skip to content

Instantly share code, notes, and snippets.

@phatduckk
phatduckk / nixtime
Created November 25, 2012 23:34
nixtime
nixtime () {
curl http://nixti.me/$* -d tz=`date +%Z` -d json=1
}
alert("hey this is pretty cool");
var x = 9;
x++;
created:
subject: todo|todolist
shared:
subject: todo|todolist
shared to: twitter|facebook|email
share action: created
landing:
subject: todo|todolist
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";
String uri = "tel:911";
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse(uri));
startActivity(intent);
<?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>
db.user.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "jeraff.user",
"name" : "_id_"
},
db.currentOp()
{
"inprog" : [
{
"opid" : 11366478,
"active" : true,
"secs_running" : 2,
"op" : "getmore",
"ns" : "local.oplog.rs",
"query" : {
db.currentOp()
{
"inprog" : [
{
"opid" : 11350075,
"active" : true,
"secs_running" : 0,
"op" : "getmore",
"ns" : "local.oplog.rs",
"query" : {
@phatduckk
phatduckk / gist:3688988
Created September 10, 2012 05:11
profile pic upload take 1
db.currentOp()
{
"inprog" : [
{
"opid" : 11343547,
"active" : true,
"secs_running" : 1,
"op" : "getmore",
"ns" : "local.oplog.rs",
"query" : {