Skip to content

Instantly share code, notes, and snippets.

@aderchox
aderchox / gist:33863f866a24c66dec3ca2fde3699abc
Last active Jun 19, 2020
A summary of the most useful nano shortcuts
View gist:33863f866a24c66dec3ca2fde3699abc
a quick summary of the shortcuts one may need most when using nano:
1. comment multiple lines: `esc+3`
2. delete multiple lines: `ctrl+k`(it basically cuts those lines but there's no difference if you don't paste them afterwards) ;-)
3. paste lines: `ctrl+u`("u" stands for "uncut")
4. to search for something: `ctrl+w` then type the word and hit enter
@aderchox
aderchox / virtualenvwrapper cheatsheet
Last active Apr 22, 2020
virtualenvwrapper's cheatsheet
View virtualenvwrapper cheatsheet
installation:
step#1:
pip3 install virtualenvwrapper
step#2:
add these two lines to your shell's startup file (e.g. .bashrc on bash):
source $(which virtualenvwrapper.sh)
export WORKON_HOME="<path_where_you_want_to_keep_the_files_and_packages_of_your_environments>"
create new virtual environment:
mkvirtualenv <name>
@aderchox
aderchox / cloudSettings
Last active Jul 13, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-07-13T13:02:03.541Z","extensionVersion":"v3.4.3"}
You can’t perform that action at this time.