Skip to content

Instantly share code, notes, and snippets.

$ redis-cli -h tidalcache.aws.tid.al
> flushall
@bkanber
bkanber / files-older-than.sh
Last active December 22, 2015 21:42
Nifty snippet to list # of files in a directory older than # minutes for 1...60 minutes. Used to analyze session file lifetimes
for i in `seq 1 60`; do echo "$i mins ago"; find . -cmin +$i | wc -l; done;
<div class="widget span8 offset2">
<div class="title">
<div class="icon"><i class="fa fa-star"></i></div>
<h2>Invitation to {{ campaign.name }}</h2>
</div>
<div class="content padded">
<div class="alert alert-info">Please review the information below and respond</div>
{{ campaign.description }}
<p>
[{"type":"label","label":"Paypal Email Address"},{"type":"text","name":"paypal"}]
<div class="widget span8 offset2">
<div class="title">
<div class="icon"><i class="fa fa-star"></i></div>
<h2>Invitation to {{ campaign.name }}</h2>
</div>
<div class="content padded">
<div class="alert alert-info">Please review the information below and respond</div>
{{ rendered_form|raw }}
</div>
@bkanber
bkanber / xstartup
Created December 11, 2015 16:09
.vnc/xstartup file for Lubuntu
xrdb $HOME/.Xresources
/etc/X11/Xsession
autocutsel -fork
/usr/bin/lxsession -s Lubuntu -e LXDE &