Use OpenAudible.
- Install Python 3
function github { | |
if [ -d .git ]; then | |
remotes=$(git remote -v | head -1 | awk -F'git@github.com:' '{print $2}' | cut -d" " -f1) | |
if [ -z "$remotes" ]; | |
then | |
remotes=$(git remote -v | awk -F'https://github.com/' '{print $2}' | cut -d" " -f1) | |
fi | |
remote_url=$(echo $remotes | cut -d" " -f1) | |
url="https://github.com/" |
Use OpenAudible.
alias codedefault="/opt/homebrew/bin/code"
alias code="codedefault --extensions-dir $HOME/.vscode/default/extentions --user-data-dir $HOME/.vscode/default/user"
alias codedart="codedefault --extensions-dir $HOME/.vscode/dart/extentions --user-data-dir $HOME/.vscode/dart/user"
alias codejs="codedefault --extensions-dir $HOME/.vscode/js/extentions --user-data-dir $HOME/.vscode/js/user"
alias codego="codedefault --extensions-dir $HOME/.vscode/go/extentions --user-data-dir $HOME/.vscode/go/user"
alias codemd="codedefault --extensions-dir $HOME/.vscode/markdown/extentions --user-data-dir $HOME/.vscode/markdown/user"
alias codepy="codedefault --extensions-dir $HOME/.vscode/python/extentions --user-data-dir $HOME/.vscode/python/user"
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"> | |
<link href="./styles.css" rel="stylesheet"> | |
<title>Hello World!</title> | |
</head> | |
<body> |
Notion provides only three fonts to choose... I have to inject css styles to meet my ends, using Stylus extension for Edge and Nativefier for Desktop App.
.notion-page-content {
font-family: 'Kaiti SC'
}
export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}"
eval "$(brew shellenv)"
brew install pyenv
pyenv install 2.7.18
ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "${HOMEBREW_PREFIX}/bin/python"
In Terminal:
ssh-keygen -t rsa -f "id_rsa_<new account name>" -C "<email of new account>"
ssh-add ~/.ssh id_rsa_<new account name>
Edit ~/.ssh/config
:
Host
[ | |
{ | |
"key": "ctrl+shift+'", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "“$TM_SELECTED_TEXT$0”"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "editor.action.insertSnippet", |