Skip to content

Instantly share code, notes, and snippets.

View felipesabino's full-sized avatar
👨‍💻

Felipe Sabino felipesabino

👨‍💻
View GitHub Profile
@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 / 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 / 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
@felipesabino
felipesabino / apps.md
Last active December 31, 2015 13:49
new mac os - development
  1. System Preferences -> Security -> Allow apps to be installed from anywhere
  2. iTerm2
  3. remember to install update when prompted
  4. after update, enable toolbet with paste history and jobs (sweet!)
  5. Jumpcut
  6. xcode - from App Store
  7. open xcode to install xcode components
  8. install command line tools
  9. homebrew
  10. update brew: $ brew update