Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Genrate keys | |
$ ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
----------------------------------------------------------- | |
# Edit ~/.ssh/config | |
Host your.hostname.com | |
Hostname github.com |
Alternative, Ambient, Dark Trap, Experimental, Glitch, Instrumental, Seapunk, Vaporwave, Wave, Witch House
Shuffle, Play, Enjoy. devplaylist.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function now() { | |
const tzoffset = new Date().getTimezoneOffset() * 60; | |
return (new Date(Date.now()/1000 - tzoffset)).getTime(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array.push(array.splice(array.indexOf(obj), 1)[0]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VID_URL=$1 | |
VID_OUT_PATH=$2 | |
START_TIME=$3 | |
DURATION_TIME=$4 | |
ffmpeg -ss $START_TIME -i $VID_URL -to $DURATION_TIME -vcodec copy -acodec copy -avoid_negative_ts make_zero $VID_OUT_PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias l='ls -lFsathrGi' | |
alias c='clear' | |
alias cp='cp -p' | |
alias cl='c;l' | |
alias ls='ls -G' | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias ....='cd ../../..' | |
alias .....='cd ../../../..' | |
alias ll='ls' |
NewerOlder