List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
In /usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
and /usr/share/pulseaudio/alsa-mixer/paths/analog-input-mic.conf
:
[Element Internal Mic Boost]
set volume to zero
.[Element Int Mic Boost]
set volume to zero
.[Element Mic Boost]
set volume
to zero
Find your source name from the following command; mine is alsa_input.pci-0000_00_1f.3.analog-stereo
$ pacmd list-sources | grep 'name:.*input'
Edit /etc/pulse/default.pa
and add the following lines, where INPUT_NAME
is name of the input source from above step:
We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
Picking the right architecture = Picking the right battles + Managing trade-offs
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)