Skip to content

Instantly share code, notes, and snippets.

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

Kian Ostad okian

💭
I may be slow to respond.
View GitHub Profile
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\
@okian
okian / cleaner.js
Created November 1, 2017 12:24
small function for clean objects
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){
# mod
set $mod Mod4
# font
font pango: System San Francisco Display 10
# thin borders
hide_edge_borders both
# drag windows