less <file to path>
<some command> | grep <search input>
adduser
| { | |
| "console.log": { | |
| "prefix": "clg", | |
| "body": ["console.log($1)"] | |
| }, | |
| "template for React Function Component": { | |
| "prefix": "rf", | |
| "body": [ | |
| "import React from 'react'", | |
| "", |
| { "key": "ctrl+j", "command": "workbench.action.terminal.focus" }, | |
| { | |
| "key": "ctrl+j", | |
| "command": "workbench.action.focusActiveEditorGroup", | |
| "when": "terminalFocus" | |
| }, |
| { | |
| // https://stackoverflow.com/questions/65846228/capitalize-first-letter-of-vscode-snippet | |
| "template for mutation": { | |
| "prefix": "mu", | |
| "body": [ | |
| "input $1Input {", | |
| "\t$2", | |
| "}", | |
| "", | |
| "type $1Response {", |
| import { HttpResponseBuilder } from './HttpResponseBuilder'; | |
| import { HttpStatusCode } from './HttpStatusCode'; | |
| import { Route } from './RouteBuilder'; | |
| abstract class BaseController { | |
| protected _basePath: string; | |
| protected _routes: Route[]; | |
| constructor() { | |
| this._basePath = ''; |
| #!/bin/zsh | |
| ydDir="$HOME/yd" | |
| videoDir="$HOME/yd/videos" | |
| musicDir="$HOME/yd/music" | |
| # make yd directories if not exist | |
| if [ ! -d "$ydDir" ]; then | |
| mkdir "$HOME/yd" | |
| mkdir "$videoDir" |