This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.TH SERVLOAD 1 servload\-VERSION | |
.SH NAME | |
servload \- service benchmark for HTTP and DNS performance evaluation | |
.SH SYNOPSIS | |
.B servload | |
.I url file | |
.RI [ method | |
.RI [ factor ]] | |
.SH DESCRIPTION | |
.B servload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Theme: wub | |
# Author: Sebastian Menski <[email protected]> | |
# vim: et:ts=2:st=2:sw=2 | |
background = white black | |
frame = white black | |
window_title = yellow black | |
directory = white black | |
selected_directory = white black blink |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if &cp || exists("g:loaded_gtkfont") || !has("gui_gtk2") || !has("gui_running") | |
finish | |
endif | |
let g:loaded_gtkfont = 1 | |
let s:save_cpo = &cpo | |
set cpo&vim | |
" keep default gui font size | |
let s:current_font = &guifont |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function whereami { | |
local apifile="$HOME/.ipinfodb" | |
if [ -f $apifile ]; then | |
curl -s --connect-timeout 1 --retry 5 "http://api.ipinfodb.com/v3/ip-city/?format=raw&key=$(cat $apifile)" | awk -F\; ' | |
$1=="OK" { | |
$0 = tolower($0) | |
printf "IP: %s\nCountry: %s (%s)\nCity: %s (%s)\nPosition: %s %s\n", $3, $5, toupper($4), $7, $6, $9, $10 | |
} | |
' | sed 's/\<./\u&/g' | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr/local/bin/hotplug_monitor.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import random | |
from multiprocessing import Pool | |
def metric(maximal, backlog): | |
current = backlog[-1] | |
backlog = sorted(backlog) | |
count = len(backlog) | |
if count % 2 == 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE 1 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <signal.h> | |
#include <sched.h> | |
#include <unistd.h> | |
#include <err.h> | |
#include <sysexits.h> | |
#include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www.salbnet.org - - [11/Oct/2010:16:55:16 +0200] "GET /download/servload-0.7.1.tar.gz HTTP/1.1" 206 - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=dcp165c | |
pkgver=1.1.2 | |
pkgrel=2 | |
pkgdesc="CUPS driver for Brother DCP-165 printer" | |
arch=('any') | |
license=('custom:Brother Industries') | |
depends=('cups') | |
makedepends=('libarchive' 'patch') | |
url="http://solutions.brother.com/linux/en_us/index.html" | |
source=(brother-dcp165c.patch http://www.brother.com/pub/bsc/linux/dlf/dcp165ccupswrapper-1.1.2-2.i386.rpm http://www.brother.com/pub/bsc/linux/dlf/dcp165clpr-1.1.2-2.i386.rpm) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |