- Documents
robocopy "$env:USERPROFILE\Documents" "E:\windows-backup-files\Documents" /e /xa:sh /xj- Pictures
| # ripgrep | |
| rg | |
| # find replacement | |
| fd |
| # postgres | |
| alias pg-start='sudo service postgresql start' | |
| alias pg-run='sudo -u postgres psql' | |
| alias pg-stop='sudo service postgresql stop' | |
| alias pg-status='sudo service postgresql status' | |
| # more ls | |
| alias ll='ls -alF' | |
| alias la='ls -A' | |
| alias l='ls -CF' |
| .grid-columns { | |
| grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)); | |
| } |
| { | |
| "html": { | |
| "snippets": { | |
| "doc": "html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body" | |
| } | |
| } | |
| } |
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Img Upload With Dimensions</title> | |
| </head> | |
| <body> | |
| <input class="file-input-btn" type="file" name="" id=""> |
| "use strict"; | |
| // func.bind(); | |
| const person = { | |
| name: "Alex", | |
| sayHi() { | |
| return `Hey ${this.name}`; | |
| } | |
| }; |
| heroku psql -f [filename.sql] |
| "use strict"; | |
| const homework = { | |
| topic: "JS", | |
| study() { | |
| console.log(`Please write ${this.topic}.`); | |
| } | |
| }; | |
| const jsHomework = Object.create(homework); |