Skip to content

Instantly share code, notes, and snippets.

@ktheory
ktheory / dd.log
Last active November 10, 2023 23:41
EC2 EBS-SSD vs instance-store performance on an EBS-optimized m3.2xlarge
# /tmp/test = EBS-SSD
# /mnt/test = instance-store
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 3.26957 s, 82.1 MB/s
root@ip-10-0-2-6:~# dd bs=1M count=256 if=/dev/zero of=/tmp/test
256+0 records in
256+0 records out
@bennadel
bennadel / demo.htm
Created August 17, 2012 14:43
Using Underscore.js Templates To Render HTML Partials
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Looking At Underscore.js Templates</title>
</head>
<body>
<h1>
Looking At Underscore.js Templates
@dex4er
dex4er / soap-calculator-client.pl
Created November 15, 2011 19:07
XML::Compile::SOAP example client
#!/usr/bin/env perl
use warnings;
use strict;
use XML::Compile::WSDL11;
use XML::Compile::SOAP11;
use XML::Compile::Transport::SOAPHTTP;
use HTTP::Tiny;
package Sugar::Cane;
# ABSTRACT: EXPERIMENTAL What you need to produce Sugar
use Moose ();
use Moose::Exporter;
use Moose::Util;
use Data::Printer;
my ( $import, $unimport, $init_meta ) = Moose::Exporter->setup_import_methods(
with_meta => [ 'attributes' ],