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
{ | |
// Editor | |
"editor.bracketPairColorization.enabled": true, | |
"editor.cursorSmoothCaretAnimation": true, | |
"editor.formatOnSave": true, | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "'CaskaydiaCove Nerd Font', 'Cascadia Code PL', 'Consolas'", | |
"editor.guides.bracketPairs": false, | |
"editor.guides.indentation": false, | |
"editor.inlayHints.enabled": false, |
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
# Theme Settings | |
Set-PoshPrompt slimfat | |
Import-Module PoShFuck | |
# Aliases | |
Set-Alias scl Set-Clipboard | |
# "Workon" redefine | |
function workon ($environment) { |
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
call plug#begin('~/AppData/Local/nvim-data/plugged') | |
" UI related | |
Plug 'joshdick/onedark.vim' | |
Plug 'iCyMind/NeoSolarized' | |
Plug 'chriskempson/base16-vim' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
" Better Visual Guide | |
Plug 'Yggdroot/indentLine' | |
" Better Search |
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 | |
import ( | |
"io" | |
"os" | |
"strings" | |
) | |
type rot13Reader struct { | |
r io.Reader |
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
# Program to find the 1's complement of a binary number | |
def check_binary(num): | |
"""Returns true if the number is binary else, False""" | |
for i in str(num): | |
if i not in ('0', '1'): return False | |
return True | |
def find_one_complement(num): | |
"""Returns one's complement of the number""" |