Skip to content

Instantly share code, notes, and snippets.

Korvin Ezüst KorvinSilver

View GitHub Profile
@KorvinSilver
KorvinSilver / .bashrc
Last active Mar 5, 2018
Bashrc with custom colorized prompt (blokkzh)
View .bashrc
export SAL_USE_VCLPLUGIN=gen
# Set color options
restore="\[\033[00m\]"
yellow="\[\033[33m\]"
cyan="\[\033[36m\]"
blueBold="\[\033[01;34m\]"
white="\[\033[37m\]"
redBold="\[\033[01;31m\]"
@KorvinSilver
KorvinSilver / my_config.vim
Last active Feb 2, 2018
My vim config to amix/vimrc
View my_config.vim
" Set shell
set shell=/bin/zsh
" Enable Pathogen built-in plugin
execute pathogen#infect('bundle/{}', '~/.vim_runtime/my_plugins/{}')
" Enable AutoSave plugin
" https://github.com/vim-scripts/vim-auto-save.git
" let g:auto_save = 1
" let g:auto_save_no_updatetime = 1 " do not change the 'updatetime' option
@KorvinSilver
KorvinSilver / ffmpegchapters-explicit.sh
Created Jan 19, 2018 — forked from dcondrey/ffmpegchapters-explicit.sh
Use ffmpeg to split file by chapters. Python version and bash version
View ffmpegchapters-explicit.sh
#!/bin/bash
# Author: http://crunchbang.org/forums/viewtopic.php?id=38748#p414992
# m4bronto
# Chapter #0:0: start 0.000000, end 1290.013333
# first _ _ start _ end
while [ $# -gt 0 ]; do
ffmpeg -i "$1" 2> tmp.txt
You can’t perform that action at this time.