Skip to content

Instantly share code, notes, and snippets.

@yasenn
yasenn / benchmark.sh
Created February 11, 2016 07:32 — forked from emersonmoretto/benchmark.sh
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}'
@yasenn
yasenn / rsyslog.conf
Created February 8, 2016 11:27 — forked from amoslanka/rsyslog.conf
Configuration for rsyslog for Nginx and PHP only. Output to /var/log/loggly and send to Loggly as well.
#################
#### MODULES ####
#################
$ModLoad imuxsock # provides support for local system logging
$ModLoad imfile
###########################
#### GLOBAL DIRECTIVES ####
###########################
@yasenn
yasenn / README.md
Created January 25, 2016 08:10 — forked from minhajuddin/README.md
Script to retrieve content from google cache
@yasenn
yasenn / gist:44f09b5d15856b012237
Created December 25, 2015 04:34 — forked from olivierlacan/gist:4062929
Code School Screencasting Framework

Screencasting Framework

The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.

Why you should care about screencasting?

You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.

  1. Communicating more effectively - At Envy Labs we produce screencasts for our clients all the time. Whether it's demoing a new feature or for a presentation for an invester, they're often much more effective and pleasent than a phone call or screen sharing.
@yasenn
yasenn / .append_to_bashrc
Created December 24, 2015 07:37
Set correct term for tmux so solarized theme works in vim
# Set correct term for tmux so solarized theme works in vim
alias tmux="TERM=screen-256color-bce tmux"