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 | |
# Anh Nguyen <anh.ng8@gmail.com> | |
# 2016-04-30 | |
# MIT License | |
# This script takes in images from a folder and make a crossfade video from the images using ffmpeg. | |
# Make sure you have ffmpeg installed before running. | |
# The output command looks something like the below, but for as many images as you have in the folder. |
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
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
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
dd if=/dev/urandom of=file.txt count=1024 bs=1024 | |
#another version with emtpy data would be: dd if=/dev/zero of=file.txt count=1024 bs=1024 |
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
#Hexdump the first 120 bytes of this man page with 12 octets per line. | |
% xxd -l 120 -c 12 xxd.1 | |
0000000: 2e54 4820 5858 4420 3120 2241 .TH XXD 1 "A | |
000000c: 7567 7573 7420 3139 3936 2220 ugust 1996" | |
0000018: 224d 616e 7561 6c20 7061 6765 "Manual page | |
0000024: 2066 6f72 2078 7864 220a 2e5c for xxd"..\ | |
0000030: 220a 2e5c 2220 3231 7374 204d "..\" 21st M | |
000003c: 6179 2031 3939 360a 2e5c 2220 ay 1996..\" | |
0000048: 4d61 6e20 7061 6765 2061 7574 Man page aut | |
0000054: 686f 723a 0a2e 5c22 2020 2020 hor:..\" |
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
set undofile | |
mkdir ~/.vim/undodir | |
set undodir=~/.vim/undodir |
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
# Run this in Sonic Pi: https://sonic-pi.net/ | |
# Sick of Losing Soulmates by Dodie: https://youtu.be/mHUIoikgKT0 | |
# Inspired by Deerful's cover: https://youtu.be/sfaEBsloiQk | |
use_synth :pluck | |
use_bpm 75 | |
define :tab do |t| | |
last = nil | |
t.split('').map.with_index do |n, i| |
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
syntax on " Color syntax on | |
colorscheme desert " Scheme of color syntax | |
set tabstop=2 " The width of a tab is set to 2 | |
" Still it is a \t; it is just that | |
" vim will interpret it to be having | |
" a width of 2 | |
set shiftwidth=2 " Indents will have a width of 2 | |
set softtabstop=2 " Sets the number of columns for a tab | |
set expandtab " Expand tabs to spaces | |
set nowrap " No wrapping |
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
https://raw.githubusercontent.com/alwei/dotfiles/3760650625663f3b08f24bc75762ec843ca7e112/.vimrc | |
https://raw.githubusercontent.com/anekos/my-config/0afcd78455743a4d3fad31674136428052dc6ebe/.vimrc | |
https://raw.githubusercontent.com/sigwyg/dotfiles/8c70c4032ebad90a8d92b76b1c5d732f28559e40/.vimrc | |
https://raw.githubusercontent.com/basyura/vimfiles/ee086f25b8c58b8ea6bf025d26ebc11ae50e6ca1/rc/vimrc | |
https://raw.githubusercontent.com/osyo-manga/vimrc/9ef0ca9757abcdaa11c76024aa551f0b473624bf/vimrcs/default/vimrc | |
https://raw.githubusercontent.com/rhysd/dotfiles/8228ebaeab0e022ee7161d0eb9fc633876b0be41/vimrc | |
https://raw.githubusercontent.com/ebc-2in2crc/vimrc/f1ed88bf0d3668ebf8d702def40625d435f545cd/_vimrc | |
https://raw.githubusercontent.com/rbtnn/reading-vimrc/a92dae61200f50bd771f3a30c4f5fa06738c9aac/.vimrc | |
https://raw.githubusercontent.com/ujihisa/config/8c513ac93429e27ce27e6020a7d48e728b809169/_vimrc | |
https://gist.githubusercontent.com/thinca/3675965/raw/5739da5abedef838ed49b8328d9b29e3dd78bed4/bundle.vim |
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 | |
for i in * | |
do | |
timidity "${i}" -Ow | |
done |
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
https://www.youtube.com/watch?v=XA2WjJbmmoM |
OlderNewer