Example notebook can be found here.
This file contains hidden or 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
#!/usr/bin/env bash | |
# conda is not in PATH manually specify installed directory | |
CONDADIR="$HOME/miniconda3" | |
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$('$CONDADIR/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
eval "$__conda_setup" |
This file contains hidden or 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
#!/usr/bin/env python3 | |
"""Script is used to observe filesystem changes | |
of given directory using 'watchdog' api | |
Usage: | |
watchdir <PATH> | |
version 1.0 | |
""" | |
import logging |
This file contains hidden or 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
" ~/.config/nvim/init.vim | |
" LOAD VIM CONFIG | |
set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
let &packpath = &runtimepath | |
source ~/.vim/vimrc | |
" load plugins with vimplug | |
call plug#begin('~/.vim/plugged') |
This file contains hidden or 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
#!/usr/bin/env python | |
""" | |
ShellOut.py | |
call an external program passing the active layer as a temp file. Windows Only(?) | |
Author: | |
Rob Antonishen | |
Version: |
This file contains hidden or 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
#zenburn | |
set $bg #2c2c2e | |
set $fg #9f9f9f | |
set $hi #efef8f | |
set $ac #a0afa0 | |
set $tx #040404 | |
set $ia #8f8f8f | |
set $be #8faf9f | |
set $yw #ccdc90 | |
set $gn #88b090 |
This file contains hidden or 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
import argparse | |
import heapq | |
parser = argparse.ArgumentParser(description='Analyze bash start log for speed.') | |
parser.add_argument('filename', help='often /tmp/bashload.<PID>.log') | |
parser.add_argument('-n', default=20, help='number of results to show') | |
args = parser.parse_args() | |
filename, n = args.filename, int(args.n) | |
#add following to ~/.bashrc |
This file contains hidden or 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
class A | |
{ | |
public: | |
void handleTrackbar(int value) | |
{ | |
// real work here, can use 'this' | |
} | |
//workaround not to declare static var used inside | |
static void onTrackbar(int value, void* ptr) |
This file contains hidden or 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
City Name = "Aachen, DE" Location = "EUR|DE|GM011|AACHEN" Country = "Germany" | |
City Name = "Aalborg, DK" Location = "EUR|DK|DA007|AALBORG" Country = "Denmark" | |
City Name = "Aalesund, NO" Location = "EUR|NO|NO007|AALESUND" Country = "Norway" | |
City Name = "Aare, SE" Location = "EUR|SE|SW006|AARE" Country = "Sweden" | |
City Name = "Aarhus, DK" Location = "EUR|DK|DA001|AARHUS" Country = "Denmark" | |
City Name = "Aba, NG" Location = "AFR|NG|NI008|ABA" Country = "Nigeria" | |
City Name = "Abadan, IR" Location = "MEA|IR|IR016|ABADAN" Country = "Iran" | |
City Name = "Abakan, RU" Location = "ASI|RU|RS033|ABAKAN" Country = "Russia" | |
City Name = "Abbotsford, CA" Location = "NAM|CA|BC|ABBOTSFORD" Country = "Canada" | |
City Name = "Abeokuta, NG" Location = "AFR|NG|NI000|ABEOKUTA" Country = "Nigeria" |
NewerOlder