Skip to content

Instantly share code, notes, and snippets.

View ekka21's full-sized avatar

Ekkachai Danwanichakul ekka21

View GitHub Profile
gource --user-image-dir .git/avatar/ --seconds-per-day 0.7 --auto-skip-seconds 1 --auto-skip-seconds 1 --hide filenames,mouse,progress -1280x720 -o - | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K climate-development.mp4
gource \
-s 1 \
-1280x720 \
--auto-skip-seconds .1 \
--multi-sampling \
--stop-at-end \
--key \
--highlight-users \
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box_check_update = false
config.ssh.insert_key = false
config.vm.box = "geerlingguy/centos7"
#bash prompt with git branch
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
export PATH=~/.local/bin:$PATH
#aliases
alias c='clear'
alias lsa='ls -lah'
@ekka21
ekka21 / vim
Created February 1, 2019 17:04
minimal vim setup
#!/bin/bash
set -e
"Installing pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
"Installing .vimrc
curl -LSso ~/.vimrc https://raw.githubusercontent.com/ekka21/dotfiles/master/.vimrc