commit 4d37aedae3b767ee5c1fd9b3d913a3873cbbda4c
parent 92f5dc832e5b3a30de6127d21d79dc00b9cf5a59
Author: Bharatvaj H <bharatvaj@yahoo.com>
Date: Fri, 30 Jul 2021 21:00:43 +0530
Removed root/ folder, will be moved to separate branch
Cleaned up files
Diffstat:
7 files changed, 555 insertions(+), 119 deletions(-)
diff --git a/.bash_history b/.bash_history
@@ -0,0 +1,500 @@
+tput reset
+./firefox_decrypt.py "/Users/bharat-9052/Library/Application Support/Firefox"
+vim firefox_decrypt.py
+otool -L libmozglue.dylib
+DYLD_FALLBACK_LIBRARY_PATH=/Applications/Nightly.app/Contents/MacOS
+./firefox_decrypt.py
+./firefox_decrypt.py "/Users/bharat-9052/Library/Application Support/Firefox"
+export DYLD_FALLBACK_LIBRARY_PATH=/Applications/Nightly.app/Contents/MacOS
+./firefox_decrypt.py "/Users/bharat-9052/Library/Application Support/Firefox"
+DYLD_FALLBACK_LIBRARY_PATH=/Applications/Nightly.app/Contents/MacOS ./firefox_decrypt.py "/Users/bharat-9052/Library/Application Support/Firefox"
+install_name_tool -id "@executable_path/libmozglue.dylib" libmozglue.dylib
+otool -L libmozglue.dylib
+install_name_tool -id "/Applications/Nightly.app/Contents/MacOS/libmozglue.dylib" libmozglue.dylib
+otool -L libmozglue.dylib
+./firefox_decrypt.py .
+otool libnss3.dylib
+otool -L libnss3.dylib
+install_name_tool --help
+install_name_tool -change "@executable_path/libmozglue.dylib" "/Applications/Nightly.app/Contents/MacOS/ibmozglue.dylib" libnss3.dylib
+otool -L libnss3.dylib
+install_name_tool -change "/Applications/Nightly.app/Contents/MacOS/ibmozglue.dylib" "/Applications/Nightly.app/Contents/MacOS/libmozglue.dylib" libnss3.dylib
+otool -L libnss3.dylib
+./firefox_decrypt.py
+./firefox_decrypt.py
+vim /Users/bharat-9052/Library/Application Support/Firefox/Profiles/d4h54bl1.default-nightly
+vim "/Users/bharat-9052/Library/Application Support/Firefox/Profiles/d4h54bl1.default-nightly"
+vim firefox_decrypt.py
+vim firefox_decrypt.py
+./firefox_decrypt.py
+./firefox_decrypt.py .
+./firefox_decrypt.py "/Applications/Nightly.app/Contents/MacOS"
+./firefox_decrypt.py
+./firefox_decrypt.py
+./firefox_decrypt.py --format pass
+./firefox_decrypt.py --list
+brew install nss
+brew install libnss3
+ls
+ls
+./firefox_decrypt.py
+LD_LIBRARY_PATH=/Applications/Nightly.app/Contents/MacOS
+./firefox_decrypt.py
+ls
+find myvirtualenv -type l -delete
+ls
+./firefox_decrypt.py
+cd /Applications/Nightly.app/Contents/MacOS
+ls
+./firefox_decrypt.py --list
+./firefox_decrypt.py
+./firefox_decrypt.py 1
+./firefox_decrypt.py
+./firefox_decrypt.py > passwords
+vim passwords
+mv passwords ~/
+ls
+mv firefox_decrypt.py ~/
+cd
+ls
+clear
+ls
+cd des
+vim firefox_decrypt
+vim firefox_decrypt.py
+mv firefox_decrypt.py firefox_decrypt/
+ls
+ls
+cd ../
+ls
+vim passwords
+pass update --help
+pass update
+pass show
+pass github/
+pass personal
+pass personal/github
+pass --help
+man pass
+q
+cd graphics-core/
+nvim .
+cd
+cd Startwith-Web/
+nvim .
+man pass
+pass edit github
+joplin
+brew install pass-otp
+pass -otp
+pass otp
+pass --help
+cd firefox_decrypt/
+./firefox_decrypt.py --pass
+./firefox_decrypt.py --list
+./firefox_decrypt.py -f pass > passwords
+ls
+vim passwords
+./firefox_decrypt.py -f pass --help
+pass show
+pass show about.me/bharatvaj@yahoo.com
+pass show zenmate.com
+pass show web/about.me/bharatvaj@yahoo.com
+pass show web/about.me/bharatvaj@yahoo.com
+ls
+cd .password-store/
+ls
+cd personal/
+ls
+cd ../
+ls
+cd web/
+ls
+cd ../
+ls
+cd ..
+ls
+clear
+ls
+pass otp
+brew install pinentry
+pinentry
+pinentry
+pinentry --help
+gpg-agent
+browserpass
+joplin
+joplin
+joplin
+ls
+pass show
+pass show | grep github
+cd .password-store/
+ls
+cd personal/
+ls
+cd ../
+rm -rf personal/
+cd ../
+pass show | grep github
+pass show web/github.com
+pass show web/github.com bharatvaj@yahoo.com
+pass show web/github.com/bharatvaj@yahoo.com
+pass show web/github.com/bharatvaj@yahoo.com
+clear
+pass show web/github.com/bharatvaj@yahoo.com
+pass show web/github.com/lagmcfag
+clear
+ls
+cd firefox_decrypt/
+ls
+git diff
+ls
+vim firefox_decrypt.py
+git add firefox_decrypt.py
+git remote set-url origin https://github.com/bharatvaj/firefox_decrypt
+git remote -v
+git checkout -b mac_nightly_path
+git add firefox_decrypt.py
+git diff
+git commit -m "Added path for nightly in darwin search path"
+git log
+git commit --amend
+git config user.name "Bharatvaj H"
+git config user.email "bharatvaj@yahoo.com"
+git commit --amend
+git commit --amend --help
+git commit --amend --author
+git commit --amend --author "Bharatvaj H<bharatvaj@yahoo.com>"
+git log
+ls
+git diff HEAD master
+git push -u origin mac_nightly_path
+ls
+git checkout master
+./firefox_decrypt.py
+vim firefox_decrypt.py
+ls
+vim passwords
+rm passwords
+rm -rf firefox_decrypt/
+dig
+pg
+po
+oathtool --totp=SHA128 --base32 ${wazirxkey}
+zbarimg Desktop/Screenshot\ 2021-07-30\ at\ 7.13.05\ PM.png
+pass otp insert
+pass show
+pass show otp
+pass otp list
+pass otp
+pass otp show
+pass otp -c
+pass otp --help
+cd .password-store/
+ls
+cd ADSelfService\ Plus/
+ls
+cd ../
+ls
+cd Was
+cd WazirX/
+ls
+cd ../
+ls
+cd ../
+cp .config/joplin/tmp/975067dc3ff34f3b9669129d8ce206a3.md ./
+vim 975067dc3ff34f3b9669129d8ce206a3.md
+vim 975067dc3ff34f3b9669129d8ce206a3.md
+cd
+cd .config/joplin/
+ls
+cd resources/
+ls
+cp e8e3d66fd3dd4e54b6f688659189a9d1.png ~/
+cd
+open .
+zbarimg e8e3d66fd3dd4e54b6f688659189a9d1.png
+joplin
+cd .config/joplin/resources/
+open .
+joplin
+cd Desktop/
+open .
+pass otp -c WazirX
+pass otp -c WazirX/bharatvaj@yahoo.com
+pass otp -c WazirX/bharatvaj@yahoo.com
+pass otp -c WazirX/bharatvaj@yahoo.com
+rm -rf .password-store/WazirX/
+cd Desktop/
+zbarimg Screenshot\ 2021-07-30\ at\ 7.21.37\ PM.png
+pass otp insert
+pass otp WazirX/bharatvaj@yahoo.com
+zbarimg Screenshot\ 2021-07-30\ at\ 7.21.37\ PM.png
+ls
+clear
+pass otp
+pass otp WazirX
+pass otp --help
+pass otp insert
+pass otp insert
+pass otp insert
+pass otp insert
+cd .password-store/
+git log
+cd ../
+ls
+cd .password-store/
+ls
+cd ADSelfService\ Plus/
+ls
+cd ../
+ls
+cd ../
+joplin
+ls
+vim 975067dc3ff34f3b9669129d8ce206a3.md
+rm 975067dc3ff34f3b9669129d8ce206a3.md
+rm e8e3d66fd3dd4e54b6f688659189a9d1.png
+clear
+ls
+echo ${XDG_DATA_HOME}
+xdg
+xdg-open
+vim .bashrc
+vim .profile
+clear
+ls
+gpg --list-secret-keys
+clear
+ls
+ls
+wcalc
+gpg --list-secret-keys
+gpg --export-secret-keys "Bharatvaj H"
+gpg --export-secret-keys "Bharatvaj H" > secret.gpg
+du -h secret.gpg
+cat secret.gpg | wc
+cat secret.gpg | wc -l
+cat secret.gpg | wc -h
+wc -h
+cat secret.gpg | wc -c
+sl
+ls
+cd ..
+nvim .bash_profile
+nvim .bash_profile
+wasmtime
+which wasmti
+which wasmtitme
+which wasmtime
+echo ${EMSDK}
+vim .bashrc
+cd dotfiles/
+ls
+cp -r .git ../
+cd ..
+nvim .
+nvim .
+cd .personal/
+ls
+vim config
+vim preferences
+vim preferences
+vim preferences
+d ../
+cd ..
+nvim ..
+nvim .
+nvim .
+cd .personal/
+ls
+vim preferences
+vim ../
+nvim preferences
+ls
+cd openfortivpn/
+cd openfortivpn/
+ls -al
+cd openfortivpn/
+ls
+vim openfortivpn/
+sudo su
+cd openfortivpn/
+ls
+vim config
+ls
+cd ./..
+ls
+vim aliases
+ls
+vim config
+s
+vim key
+cd ..
+ls
+cd Feature/
+ls
+cd ../
+ls
+vim gnupg.7z
+ls
+cat secret.gpg | wc -c
+$(( $(cat secret.gpg | wc -c) / 8 )
+$(( $(cat secret.gpg | wc -c) / 8 ))
+brew install cmake enchant gstreamermm gtk+3 libnotify libsecret libsoup webp
+git clone git@github.com:hunspell/hyphen.git
+cd hyphen
+autoreconf -fvi
+./configure
+make -j12
+make install
+cd ..
+git clone https://github.com/hunspell/hyphen.git
+git clone https://github.com/hunspell/hyphen
+cd
+git clone https://github.com/hunspell/hyphen
+cd hyphen
+autoreconf -fvi
+./configure
+make -j12
+make install
+cd ..
+# Build webkitgtk-2
+wget https://webkitgtk.org/releases/webkitgtk-2.16.5.tar.xz
+tar xf webkitgtk-2.16.5.tar.xz
+cd webkitgtk-2.16.5
+export CPPFLAGS="-I/opt/local/include"
+export LDFLAGS="-L/opt/local/lib"
+export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+make -j`nproc` # fails at this point
+sudo make install
+brew icu-uc
+brew install icu-uc
+brew icu4c
+brew install icu4c
+brew install icu
+ls -l /usr/local/opt/icu4c/include/
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+ export LDFLAGS="-L/usr/local/opt/icu4c/lib"
+ export CPPFLAGS="-I/usr/local/opt/icu4c/include"
+ export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+ls
+rm CMakeCache.txt
+rm -rf CMakeFiles/
+rm cmake_install.cmake
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=TRUE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+cmake -DPORT=GTK -DENABLE_GEOLOCATION=FALSE -DENABLE_OPENGL=FALSE -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release
+make
+make -j23 install
+brew install icu4c
+brew link icu4c --force
+ brew install gstreamer
+ brew install gstreamer-video
+ brew install gst-plugins-video
+ brew install gst-plugins-good
+ brew install gst-plugins-base
+git clone https://git.suckless.org/surf
+cd surf/
+ls
+git branch
+git fetch
+git branch
+open .
+ls
+cd ../
+ls
+cd webkitgtk-2.16.5
+ls
+joplin
+ls
+clear
+ls
+git diff
+git diff .bashrc .profile .bash_profile .config/
+git add .bash_profile .profile .bashrc
+ls
+cd .config/
+ls
+cd nvim/
+ls
+vim init.vim
+d shada/
+ls
+cd shada/
+ls
+vim main.shada
+cd. ./
+cd ../
+vim .gitignore
+git add .
+git status
+git add .gitignore
+git add .gitignore -f
+git add init.vim -f
+ls
+git status
+cd ../
+ls
+cd joplin/
+ls
+vim settings.json
+ls
+vim settings.json
+pass insert
+pass insert other/joplin-dropbox-token
+clear
+ls
+cd ../
+cd
+cd .password-store/
+ls
+cd other/
+ls
+vim joplin-dropbox-token.gpg
+clear
+ls
+cd ../
+ls
+clear
+ls
+cd ./..
+ls
+gpg
+gpg --help
+gpg --list
+gpg --list-keys
+ls
+cd .config/gnupg/
+ls
+cd private-keys-v1.d/
+ls
+vim 2972AC123DD5EC4EE5974BFF5BDAF737AEEA98C3.key
+fingerprin
+gnupg
+gpg finferprint
+gpg fingerprint
+gpg --fingerprint
+gpg --list-key
+clear
+gpg --list-secret-keys
+vim .bashrc
+vim .profile
+cd .config/
+;s
+ls
+cd ..
+mv .gnupg .config/gnupg
+cleear
+clear
+vim .bashrc
+vim .profile
+adb usb
+adb shell
+adb push secret.gpg /sdcard/
+rm secret.gpg
+rm gnupg.7z
diff --git a/.bash_profile b/.bash_profile
@@ -1,10 +1,9 @@
-#
-# ~/.bash_profile
-#
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
-export BASH_SILENCE_DEPRECATION_WARNING=1
-[[ -f ~/.bashrc ]] && . ~/.bashrc
-[[ -f ~/.profile ]] && . ~/.profile
-if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
- exec startx -logverbose 1
-fi
+[ -f ~/.profile ] && . ~/.profile
+[ -f ~/.personal/config ] && . ~/.personal/config
+[ -f ~/.bashrc ] && . ~/.bashrc
+
+# Zoho
+[ -f ~/.zoho/zoho ] && . ~/.zoho/zoho
diff --git a/.bashrc b/.bashrc
@@ -2,14 +2,11 @@
# ~/.bashrc
#
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-source ~/.git-completion.bash
-alias ls='ls -G'
-export GREP_OPTIONS='--color=auto'
-export GREP_COLOR='1;35;40'
+PATH_EXPORTS=( "${ESSENTIAL_PATH_EXPORTS[@]}" "${OTHER_PATH_EXPORTS[@]}" )
+
+# Include one by one even if it affects performance
+# If something fails, atleast others will be added to path
+for PATH_EXPORT in ${PATH_EXPORTS}; do
+ export PATH="$WASMTIME_HOME/bin:$PATH"
+done
-parse_git_branch(){
- git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
-}
-export PS1="\[\033[33m\]\$(parse_git_branch)\[\033[00m\] \w \$ "
diff --git a/.profile b/.profile
diff --git a/.vimrc b/.vimrc
@@ -1,3 +1,43 @@
set number
set mouse=a
syntax on
+set exrc
+
+" Search
+set hlsearch
+set incsearch
+
+" Anti-tab
+filetype plugin indent on
+set tabstop=4
+set shiftwidth=4
+set expandtab
+
+" Netrw customization
+let g:netrw_banner = 0
+
+
+" Plugin Management
+call plug#begin('~/.vim/plugged')
+ Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
+ Plug 'junegunn/fzf.vim'
+ Plug 'cdelledonne/vim-cmake'
+ Plug 'editorconfig/editorconfig-vim'
+ Plug 'vim-airline/vim-airline'
+ Plug 'lifepillar/vim-solarized8'
+ Plug 'tpope/vim-fugitive'
+ Plug 'airblade/vim-gitgutter'
+call plug#end()
+
+
+" Plugin Keybindings
+nmap <Leader>f :GFiles<CR>
+nmap <Leader>F :Files<CR>
+nnoremap <leader>t :tabnew<cr>
+
+" Theming
+highlight GitGutterAdd ctermfg=green
+highlight GitGutterChange ctermfg=yellow
+highlight GitGutterDelete ctermfg=red
+highlight GitGutterChangeDelete ctermfg=yellow
+
diff --git a/root/.Xdefaults b/root/.Xdefaults
@@ -1,90 +0,0 @@
-!-------------------------------------------------------------------------------
-! Xft settings
-!-------------------------------------------------------------------------------
-Xft.autohint: 0
-Xft.dpi: 96
-Xft.antialias: true
-Xft.rgba: rgb
-Xft.hinting: true
-Xft.hintstyle: hintslight
-Xft.lcdfilter: lcddefault
-
-!-------------------------------------------------------------------------------
-! URxvt settings
-! Colours lifted from Solarized (http://ethanschoonover.com/solarized)
-! More info at:
-! http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod
-!-------------------------------------------------------------------------------
-
-URxvt.depth: 32
-URxvt.geometry: 70x20
-URxvt*transparent: false
-!URxvt*shading: 30
-URxvt*tintColor: #ffffff
-URxvt*blurRadius: 0
-!URxvt.urgentOnBell: false
-URxvt.visualBell: false
-URxvt.loginShell: true
-URxvt.internalBorder: 6
-URxvt.lineSpace: 0
-
-! Fonts
-!URxvt.font: xft:Noto:pixelsize=14
-
-! Scrollbar
-URxvt.scrollStyle: rxvt
-URxvt.scrollBar: false
-
-! Perl extensions
-URxvt.perl-ext-common: default,matcher
-URxvt.matcher.button: 1
-URxvt.url-launcher: surf
-
-! Cursor
-URxvt.cursorBlink: true
-URxv.cursorUnderlinurxvtc: false
-
-! Pointer
-URxvt.pointerBlank: true
-
-URxvt.keysym.C-N: exec urxvtc
-
-! special
-#*.foreground: #d0d0d0
-#*.background: rgba:0000/0000/0000/f000
-*.cursorColor: #d0d0d0
-URxvt.foreground: #4D4D4C
-URxvt.background: #FFFFFF
-
-! black
-URxvt.color0: #EDEDED
-URxvt.color8: #969694
-
-! red
-URxvt.color1: #D7005F
-URxvt.color9: #D7005F
-
-! green
-URxvt.color2: #718C00
-URxvt.color10: #718C00
-
-! yellow / orange
-URxvt.color3: #D75F00
-URxvt.color11: #D75F00
-
-! blue
-
-URxvt.color4: #4271AE
-URxvt.color12: #4271AE
-
-! magenta
-URxvt.color5: #8959A8
-URxvt.color13: #8959A8
-
-! cyan
-URxvt.color6: #3E999F
-URxvt.color14: #3E999F
-
-! white
-URxvt.color7: #4D4D4C
-URxvt.color15: #F5F5F5
diff --git a/root/.bashrc b/root/.bashrc
@@ -1,10 +0,0 @@
-#
-# ~/.bashrc
-#
-
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-alias ls='ls --color=auto'
-alias grep="grep --color=auto"
-
-export PS1="\w # "