Skip to content

Instantly share code, notes, and snippets.

@devnowcommit
devnowcommit / .muttrc
Created December 5, 2019 14:59 — forked from villeheilala/.muttrc
Minimal configuration for Neomutt/Mutt and Gmail/G Suite
# Minimal configuration for Neomutt/Mutt and Gmail/G Suite
# Decrypts passwords quietly
# see: https://wiki.archlinux.org/index.php/Mutt#Passwords_management
source "gpg -dq $HOME/.my-pwds.gpg |"
# Username and password for your Gmail/G Suite account
set imap_user = "john.snow@winterfell.ext"
# Password assigned from decrypted file
set imap_pass = $my_pass
https://www.youtube.com/watch?v=XA2WjJbmmoM
#!/bin/bash
for i in *
do
timidity "${i}" -Ow
done
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
@devnowcommit
devnowcommit / .vimrc
Created February 25, 2019 06:00
Vim config.
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
# 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|
set undofile
mkdir ~/.vim/undodir
set undodir=~/.vim/undodir
#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:..\"
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
@devnowcommit
devnowcommit / .vimrc
Created July 9, 2018 06:10 — forked from simonista/.vimrc
A basic .vimrc file that will serve as a good template on which to build.
" 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