Skip to content

Instantly share code, notes, and snippets.

@p10q
p10q / Blender.py
Last active February 18, 2025 16:25
Blender.py (for keyboard shortcuts)
keyconfig_version = (4, 2, 66)
keyconfig_data = \
[("Mesh",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None),
@p10q
p10q / .zshrc
Created December 27, 2023 15:40
.zshrc public
alias ls='ls -G'
alias l='CLICOLOR_FORCE=1 ls -altrh'
alias gloa='git log --all --oneline --graph --decorate'
alias gs='git status'
# history
if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=100000
SAVEHIST=100000
@p10q
p10q / settings.json
Created December 27, 2023 15:38
rectangle pro settings.json
"shortcuts" : {
"bottomCenterSixth" : {
"keyCode" : 8,
"modifierFlags" : 786432
},
"bottomHalf" : {
"keyCode" : 43,
"modifierFlags" : 786432
},
"bottomLeft" : {
@p10q
p10q / keybindings.json
Last active December 27, 2023 15:39
vs code keybindings.json
[
{
"key": "shift+cmd+j",
"command": "-workbench.action.search.toggleQueryDetails",
"when": "inSearchEditor || searchViewletFocus"
},
{
"key": "shift+cmd+j",
"command": "revealInExplorer"
},
@p10q
p10q / settings.json
Last active December 27, 2023 15:37
vs code settings.json
{
"search.exclude": {
"env": true,
"src/*/build": true,
"build": true,
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true
},
"typescript.updateImportsOnFileMove.enabled": "always",
@p10q
p10q / gist:2497bf360fa3b9ea19d66518352d6455
Last active May 16, 2022 06:59
Repos/links to browse/based on the changelog emails
# I started out looking for recent TUI/CLI tools in Node for something..
# This is queue pass #1 one of the BFS..
# Queue pass #2 will be reviewing
https://former2.com/
https://aws.github.io/copilot-cli/
https://github.com/mafintosh/why-is-node-running
https://github.com/unjs/changelogen
https://github.com/flutter/pinball
https://github.com/SaraVieira/next-fullstack-starter