General updates

This commit is contained in:
Nemo 2020-12-20 21:55:02 +05:30
parent 9bf34561f9
commit b26a34f522
7 changed files with 26 additions and 17 deletions

View File

@ -84,6 +84,14 @@ function light() {
# sed -i '11s$.*$"color_scheme": "Packages/Solarized Color Scheme/Solarized (light).sublime-color-scheme",$' /home/nemo/.config/sublime-text-3/Packages/User/Preferences.sublime-settings
}
# https://prefetch.net/blog/2020/07/14/decoding-json-web-tokens-jwts-from-the-linux-command-line/
jwtd() {
if [[ -x $(command -v jq) ]]; then
jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' <<< "${1}"
echo "Signature: $(echo "${1}" | awk -F'.' '{print $3}')"
fi
}
if [ -f /usr/sbin/virtualenvwrapper.sh ]; then
export WORKON_HOME=~/.virtualenvs
export VIRTUALENVWRAPPER_SCRIPT=/usr/sbin/virtualenvwrapper.sh
@ -116,6 +124,8 @@ function inspec { docker run -it --rm -v $(pwd):/share chef/inspec $@; }
function pingen { pwgen -1Avs -r=qwertyuiopasdfghjklzxcvbnm "$1"; }
function sortinplace { sort -o "$1" "$1"; }
# alias kapitan='docker run -t --rm -u $(id -u) -v $(pwd):/src:delegated deepmind/kapitan'
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.

View File

@ -4,7 +4,7 @@
"quay.io": {}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.09.7 (linux)"
"User-Agent": "Docker-Client/19.03.13-ce (linux)"
},
"credsStore": "pass"
}
}

View File

@ -1,2 +1,2 @@
DP1 00ffffffffffff001e6df1594a940700081c010380431c78eaca95a6554ea1260f5054a54b80714f818081c0a9c0b3000101010101017e4800e0a0381f4040403a00a11c21000018023a801871382d40582c4500a11c2100001e000000fc004c4720554c545241574944450a000000fd00384b1e5a18000a20202020202001ac02031cf1499004031412051f0113230907078301000065030c001000023a801871382d40582c450056512100001e011d8018711c1620582c250056512100009e011d007251d01e206e28550056512100001e8c0ad08a20e02d10103e9600565121000018000000ff003830384e545954454c3731340a00000000000000000077
DP2 00ffffffffffff004c2d2c0d42335030201c010380341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0032481e5111000a202020202020000000fc00433234463339300a2020202020000000ff004854514b3830313635300a2020017b02031ac14690041f131313230904078301000066030c00100080011d00bc52d01e20b828554009252100001e011d007251d01e206e285500092521000018011d007251d01e206e285500092521000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090
DP2 00ffffffffffff004c2d2c0d42335030201c010380341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0032481e5111000a202020202020000000fc00433234463339300a2020202020000000ff004854514b3830313635300a2020017b02031af14690041f131313230904078301000066030c00100080011d00bc52d01e20b828554009252100001e011d007251d01e206e285500092521000018011d007251d01e206e285500092521000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060

View File

@ -1,7 +1,7 @@
[user]
name = Nemo
email = me@captnemo.in
signingkey = B8963685
signingkey = 468F9102AB8BF8C959C2F9A4F94EA74A4EA9EB52
[github]
user = captn3m0

View File

@ -29,10 +29,10 @@ command=/home/nemo/.config/i3blocks/$BLOCK_NAME/$BLOCK_NAME
separator_block_width=15
markup=none
[wifi]
label=wifi:
align=left
interval=5
#[wifi]
#label=wifi:
#align=left
#interval=5
[weather]
command=curl -Ss 'https://wttr.in/Bangalore?0&T&Q' | cut -c 16- | head -2 | xargs echo
@ -100,17 +100,13 @@ interval=10
#interval=5
#signal=10
# Not really being used
#[i3-pomodoro]
#command=/home/nemo/projects/scripts/i3-pomodoro
#interval=1
[nm-vpn]
interval=20
[rofi-calendar]
interval=30
LABEL=
FONT=Monospace 10
[time]
command=date '+%H:%M'

View File

@ -14,6 +14,7 @@ set $WS4 4:
# Startup items that don't have their windows
exec --no-startup-id nitrogen --restore
exec --no-startup-id redshift-gtk
exec yubikey-touch-detector --libnotify
# Launch the VPN app, but turn it off
exec riseup-vpn-git --start-vpn off

View File

@ -1,11 +1,13 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_GLOBAL_GEM_CACHE: "true"
BUNDLE_FORCE_RUBY_PLATFORM: true
BUNDLE_DEFAULT_INSTALL_USES_PATH: "true"
BUNDLE_ALLOW_OFFLINE_INSTALL: "true"
BUNDLE_CACHE_ALL: "true"
BUNDLE_GLOBAL_GEM_CACHE: "true"
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
BUNDLE_DISABLE_SHARED_GEMS: "true"
BUNDLE_GEM__COC: "true"
BUNDLE_GEM__TEST: "false"
BUNDLE_GEM__MIT: "false"
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
#BUNDLE_DISABLE_SHARED_GEMS: "true"
BUNDLE_GEM__COC: "false"
BUNDLE_JOBS: "8"