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
# With oh-my-zsh | |
clear | |
printf "customization under ~/.oh-my-zsh/custom/example.zsh\n" | |
alias ll="ls --color=auto -alFh " | |
alias ip="ip -c" | |
alias open="xdg-open " | |
alias pylama="pylama -o ~/.pylama.ini " | |
alias gti="git" | |
alias jm="jmaas" |
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
" e ++ff=unix | |
set fileformats=unix | |
set number | |
" set nonu | |
highlight LineNr ctermfg=darkgrey |
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 inspect | |
if __name__ == '__main__': | |
def treeClass(cls, ind=0): | |
print('-' * ind, cls.__name__) | |
for i in cls.__subclasses__(): | |
treeClass(i, ind + 3) | |
print("Hierarchy for Built-in exceptions is:") |
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
{ | |
"files.autoSave": "onFocusChange", | |
"files.eol": "\n", | |
"window.openFoldersInNewWindow": "on", | |
"workbench.tree.indent": 25, | |
"workbench.tree.renderIndentGuides": "always", | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.fontLigatures": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, |
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
package main | |
// https://tutorialedge.net/golang/parsing-json-with-golang/ | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"strconv" |
NewerOlder