View rw3iss.zsh-theme
This file contains 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
PROMPT='%{$fg_bold[green]%}%{$fg[cyan]%}%d %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY="" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
RPROMPT='$(git_prompt_status)%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[cyan]%} ✈" |
View save_screenshot_to_clipboard_and_desktop
This file contains 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
on run {input, parameters} | |
-- # Screen Shot to Clipboard and File | |
-- # Clear the clipboard so the 'repeat until isReady ...' loop works properly. | |
set the clipboard to "" | |
-- # Copy picture of selected area to the clipboard, press: ⌃⇧⌘4 | |
-- # Note that on my system I need to keystroke '$' instead of '4'. |
View .bash_aliases
This file contains 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
source ~/.profile/.bash_aliases |
View new_workspace_defaults.json
This file contains 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
{ | |
"folders": [ | |
{ | |
"name": "docs", | |
"path": "_docs" | |
}, | |
{ | |
"name": "api", | |
"path": "api" | |
}, |
View sftp.config
This file contains 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
{ | |
"name": "ryanweiss.net", | |
"host": "144.202.51.193", | |
"protocol": "sftp", | |
"port": 22, | |
"username": "rw3iss", | |
"password": "", | |
"remotePath": "/home/rw3iss/_sync/Notes", | |
"uploadOnSave": true, | |
"useTempFile": false, |
View .aliases
This file contains 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 reload="source ~/.bashrc"; | |
alias reload="exec zsh -l" | |
alias aliases="cd ~/profile && code . && cd -" | |
#alias alias=aliases | |
# Path shortcuts: | |
alias .='cd ~' | |
alias h='cd ~' | |
alias ~='cd ~' | |
alias ..='cd ..' |
View keybindings.json
This file contains 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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "cmd+ctrl+t", | |
"command": "editor.action.insertSnippet", | |
"when": "editorHasSelection", | |
"args": { | |
"langId": "javascript", | |
"name": "Wrap in try/catch" | |
} |
View getInnerError.ts
This file contains 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
// Finds the inner most | |
export const getInnerError = (e) => { | |
const _getInner = (_e) => { | |
if (!_e) return undefined; | |
if (typeof _e == 'string') return _e; | |
return _getInner(_e.error) || _getInner(_e.data) || _getInner(_e.response) || _getInner(_e.message); | |
}; | |
return _getInner(e) || 'Unknown error.'; |
View cpp.snippets.json
This file contains 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
{ | |
// Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Generate class header": { | |
"prefix": "cls", | |
"body": [ | |
"#pragma once", |
View settings.json
This file contains 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
{ | |
"window.zoomLevel": 1, | |
"window.title": "${dirty} ${folderPath} 💠 ${activeEditorMedium} 🔷 ${rootName} ", | |
"explorer.autoReveal": true, | |
"explorer.autoCollapse": false, | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"explorer.compactFolders": true, | |
"workbench.layoutControl.enabled": true, | |
"workbench.list.smoothScrolling": true, |
NewerOlder