Skip to content

Instantly share code, notes, and snippets.

@imba3r
imba3r / arch-install.md
Created November 4, 2017 11:08
arch-install.md

Install Base System

// Prepare
loadkeys de
timedatectl set-ntp true

// Partition Disk
fdisk:
- GPT
- sda1: EFI
@imba3r
imba3r / twitcher.py
Created October 18, 2014 11:20
Dmenu for twitch.tv (for use with livestreamer)
#!/usr/bin/env python
#-------------------------------------------------
# file: twitcher.py
# author: Florian Ehmke
# description: dmenu for twitch streams
#-------------------------------------------------
import argparse
import requests
from subprocess import Popen, PIPE, STDOUT
@imba3r
imba3r / bash_ps1
Created October 14, 2014 15:47
Bash PS1 with Git and Virtualenv support.
# PS1 (prompt) colors (colornames refer to jwr theme)
DF="\e[0m" # refault
BW="\e[1;37m" # bold white
BR="\e[1;31m" # bold red
BB="\e[1;34m" # bold blue
BC="\e[1;32m" # bold cyan
BL="\e[1;33m" # bold light red
[[ -n "$SSH_CLIENT" ]] && HC=$BR || HC=$BB
# prepare bash prompt git support
@imba3r
imba3r / csgo-colors.sh
Last active August 29, 2015 14:07
Nvidia CS:GO Brightness & Vibrance toggle script.
#!/bin/sh
#-------------------------------------------------
# description: toggle vibrance and brightness
# between normal and good-for-cs:go values.
#-------------------------------------------------
COLORS="Green Red Blue"
DISPLAY=[DPY:DVI-I-1]
CTRL_DISPLAY=:0