Skip to content

Instantly share code, notes, and snippets.

@rblackwe
rblackwe / keybase.md
Created August 11, 2017 06:58
keybase.md

Keybase proof

I hereby claim:

  • I am rblackwe on github.
  • I am rblackwe (https://keybase.io/rblackwe) on keybase.
  • I have a public key ASB3XYRaE7NgZob-I6sTqDJoZ8EGYVPn_oLygmaMy1Z4Lgo

To claim this, I am signing this object:

@rblackwe
rblackwe / b8:27:eb:69:18:9c.txt
Created August 26, 2016 17:03
Created via API
ip
@rblackwe
rblackwe / $MACaddress.txt
Created August 26, 2016 15:30
Created via API
Demo2
@rblackwe
rblackwe / file1.txt
Created August 26, 2016 15:25
Created via API
Demo2
@rblackwe
rblackwe / file1.txt
Created August 26, 2016 15:23
Created via API
Demo

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

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play loop="10">https://api.twilio.com/cowbell.mp3</Play>
</Response>
@rblackwe
rblackwe / wopen
Created September 18, 2013 18:32
#!/usr/bin/env perl
use strict;
use warnings;
use Browser::Open qw( open_browser );
use Dancer;
get '/' => sub {
my $url = param('u');
my $cmd = open_browser($url);
return $url;
@rblackwe
rblackwe / graphite_url
Created September 18, 2013 18:08
I tool to help with constructing URIs for Graphite. (Tuned for https://www.hostedgraphite.com/)
use URI;
use HTML::Display;
my $prams = {
target => [qw(ad_live ad_static ad_live_html ad_static_html)],
height => 800,
width => 1600,
from => "-3hours",
yMax => ".2",
lineMode => "connected",
};
@rblackwe
rblackwe / pinboard_open
Last active December 16, 2015 08:59
Open urls from pinboard tags. pinboard_open today
use JSON;
use WWW::Mechanize;
use Browser::Open qw( open_browser );
use JSON::Path;
my $url = 'http://feeds.pinboard.in/json/u:rblackwe/t:' . join "/t:", @ARGV;
my $mech = WWW::Mechanize->new();
$mech->get($url);
my $jpath = JSON::Path->new('$.[*].u');
foreach ( $jpath->values(decode_json $mech->content()) ) {
open_browser $_;