This is a quick reference guide for NVim configuration key bindings for https://github.com/ecosse3/nvim
| Key Bindings | Description |
|---|---|
<C - e> |
Open File Explorer |
Backspace |
Back to file explorer (in editor normal mode) |
| # Create a temporary directory | |
| mkdir ~/zig-temp | |
| cd ~/zig-temp | |
| # Download Zig 0.13.0 | |
| wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | |
| # Extract the archive | |
| tar -xvf zig-linux-x86_64-0.13.0.tar.xz |
| function unfollow() { | |
| const elements = document.querySelectorAll('[data-testid=cellInnerDiv]') | |
| elements.forEach((element) => { | |
| const buttons = element.querySelectorAll('[role="button"]') | |
| buttons.forEach((button) => { | |
| if (button.innerText === 'Following') { | |
| button.click() | |
| const unfollowButton = document.querySelector('[data-testid="confirmationSheetConfirm"]') | |
| unfollowButton.click() | |
| } |
This is a quick reference guide for NVim configuration key bindings for https://github.com/ecosse3/nvim
| Key Bindings | Description |
|---|---|
<C - e> |
Open File Explorer |
Backspace |
Back to file explorer (in editor normal mode) |
| alias gp="git push origin HEAD" | |
| alias gf="git fetch upstream && git fetch origin" | |
| alias gld="git log upstream/master..HEAD" | |
| alias grus="git rebase upstream/master" | |
| alias gsa0="git stash apply stash@{0}" | |
| alias gro="git reset --hard origin/master" | |
| alias gru="git reset --hard upstream/master" | |
| alias gsui="git submodule update --init" |
| cd build | |
| http-server --push-state | |
| // navigate to http://localhost:8080 |
| server { | |
| listen 443 ssl; | |
| server_name localhost.<domain>.com; | |
| access_log /var/log/nginx/<domain>.log; | |
| client_max_body_size 20M; | |
| ssl_certificate /etc/ssl/certs/<domain>.crt; | |
| ssl_certificate_key /etc/ssl/private/localhost.key; | |
| ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:E CDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA2 56:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES 128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:E CDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES 128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DS S-AES256-SHA:DHE-RSA-AES256-SHA'; | |
| ssl_protocols TLSv1.1 TLSv1.2; | |
| ssl_prefer_server_ciphers on; |
| tree -L 3 -I *node_modules |
To remove a submodule you need to:
Create GitHub repository in github and save the SSH repository url
Init git on server in code directory
git initssh-keygen -t rsa -b 4096 -C [email protected].pub to repo-name.deploy.pem| gem install bundler -v x.x.x | |
| bundle _x.x.x_ install |