This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apache2 (2.2.15-1) unstable; urgency=low | |
* This release adds and enables mod_reqtimeout, which limits the time | |
Apache waits for a client to send a complete request. This helps to | |
mitigate against certain denial of service attacks. In case of problems | |
with slow clients, the timeout values can be adjusted in | |
/etc/apache2/mods-available/reqtimeout.conf , or the module can be | |
disabled with "a2dismod reqtimeout". | |
-- Chuck Short <[email protected]> Tue, 13 Apr 2010 09:09:34 -0400 |

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use v5.10; | |
binmode STDIN, ':gzip'; | |
say while <> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
co = checkout | |
br = branch | |
st = status | |
df = diff | |
lg = log -p | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
ls = ls-files | |
wdiff = diff --color-words |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Handle 0x0007, DMI type 16, 23 bytes | |
Physical Memory Array | |
Location: System Board Or Motherboard | |
Use: System Memory | |
Error Correction Type: None | |
Maximum Capacity: 16 GB | |
Error Information Handle: Not Provided | |
Number Of Devices: 2 | |
Handle 0x0008, DMI type 17, 34 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brightbox-servers create --user-data="#include https://raw.github.com/gist/3129203/puppet-git-receiver-install" img-9h5cv | |
Creating a nano (typ-4nssg) server with image Ubuntu Precise 12.04 LTS server (img-9h5cv) with 0.10k of user data | |
id status type zone created_on image_id cloud_ip_ids name | |
----------------------------------------------------------------------------- | |
srv-3te8u creating nano gb1-a 2012-07-17 img-9h5cv | |
----------------------------------------------------------------------------- | |
$ git init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use MooseX::AttributeShortcuts; | |
use MooseX::CoercePerAttribute; | |
use MooseX::AlwaysCoerce; | |
# create an attribute where value must be a subtype of Str that ends in '.', | |
# and can be coerced from a non-conformant Str by adding a '.' | |
has foo => ( | |
is => 'ro', | |
isa => 'Str', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" make C-PgUp and C-PgDn work, even under screen | |
" see https://bugs.launchpad.net/ubuntu/+source/screen/+bug/82708/comments/1 | |
:nmap <ESC>[5;5~ <C-PageUp> | |
:nmap <ESC>[6;5~ <C-PageDown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Moose; | |
use namespace::autoclean; | |
use MooseX::Shortcuts 0.015; | |
# ... | |
has routing_logic => ( | |
traits => ['Code'], | |
is => 'lazy', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
snippet pkg | |
package `substitute(substitute(expand("%:p:r"), '/', '::', 'g'), '^.*lib::', '', '')`; | |
${1} |