start new:
tmux
start new with session name:
tmux new -s myname
id | name | age | |
---|---|---|---|
0 | aaron | 34 | |
1 | tina | 36 | |
2 | noah | © |
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
if not set -q AUTOENVFISH_FILE | |
set -g AUTOENVFISH_FILE ".env.fish" | |
end | |
# Automatic env loading | |
function _autoenvfish --on-variable PWD | |
if status --is-command-substitution # doesn't work with 'or', inexplicably | |
return | |
end |
function ls --description 'List contents of directory' | |
command ls -lFG $argv | |
end | |
function subl --description 'Launches sublime text in a new window' | |
command subl -n $argv | |
end | |
function code --description 'Launches visual code studio in a new window' | |
command code -n $argv |
~/.awsenv/
with the folder structure shown belowcredentials.txt
for every environment folder (see an example below)set_aws
in ~/.config/fish/functions/set_aws.fish
(see an example below)set_aws <environment>
like set_aws private
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
//Copyright (c) 2014 Tilman Schmidt (@KeyMaster_) | |
//Permission is hereby granted, free of charge, to any person obtaining a copy | |
//of this software and associated documentation files (the "Software"), to deal | |
//in the Software without restriction, including without limitation the rights | |
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
//copies of the Software, and to permit persons to whom the Software is | |
//furnished to do so, subject to the following conditions: | |
//The above copyright notice and this permission notice shall be included in |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
Here is how I'd like to group exceptions in urllib3/requests. I would argue that if anyone is catching/handling different types of errors in an HTTP request, they want to know: