I hereby claim:
- I am fgbreel on github.
 - I am fgbreel (https://keybase.io/fgbreel) on keybase.
 - I have a public key whose fingerprint is 91F8 48A8 675F D254 5AFA 82F1 4DB1 3D91 2D3E 7517
 
To claim this, I am signing this object:
| nginx: | |
| pkg.installed | |
| git-core: | |
| pkg.installed | |
| apt-transport-https: | |
| pkg.installed | |
| https://github.com/fgbreel/fabio.git: | 
| #!/usr/bin/perl | |
| use DBI; | |
| # Connect to the local database | |
| $dbh = DBI->connect('DBI:mysql:host=localhost;database=mysql', 'root', 'password') || die; | |
| # Flush and lock tables to prepare for LVM snapshot | |
| $dbh->do('FLUSH TABLES WITH READ LOCK;'); | 
I hereby claim:
To claim this, I am signing this object:
| # config/routes.rb | |
| resources :documents do | |
| scope module: 'documents' do | |
| resources :versions do | |
| post :restore, on: :member | |
| end | |
| resource :lock | |
| end | |
| end | 
| def mask n;n.slice(0,6)+"*"*(n.size-10)+n.slice(-4,4);end | 
| var post = { | |
| init: function() { $('.post').on('click', this.loadPost); }, | |
| updatePost: function(result, event) { | |
| var $post = $(event.currentTarget); | |
| $post.fadeIn({ | |
| duration: 400, | |
| start: function(){ | |
| $post.find('.post-title').text(result.title); | |
| $post.find('.post-content').text(result.content); | 
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| def archive_to_bytes(archive): | |
| def to_seconds(s): | |
| SECONDS_IN_A = { | |
| 's': 1, | |
| 'm': 1 * 60, | |
| 'h': 1 * 60 * 60, | 
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: unicorn | |
| # Required-Start: $syslog $networking | |
| # Required-Stop: $syslog $networking | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Unicorn APP Server | |
| # Description: Debian init script for the Unicorn APP Server | |
| # scheduler | 
| <IfModule mod_ssl.c> | |
| <VirtualHost _default_:443> | |
| ServerAdmin [email protected] | |
| DocumentRoot {{ document_root }} | |
| LogLevel error | |
| ErrorLog ${APACHE_LOG_DIR}/error.log | |
| CustomLog ${APACHE_LOG_DIR}/access.log combined | 
| # Postfix stuff based on https://gist.github.com/jbrownsc/4694374: | |
| QUEUEID (?:[A-F0-9]+|NOQUEUE) | |
| EMAILADDRESSPART [a-zA-Z0-9_.+-=:]+ | |
| EMAILADDRESS %{EMAILADDRESSPART:local}@%{EMAILADDRESSPART:remote} | |
| RELAY (?:%{HOSTNAME:relayhost}(?:\[%{IP:relayip}\](?::[0-9]+(.[0-9]+)?)?)?) | |
| POSREAL [0-9]+(.[0-9]+)? | |
| DELAYS (%{POSREAL}[/]*)+ | |
| DSN %{NONNEGINT}.%{NONNEGINT}.%{NONNEGINT} | |
| STATUS sent|deferred|bounced|expired |