I hereby claim:
- I am joshterrill on github.
- I am joshterrill (https://keybase.io/joshterrill) on keybase.
- I have a public key whose fingerprint is 25FA 836A E958 18A3 EF6A E79F B3B3 908C 7ED7 608F
To claim this, I am signing this object:
var express = require("express"), | |
http = require("http"), | |
async = require("async"), | |
sockjs = require("sockjs"), | |
uuid = require("uuid"), | |
url = require("url"), | |
redis = require("redis"); // for pubsub and to persist data if your app restarts | |
var app = express(), | |
redisClient = redis.createClient(), |
Meteor.startup(function() { | |
var auto; | |
auto = Cookie.get('autosubscribe'); | |
if (auto) { | |
return Router.go('publicScreen', { | |
_id: auto | |
}); | |
} | |
}); |
1.1.1.1 | |
2.2.2.2 | |
3.3.3.3 |
// Get twitter status for given account (or for the default one, "PhantomJS") | |
var page = require('webpage').create(), | |
system = require('system'), | |
twitterId = "PhantomJS"; //< default value | |
// Route "console.log()" calls from within the Page context to the main Phantom context (i.e. current "this") | |
page.onConsoleMessage = function(msg) { | |
console.log(msg); | |
}; |
function cwUtil_focusDateInput(name) { | |
var selectedInput = $("[name='" + name + "']"); | |
$(selectedInput).focus(); | |
$(selectedInput).on("click", function() { | |
$(this).datepicker(); | |
$(this).focus(); | |
}); | |
} |
# sendmail -t "[email protected]" < mail.txt | |
# To: [email protected] | |
# From: jobs@pig-1-102828 | |
# Subject: Sent from a terminal! | |
# Thanks for the message! | |
DATE=`date +%d-%m-%y` | |
ps aux > /var/www/html/mailerlog/$DATE.txt | |
sendmail -t "[email protected]" < /var/www/html/mailerlog/$DATE.txt |
var str = '// \\ / \ _ - . ( ) () &&& !@#$%^&*)*_+=this is a test #$^*#<><>[][]{}{}{}{)(*#@'; | |
var result = str.replace(/_|#|\\|\/|-|\.|\ |\(|\)|\&|\@|\!|\$|\%|\^|\*|\+|\=|\[|\]|\{|\}|\'|\"|\<|\>|\?|/g,''); | |
console.log(result); | |
// thisisatest |
I hereby claim:
To claim this, I am signing this object:
contract Balance { | |
uint public balance; | |
} |
contract Payroll { | |
// define variables | |
address public CompanyOwner; | |
uint employeeId; | |
// create Employee object | |
struct Employee { | |
uint employeeId; | |
address employeeAddress; |