This file contains 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
alias asd="git pull upstream master --rebase" | |
alias sa="sudo apt-get install" | |
export GOPATH=~/gopath | |
export PATH=$PATH:/usr/local/go/bin | |
export GOBIN=/usr/local/go/bin |
This file contains 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
separator_block_width=15 | |
color=#CCCCCC | |
align=center | |
[online-status] | |
command=echo "ping $(ping -c 1 8.8.8.8 | awk '/from/ {print $7}' | cut -d'=' -f 2)ms" | |
#||echo '' | |
#command=ping googe.com || echo asd | |
#color=#FF0000 | |
interval=40 |
This file contains 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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
set $mod Mod4 | |
#consts | |
set $w1 1: | |
set $w2 2: |
This file contains 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
#!/bin/bash | |
scrot 'ss.png' -e 'mv $f ~/Pictures' | |
convert ~/Pictures/ss.png -blur 0x5 ~/Pictures/sss.png | |
i3lock -f -i ~/Pictures/sss.png |
This file contains 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
package main | |
import ( | |
"encoding/json" | |
"testing" | |
) | |
type Card struct { | |
Card string | |
Pin int |
This file contains 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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: tiller | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: tiller |
This file contains 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
#!/bin/sh | |
userresources=$HOME/.Xresources | |
usermodmap=$HOME/.Xmodmap | |
sysresources=/etc/X11/xinit/.Xresources | |
sysmodmap=/etc/X11/xinit/.Xmodmap | |
# merge in defaults and keymaps | |
if [ -f $sysresources ]; then |
This file contains 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
kubeadm reset | |
sudo apt remove --purge kubelet kubectl kubeadm | |
sudo rm -rf /etc/kubernetes/manifests/* /etc/kubernetes/kubelet.conf /etc/kubernetes/pki/ca.crt $HOME/.kube | |
apt install kubeadm kubectl kubelet | |
sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --token-ttl 0 | |
# add --ignore-preflight-errors=All to join command |