Skip to content

Instantly share code, notes, and snippets.

# Place a copy of this config to ~/.aerospace.toml
# After that, you can edit ~/.aerospace.toml to your liking
# You can use it to add commands that run after login to macOS user session.
# 'start-at-login' needs to be 'true' for 'after-login-command' to work
# Available commands: https://nikitabobko.github.io/AeroSpace/commands
after-login-command = []
# You can use it to add commands that run after AeroSpace startup.
# 'after-startup-command' is run after 'after-login-command'
local wezterm = require "wezterm"
local target = wezterm.target_triple:lower()
local config = {}
config.font = wezterm.font("JetBrains Mono")
config.font_size = 14.0
config.tab_bar_at_bottom = true
config.hide_tab_bar_if_only_one_tab = true
config.window_decorations = "RESIZE"
@Santiael
Santiael / settings.json
Last active June 22, 2025 17:42
microsoft-terminal-config
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "splitPane",
"split": "left"
@Santiael
Santiael / theme.json
Created June 27, 2020 20:57
Nebula Microsoft Terminal Theme
{
"name": "Nebula",
"black": "#353551",
"red": "#E34F8C",
"green": "#97F36D",
"yellow": "#F8C275",
"blue": "#C7ADFB",
"purple": "#E752A1",
"cyan": "#24E8D8",
"white": "#FBD3E1",
@Santiael
Santiael / tetris.js
Created April 8, 2020 23:15
código de tetris criado durante a live
const canvas = document.getElementById('board');
const ctx = canvas.getContext('2d');
ctx.scale(36, 36);
const piece = {
x: 3,
y: 0,
matrix: [
[0, 0, 0],
@Santiael
Santiael / AutoRedeemTwitchBonus.js
Last active December 5, 2021 14:20
Copy and paste this script into the console window of your favorite stream to automatically redeem Twitch bonus points.
function AutoRedeemTwitchBonus() {
try {
const reward = document.querySelector(".claimable-bonus__icon");
if(reward) {
reward.click();
console.log(
`Reward successfully redeemed at ${new Date().toTimeString().slice(0,8)}`
);
}
} catch (error) {