Skip to content

Instantly share code, notes, and snippets.

View jmmadruga's full-sized avatar

Jerônimo Medina Madruga jmmadruga

View GitHub Profile
@emersonmoretto
emersonmoretto / benchmark.sh
Created August 9, 2011 21:06
Apache bench + Gnuplot Script
#!/bin/bash
echo -e "\nbenchmark.sh -n<number of requests> -c<number of concurrency> <URL1> <URL2> ..."
echo -e "\nEx: benchmark.sh -n100 -c10 http://www.google.com/ http://www.bing.com/ \n"
## Gnuplot settings
echo "set terminal png
set output 'benchmark_${1}_${2}.png'
set title 'Benchmark: ${1} ${2}'
@benbalter
benbalter / siege-gen.php
Created March 21, 2012 20:49
Random URL generator for Siege URL files
<PRE>
<?php
/**
* Generates list of random URLs for use with Siege
* Usefull for getting around caching and whatnot
*/
//path to a wp-load file
include( 'trunk/wp-load.php' );
@magnunleno
magnunleno / arch-install.sh
Created September 5, 2012 18:13
Arch Linux Install Script (en)
#!/bin/bash
# encoding: utf-8
##################################################
# Variables #
##################################################
# Computer Name
HOSTN=Arch-VM
# Keyboard Layout