- Toggle word wrap into 1 line or 2 lines - ALT+Z
- Toggle Sidebar - CTRL+b
- Make Directory - mkdir (name of directory)
```bash | |
#! /bin/bash | |
yay -S cloudflare-warp-bin | |
sudo systemctl start warp-svc | |
sleep 5 | |
warp-cli register | |
warp-cli status | |
warp-cli connect | |
sleep 5 | |
curl https://www.cloudflare.com/cdn-cgi/trace/ 2>/dev/null |grep warp |
/** | |
* codewars exercise | |
* https://www.codewars.com/kata/550498447451fbbd7600041c/train/javascript | |
*/ | |
function comp(array1, array2) { | |
//your code here | |
let result = false; | |
if (!array1 || !array2 || array1.length !== array2.length) { | |
result = false; |
// A simple Tic-Tac-Toe game implmented in javascript | |
/** | |
// function takes input in format [4,0,1,3,7] | |
// output is either winner, incomplete, draw | |
// Max number of inputs that can be given are 9 |
#!/bin/sh | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Your Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |