- Create a new GPG key
gpg --full-generate-key
- GPG newly created key ID and let's call it
<gpg-id>
gpg --list-secret-keys
(make-directory "~/.emacs_backups/" t) | |
(make-directory "~/.emacs_autosave/" t) | |
(setq backup-directory-alist '(("." . "~/.emacs_backups/"))) | |
(setq auto-save-file-name-transforms '((".*" "~/.emacs_autosave/" t))) | |
(setq ring-bell-function 'ignore) |
First create a virtualenv:
python -m venv --system-site-packages myenv
Install ipykernel
:
pip install --user ipykernel
Create a jupyter kernel:
python -m ipykernel install --user --name=myenv
To pass wireguard's traffic through a TCP tunnel by using udp2raw
For Arch linux, install udp2raw by pacman:
pacman -S udp2raw
For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases
By following this instruction, you will be able to deploy your Java web application to your Tomcat server from command-line just by a simple command:
mvn tomcat7:deploy
First of all, make sure you have installed tomcat server. Then you need to create a user with
manager-gui
and manager-script
privilages. You can do this by editing tomcat-users.xml
file.
On a GNU/Linux machine, it must be located under /etc/tomcat
directory. Open it by a text editor and
add this line (Don't forget to edit your-username
and your-password
).
ngrok.service
to /etc/systemd/system
directoryAt section ExecStart
replace /path/of/executable/ngrok
with full path of ngrok executable downloaded from ngrok website
Replace USER
with your user account
ngrok.yml
to /home/USER/.ngrok2
directory