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
add-apt-repository ppa:longsleep/golang-backports | |
apt update | |
apt upgrade -y | |
apt install -y fish neovim tmux htop golang-go | |
useradd -m -u 2000 -G sudo -s /usr/bin/fish kian | |
chown kian:kian /home/kian/bin/* | |
su kian | |
set -x PATH $PATH $HOME/bin | |
chezmoi --apply okian | |
git clone --depth 1 https://github.com/wbthomason/packer.nvim\ |
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
function reduce(x) { | |
var res = {} | |
var o; | |
for (o in x) { | |
if (!x.hasOwnProperty(o)){ | |
continue; | |
} | |
if (Array.isArray(x[o])) { | |
var t = ac(x[o]) | |
if (t.length>0){ |
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
# mod | |
set $mod Mod4 | |
# font | |
font pango: System San Francisco Display 10 | |
# thin borders | |
hide_edge_borders both | |
# drag windows |