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
#!/usr/bin/python | |
# compare two directories | |
import os | |
import sys; sys.argv = sys.argv[1:] | |
from colorama import Fore, Style | |
if len(sys.argv) == 1 and ("help" in sys.argv or "h" in sys.argv): | |
print("usage: compare <old_dir> <new_dir>") | |
sys.exit(0) |
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
"plugins: vim-polygot cemant.vim vim-visual-multi vim-easy-align | |
" vim-abolish golden-ratio vim-surround vim-commentary vim-terminal-help | |
se nocp nohls nowrap et ts=4 sw=4 nobk ru is nu rnu ls=2 tgc noswf nowb so=1 | |
se stal=2 list lcs=tab:→\ ,space:· bg=dark gfn=sevka,agave_NF_r:h13 | |
se bs=2 sc wmnu shm=asWIcq ttimeout ttm=100 top rtp+=~/ngn_k/vim-k enc=utf-8 | |
au bufreadpost * sil! norm! g`"zv | |
au bufnew,bufnewfile,bufread *.k :se ft=k | |
au vimleave * se gcr=a:ver25 | |
au filetype python nn <cr> :w<cr>:!python %<cr> | |
au filetype k nn <cr> :w<cr>:!k %<cr> |
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
-- vim settings | |
vim.cmd([[ | |
set guifont=Iosevka\ Kalki,agave\ NF\ r:h13 | |
]]) | |
vim.o.expandtab = true | |
vim.o.tabstop = 4 | |
vim.o.shiftwidth = 4 | |
vim.o.number = true |
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
files() { | |
ls -l | wc -l | awk '{ print $1 - 1}' | |
} | |
last_status() { | |
status=$? | |
if [ $status == 0 ]; then | |
echo -e "\033[32m$status\033[0m" | |
else | |
echo -e "\033[31m$status\033[0m" |
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
#!python | |
import code | |
import sys | |
import os | |
from rich import inspect, print | |
from prompt_toolkit import PromptSession | |
from prompt_toolkit.lexers import PygmentsLexer | |
from prompt_toolkit.styles import style_from_pygments_cls |
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
KBD UAPLIN "English (India) and APLUNICODE" | |
COPYRIGHT "(c) 2021 PyGamer0" | |
COMPANY "No company" | |
LOCALENAME "en-IN" | |
LOCALEID "00004009" |
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
[buildPlans.iosevka-kalki] | |
family = "Iosevka Kalki" | |
spacing = "term" | |
serifs = "sans" | |
no-cv-ss = true | |
no-ligation = true | |
[buildPlans.iosevka-kalki.variants.design] | |
apl-form = 'enable' | |
capital-q = "straight" |
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 guifont=Iosevka\ Kalki,DejaVuSansMono\ NF,Unifont:h16 | |
set clipboard=unnamedplus | |
set updatetime=40 | |
set wildmenu |