Skip to content

Instantly share code, notes, and snippets.

View sebastorama's full-sized avatar

Sebastião Giacheto Ferreira Júnior sebastorama

  • Fazenda Imaculada 2
View GitHub Profile
home.file = {
".config/kitty/kitty.conf".source =
config.lib.file.mkOutOfStoreSymlink "${config.xdg.configHome}/nix-darwin/dotfiles/kitty.conf";
".config/nvim/".source =
config.lib.file.mkOutOfStoreSymlink "${config.xdg.configHome}/nix-darwin/dotfiles/nvim";
".npmrc".source = dotfiles/npmrc;
};
@sebastorama
sebastorama / capslock_mods.json
Created July 7, 2023 22:10
Caps Lock acts as another modifier, appending tmux prefix key (Ctrl+b) to some keys. For use with karabiner
{
"title": "Caps Lock Modifications",
"rules": [
{
"description": "Caps Lock Modifications",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
MY_BIRTHDAY = 89
SIMULATIONS = 100000
# true if found someone with my birthday
def run_test(num_people)
((1..num_people).filter do
rand(365) == MY_BIRTHDAY
end).length > 0
end
@sebastorama
sebastorama / p3dv5_itx.md
Last active July 5, 2021 00:37
Flight Sim

Instlaled scenery

  • USA
    • KSAN
    • KDEN
    • KMSP
    • KIAD
    • KPHX
    • KSFO
@sebastorama
sebastorama / main.md
Last active November 16, 2022 18:02
Dark Side of the Moon Analysis as on http://alum.wpi.edu/~vamend/general.htm (website unavailable)

Pink Floyd - Dark Side of the Moon

An analysis by Vincent Amendolare

Original Source

GENERAL INFORMATION

@sebastorama
sebastorama / toggle.sh
Created April 27, 2019 22:26
Launch / Toggle Script Gnome / XFCE4
#!/bin/bash
######################################################################################################
# This script will toggle minimize/activate first window with specified class
# If window not found program will be launched
#
# window class can be found with next programs:
# wmctrl -x -l
# xprop
#
#
@sebastorama
sebastorama / .gitconfig
Last active October 14, 2021 03:46
Gitconfig #git #dev
[user]
name = Sebastião Ferreira, Jr
email = sebastorama@gmail.com
username = sebastorama
[core]
editor = vim
autocrlf = true
whitespace = trailing-space
[diff]
[color]