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
[11:12:30 AM] rsrchboy: so | |
[11:12:57 AM] rsrchboy: I had a great conversation about getting hosting/dns settings to what we want with kyle | |
[11:14:34 AM] rsrchboy: I think we found a far easier way, that's generally applicable to non-remix dho sites, for people using us for domreg and dns (most, I suspect; all for us) | |
[11:16:08 AM] john.swanson: ah, really? nice! what is it? | |
[11:16:23 AM] rsrchboy: a combo of a couple things | |
[11:17:01 AM] rsrchboy: one is that our current approach -- just manipulating dns records -- is doable, but doesn't integrate well into the way we manage dns | |
[11:18:51 AM] rsrchboy: there's two way we really configure dns records: one is through a domainservice (there are multiple types: fully-hosted, mirroring, redirect, parked, etc, etc); the other is through custom dns records a consumer can enter | |
[11:19:42 AM] rsrchboy: fwiw, these are stashed away in dreamhost.domain_service and the actual records/zones in dns.zone and dns.record | |
[11:20:23 AM] rsrchboy: the d |
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 [5;5~ | |
:nmap [6;5~ |
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
# google services for wps.io | |
RedirectMatch 301 ^/mail$ https://mail.google.com/a/wps.io | |
RedirectMatch 301 ^/cal(endar|)$ https://www.google.com/calendar/hosted/wps.io | |
RedirectMatch 301 ^/docs$ https://docs.google.com/a/wps.io | |
RedirectMatch 301 ^/drive$ https://drive.google.com/a/wps.io |
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 <zulcss@ubuntu.com> 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', |