Skip to content

Instantly share code, notes, and snippets.

View felipesabino's full-sized avatar
👨‍💻

Felipe Sabino felipesabino

👨‍💻
View GitHub Profile
@felipesabino
felipesabino / replicad-tables-demo.js
Last active January 13, 2026 22:47
replicad-tables-demo.js
// workbench: https://studio.replicad.xyz/workbench#code=UEsDBAoAAAAIAAh5A1v1i531AwQAAOoLAAAHAAAAY29kZS5qc81WS2%252FjNhC%252B61cMcpI3Wj%252FS7B7sboHUMLpbLBDDDtqD4QMj0RYbRjJIuc428H%252FvkENSlJwWWPTSHGJx%252BM3HeZN5XekGXqFQ7LRU9R88b0RdZdB%252Bz9kzVyyziAwaxSotWcPhDJ9A8YMUOStmSZJbooLv2FE2S6bYs0bAawIg%252Bf53UTTlFD5ktPzMxb5spnA7NgLNWeMAH4PAQ6zKXoliLf7iU5iMLULVJ42LG%252FOd1zJ867KOvJjCjknN%252FcYvyDJFB46cKBr0wsgWkj%252FzqtF%252B7zxzzjwzUaEPqcrgEBw6D%252BDTT%252BhXghwAoxF85Xttv0lJIghd1CmpDL33nmMY%252FA%252BSEIDBzJOuURSRmpMNKu1rdDiIdmD1AIYhVen7vtroJoM3hX0bnUX2n%252BRoSMkOHI3ZHTW%252FkzLdyAz0FlEWIXYQLHQBH9gSMH99VZPUeX0QXKd2KxxukhsWJrth4esggvaTOHAWn1u7e1a19dHapnhzVBUc8Lf51gLIMM8IHIupr2IR%252FsjE5s4UUJLgx%252FJu9bBOkt2xsmyQl0woLJcU%252Bwgz16bdkrpMuyiZbksplUMpKv5Qp5txBqdtT3Z6Wzbuy8aRLJe15p5cP%252FEmL%252B%252BrpWRVEPIXbIWCp1SRXVfPkUe20P%252FFG9xHXzp%252Bh%252FKk3KW3H%252BIzfHEcasmUqw4kyeA2OmF0M%252BizvLc0sWm2XeyB1h7H%252F%252F8J69mWyGox%252F7JcrP34dO6boWOjrd2woeZTXONsNaPA7m3G21ni%252BgpLGwcxTyeD4a5WC5aXqSteTwCtOn0MzWFRhZ%
@felipesabino
felipesabino / ColorConverter.js
Created March 1, 2013 17:38
Javascript color conversion RGB, CMYK and HSV source from http://www.webtoolkit.info/javascript-color-conversion.html
/**
*
* Javascript color conversion
* http://www.webtoolkit.info/javascript-color-conversion.html
*
**/
function HSV(h, s, v) {
if (h <= 0) { h = 0; }
if (s <= 0) { s = 0; }
@felipesabino
felipesabino / learn-plover-font-script.js
Last active January 15, 2024 11:42
Learn Plover - Steno text font switch
// ==UserScript==
// @name Learn Plover - Steno text font switch
// @namespace http://tampermonkey.net/
// @version 2024-01-10
// @description Replace raw steno keys with a steno font drawing at Learn Plover! website
// @author felipesabino@
// @match https://www.openstenoproject.org/learn-plover/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openstenoproject.org
// @grant GM_addStyle
// ==/UserScript==

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@felipesabino
felipesabino / LLM.md
Created March 28, 2023 20:00 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@felipesabino
felipesabino / .aliases
Last active January 31, 2023 09:22
Bash setup
# original from: https://github.com/addyosmani/dotfiles/blob/master/.aliases
# Easier navigation: .., ..., ~ and -
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
@felipesabino
felipesabino / .gitconfig
Last active February 8, 2022 23:32
gitconfig
[alias]
com = commit -m
ck = checkout
po = push origin
mg = merge --no-ff
st = status -sb
br = ls-remote
lc = ls-files -u
ls = ls -la
a = add -A :/
@felipesabino
felipesabino / setup.sh
Last active April 5, 2018 19:52
Mac OS small enhancements
#!/bin/sh
# Sets Terminal to case insensitive
# http://blog.nickburwell.com/blog/2008/11/mac-os-x-terminal-case-insensitive-auto
echo "set completion-ignore-case On" >> ~/.inputrc
# Disables the creation of .DS_Store files on external volumes
# http://danilo.ariadoss.com/how-to-recursively-remove-ds_store-files-on-mac-os-x/
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
# Make Your Keyboard Keys Repeat Properly When Held Down
# http://lifehacker.com/5826055/make-your-keyboard-keys-repeat-properly-when-held-down-in-mac-os-x-lion
@felipesabino
felipesabino / keybase.md
Created February 8, 2017 23:29
Keybase identity proof

Keybase proof

I hereby claim:

  • I am felipesabino on github.
  • I am felipesabino (https://keybase.io/felipesabino) on keybase.
  • I have a public key ASBk0qjwacKBiWX2X1mmEEeJYkg48UN2SiTzECBiU8Gy8wo

To claim this, I am signing this object:

@felipesabino
felipesabino / .vimrc
Created December 18, 2013 17:31
.vimrc
" Make vim more useful
set nocompatible
" Set syntax highlighting options.
set t_Co=256
set background=dark
syntax on
" colorscheme badwolf
" Enabled later, after Pathogen