Skip to content

Instantly share code, notes, and snippets.

View liquidairstudios's full-sized avatar

liquidairstudios

View GitHub Profile

Ubuntu 16.04 Install

Install packages

sudo apt update
sudo apt upgrade
sudo apt-get install wget curl git zsh cmake xclip tmux gnome-tweak-tool unity-tweak-tool

Install google-chrome

@liquidairstudios
liquidairstudios / tmlogin
Created January 2, 2017 18:42 — forked from ErebusBat/tmlogin
tmux login shell script.
#!/bin/bash
# See http://www.erebusbat.com/2015/08/tmux-login-wrapper-script/
# Inspired by https://github.com/nicknisi/dotfiles
# abort if we're already inside a TMUX session
[ "$TMUX" == "" ] || exit 0
export SHELL=/usr/local/bin/zsh
export TERM=xterm-256color
export PATH=/usr/local/bin:$PATH
export COLUMNS=1
@liquidairstudios
liquidairstudios / setup_ansible.sh
Created December 31, 2016 13:50 — forked from sgnn7/setup_ansible.sh
Apply custom patches to ansible
#!/bin/bash -e
echo WARNING! This script will add various junk to your
echo WARNING! machine so it is best to run it in a VM!
echo Fetching latest ansible
prerequisites="git \
python \
python-boto \
@liquidairstudios
liquidairstudios / enable_mongo.sh
Created December 31, 2016 13:49 — forked from sgnn7/enable_mongo.sh
Mongodb 3.2 on Ubuntu 15.10
echo '[Unit]
Description=High-performance, schema-free document-oriented database
After=syslog.target network.target
[Service]
User=mongodb
Group=mongodb
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
[Install]
@liquidairstudios
liquidairstudios / http-benchmark.md
Created December 28, 2016 18:32 — forked from denji/http-benchmark.md
HTTP(S) Benchmark Tools / Toolkit for testing/debugging HTTP(S) and restAPI (RESTful)

Tools

Located in alphabetical order (not prefer)

  • ab – slow and single threaded, written in C
  • apib – most of the features of ApacheBench (ab), also designed as a more modern replacement, written in C
  • baloo – Expressive end-to-end HTTP API testing made easy, written in Go (golang)
  • bombardier – Fast crossplatform HTTP benchmarking tool, written in Go (golang)
  • curl-loader – performance loading of various application services and traffic generation, written in C
  • fasthttploader – benchmark (kinda ab) with autoadjustment and charts based on fasthttp library, write in Go (golang)
@liquidairstudios
liquidairstudios / osx-for-hackers.sh
Created December 21, 2016 00:36 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx