Skip to content

Instantly share code, notes, and snippets.

View bassu's full-sized avatar
💭
I may be slow to respond.

Abbas bassu

💭
I may be slow to respond.
View GitHub Profile
@bassu
bassu / index.html
Last active August 29, 2015 14:14 — forked from anonymous/index.html
<!DOCTYPE html>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700,900' rel='stylesheet' type='text/css'>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
html {
background: #fff;
}
ZFSOnLinux Benchmark On Stock Hardware
======================================
Hardware
--------
- Supermicro X8DTL
- 92GB RAM
- LSI 9211-4i HBA
- WD3000F9YZ 6Gbps 3TB x 4 HDDs
#!/usr/bin/env bash
set -e
if [ -z "$iso" ] ; then
printf -- ">>> You must invoke with iso=/path/to/winxp.iso $(basename $0)\n"
exit 1
fi
if [ -z "$url" ] ; then
@bassu
bassu / init.el
Created December 28, 2013 10:36 — forked from mig/init.el
;; emacs configuration
(push "/usr/local/bin" exec-path)
(add-to-list 'load-path "~/.emacs.d")
(setq make-backup-files nil)
(setq auto-save-default nil)
(setq-default tab-width 2)
(setq-default indent-tabs-mode nil)
(setq inhibit-startup-message t)
@bassu
bassu / haproxy.cfg
Created April 2, 2016 18:03 — forked from ryzy/haproxy.cfg
HAProxy - essentials for HTTP/2
frontend https-in
mode tcp
bind *:443 ssl crt /etc/ssl/dummy.pem alpn h2,http/1.1
use_backend nodes-http2 if { ssl_fc_alpn -i h2 }
default_backend nodes-http
backend nodes-http
server node1 web.server:80 check
backend nodes-http2
@bassu
bassu / varnish-modules.md
Created January 21, 2020 06:36 — forked from fliphess/varnish-modules.md
Install varnish modules on ubuntu 16.04 xenial

Install varnish-modules on ubuntu 16.04 xenial

  1. Backup current configuration
mkdir -p /root/varnish && cp -rv /etc/varnish /root/varnish && cp /etc/default/varnish /root/varnish/varnish-default
  1. Install varnish key and repo from packagecloud: