Skip to content

Instantly share code, notes, and snippets.

Basecamp is under network attack

Criminals have laid siege to our networks using what's called a distributed denial-of-service attack (DDoS) starting at 8:46 central time, March 24 2014. The goal is to make Basecamp, and the rest of our services, unavailable by flooding the network with bogus requests, so nothing legitimate can come through. This attack was launched together with a blackmail attempt that sought to have us pay to avoid this assault.

Note that this attack targets the network link between our servers and the internet. All the data is safe and sound, but nobody is able to get to it as long as the attack is being successfully executed. This is like a bunch of people blocking the front door and not letting you into your house. The contents of your house are safe -- you just can’t get in until they get out of the way.

We're doing everything we can with the help of our network providers to mitigate this attack and halt the interruption of service. We're also contacting law enforcement to track d

@rblackwe
rblackwe / README.md
Created December 19, 2012 22:13 — forked from mbostock/.block

From Wikipedia: Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.

Built with D3.js.

@rblackwe
rblackwe / gist:1342982
Created November 6, 2011 14:51 — forked from briandfoy/gist:1342877
Perl regex escapes by version of their introduction
# compiled by Tom Christiansen
v1.0 \0, \0N,\0NN Match octal character up to octal 077.
v1.0 \N, \NN, \NNN Match Nth capture group (decimal) if not in charclass and that many seen, else (octal) character up to octal 377.
v4.0 \a Match the alert character (ALERT, BEL).
v5.0 \A True at the beginning of a string only, not in charclass.
v1.0 \b Match the backspace char (BACKSPACE, BS) in charclass only.
v1.0 \b True at Unicode word boundary, outside of charclass only.
v1.0 \B True when not at Unicode word boundary, not in charclass.
v4.0 \cX Match ASCII control character Control-X (\cZ, \c[, \c?, etc).
v5.6 \C Match one byte (C char) even in UTF‑8 (dangerous!), not in charclass.
<html><head><title>Shop Light?</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
</script>
</head><body>
The ioBridge is: <div id="module_status">unknown</div>
The shop light is: <div id="light_status">unknown</div>
<script>
// Makes an asynchronous request to fetch our module data and updates
// the module status and light status with the received data.
function refreshLightStatus() {
=pod
Get the game.png from http://i.imgur.com/FxgMM.png
=head1 INSTALL
For windows get strawberry perl
Then do:
cpan pip Alien::SDL
# Newbie programmer
$input=<>;
sub factorial {
$s=1;
$r=1;
while ($s <= $input) {
$r *= $s;
$s++;
}
if($input == 0)
#!/usr/bin/env perl
use strict;
use warnings;
use feature ':5.10';
use Term::ReadKey;
use AnyEvent::Subprocess;
$|=1;
#!/usr/local/bin/perl6
my %pwd-for;
for $*IN.lines() {
if $_ ~~ /^(\d+)\s+(\S+)/ {
%pwd-for{~$0} = ~$1;
}
}
my @types =
1: C
2: PHP
3: JavaScript
4: C++
5: Java
6: Ruby
7: Emacs Lisp
8: Python
9: Perl
10: C Sharp
#!/bin/bash
# I use this to create a gh-pages branch on new repos
if [ ! -d .git ]; then
echo "Must be in a repository directory!"
exit
fi
wd_clean=$(git status | grep 'nothing to commit')