We install certutil and pk12util if necessary:
sudo apt install libnss3-tools
On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb directory:
ls $HOME/.pki/nssdb
| #!/bin/bash | |
| # === INFO === | |
| # NoVPN | |
| # Description: Bypass VPN tunnel for applications run through this tool. | |
| VERSION="3.0.0" | |
| # Author: KrisWebDev | |
| # Requirements: Linux with kernel > 2.6.4 (released in 2008). | |
| # This version is tested on Ubuntu 14.04 and 19.10 with bash. | |
| # Main dependencies are automatically installed. |
We install certutil and pk12util if necessary:
sudo apt install libnss3-tools
On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb directory:
ls $HOME/.pki/nssdb
| """ | |
| YouCompleteMe extra configuration for Platformio based | |
| projects. | |
| Based on the `.ycm_extra_conf.py` by @ladislas and @ajford | |
| """ | |
| import logging | |
| from pathlib import Path |
| compiler msbuild | |
| " plus msvc | |
| let &efm .= ', %f(%l) : %t%*\D%n: %m,%*[^"]%f"%*\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f|%l| %m' | |
| " plus CMake | |
| let &efm .= ', %#%f:%l %#(%m)' | |
| let &efm .= ',%E' . 'CMake Error at %f:%l (message):' " Start of multi-line error | |
| let &efm .= ',%Z' . 'Call Stack (most recent call first):' " End of multi-line error | |
| let &efm .= ',%C' . ' %m' " Continuation is message |
| alias sudo='sudo ' | |
| alias gpu='git pull' |
| [alias] | |
| co = checkout | |
| br = branch | |
| ci = commit | |
| st = status | |
| di = diff --color | |
| hist = log --pretty=format:'%C(cyan)%h%Cred%d %Creset%s%Cgreen [%cn]' --decorate --graph | |
| history = log --pretty=format:'%C(cyan)%h%Cred%d %Creset%s%Cgreen [%cn]' --decorate | |
| filelog = log -u | |
| fe = fetch |
This gist lets you keep IPython notebooks in git repositories. It tells git to ignore prompt numbers and program outputs when checking that a file has changed.
To use the script, follow the instructions given in the script's docstring.
For further details, read this blogpost.
The procedure outlined here is inspired by this answer on Stack Overflow.