I hereby claim:
- I am jclement on github.
- I am jsc (https://keybase.io/jsc) on keybase.
- I have a public key whose fingerprint is 382A B517 8749 3ACD 7DFA CD6F 44EA FEE7 C51B 2CA8
To claim this, I am signing this object:
find /home/sftp -type f -mtime +30 -exec ls -s {} \; | sort -n -r |
### Keybase proof | |
I hereby claim: | |
* I am jclement on github. | |
* I am jsc (https://keybase.io/jsc) on keybase. | |
* I have a public key whose fingerprint is 6B42 6A57 875A E6A7 C910 EF91 4378 F71A B4EA 336E | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
var Blink1 = require('node-blink1'); | |
var request = require('request').defaults({strictSSL: false}); | |
var blink = new Blink1(); | |
var _ = require('underscore'); | |
blink.fadeToRGB(2000,255,255,0, function() { | |
blink.fadeToRGB(200,0,0,0, function() { | |
}); | |
}); |
var express = require('express'); | |
var router = express.Router(); | |
var redis = require('redis').createClient(); | |
var twilio = require('twilio'); | |
/* GET home page. */ | |
router.get('/', function(req, res) { | |
res.render('index', { title: 'Express' }); | |
}); |
I hereby claim:
To claim this, I am signing this object:
/* $OpenBSD: login_yubikey.c,v 1.8 2013/11/27 21:25:25 deraadt Exp $ */ | |
/* | |
* Copyright (c) 2010 Daniel Hartmeier <daniel@benzedrine.cx> | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* |
#!/bin/sh | |
for f in `tarsnap --list-archives | grep "^ARCHIVE_PREFIX_HERE_" | sort -r | tail -n+60` | |
do | |
echo "Removing $f" | |
tarsnap -d -f $f | |
done |
#!/usr/bin/env python | |
import httplib, urllib | |
import subprocess | |
import time | |
import socket | |
# Configuration ######################################################### | |
BACKUP_PREFIX=socket.gethostname() + "_" | |
MAX_BACKUPS=30 |
parseFloatSafe: function(v) { | |
// A more sane parseFloat function | |
// - Verifies number in a sensible format and returns NaN otherwise. Sensible format = (#,000.##..) or (#.##) or (#,000) or (#) | |
// - supports scientific notation (E[-+]?###) | |
// - null / empty string return null | |
// - non-string types are converted to string and parsed that way | |
if (v === null) {return null;} | |
var tmp = ('' + v).trim(); | |
if (tmp === '') {return null;} | |
if (tmp.match('^[-+]{0,1}[0-9]+([,]{0,1}[0-9]{3}){0,4}([.][0-9]+){0,1}([eE][-+]{0,1}[0-9]+){0,1}$')) { |