Skip to content

Instantly share code, notes, and snippets.

View nanotaboada's full-sized avatar
🏠
Working from home

Nano Taboada nanotaboada

🏠
Working from home
View GitHub Profile
@nanotaboada
nanotaboada / clean-user-caches.sh
Created May 8, 2025 13:24
🧽 Selective cleaner for ~/Library/Caches/
#!/bin/bash
# ------------------------------------------------------------------------------
# 🧽 Selective cleaner for ~/Library/Caches/
#
# This script scans your user cache folder (~Library/Caches) and interactively
# offers to delete only medium or large-sized app cache folders.
#
# Features:
# - Skips small cache folders (<10MB)
@nanotaboada
nanotaboada / find-in-library.sh
Created May 8, 2025 12:45
🔍 Finds and safely deletes app leftovers in common macOS Library folders
#!/bin/bash
# ------------------------------------------------------------------------------
# 🔍 Finds and safely deletes app leftovers in common macOS Library folders
#
# This script searches macOS user and system Library directories for files or
# folders that match a given keyword (e.g., "Lorem", "Lorem Ipsum").
# It helps identify residual files from previously installed apps that may
# continue running in the background or occupy disk space.
#
@nanotaboada
nanotaboada / players.json
Created May 11, 2024 21:19
A small-sized collection of Players in valid (RFC 8259) JSON format.
[
{
"id": 1,
"firstName": "Damián",
"middleName": "Emiliano",
"lastName": "Martínez",
"dateOfBirth": "1992-09-02T00:00:00.000Z",
"squadNumber": 23,
"position": "Goalkeeper",
"abbrPosition": "GK",
@nanotaboada
nanotaboada / players-sqlite3-ddl.sql
Created May 11, 2024 21:17
SQLite3 DDL for a small-sized collection of Players.
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "players" (
"id" INTEGER,
"firstName" TEXT NOT NULL,
"middleName" TEXT,
"lastName" TEXT NOT NULL,
"dateOfBirth" TEXT,
"squadNumber" INTEGER NOT NULL,
"position" TEXT NOT NULL,
@nanotaboada
nanotaboada / hanselman-t-lang.txt
Created May 9, 2024 19:22
My "Hanselman's T" of programming languages
Java / JS / C# / Python / Go
---------------------------->
|
|
|
|
|
|
|
|
@nanotaboada
nanotaboada / songs.json
Created January 1, 2024 19:44
A mid-sized collection of Songs in valid (RFC 8259) JSON format. The rank matches Rolling Stone's list of The 500 Greatest Albums of All Time.
[
{
"album": "Highway 61 Revisited",
"artist": "Bob Dylan",
"rank": 1,
"title": "Like a Rolling Stone",
"year": 1965
},
{
"album": "Out of Our Heads",
@nanotaboada
nanotaboada / songs-sqlite3-ddl.sql
Created January 1, 2024 19:43
SQLite3 DDL for a mid-sized collection of Songs. The rank matches Rolling Stone's list of The 500 Greatest Songs of All Time.
BEGIN TRANSACTION;
DROP TABLE IF EXISTS "songs";
CREATE TABLE IF NOT EXISTS "songs" (
"rank" INTEGER NOT NULL,
"title" TEXT NOT NULL,
"artist" TEXT NOT NULL,
"album" TEXT,
"year" INTEGER NOT NULL,
PRIMARY KEY("rank")
);
@nanotaboada
nanotaboada / albums.json
Created January 1, 2024 19:39
A mid-sized collection of Albums in valid (RFC 8259) JSON format. The rank matches Rolling Stone's list of The 500 Greatest Albums of All Time.
[
{
"album": "Whats Going On",
"artist": "Marvin Gaye",
"label": "Tamla/Motown",
"rank": 1,
"year": 1971
},
{
"album": "Pet Sounds",
@nanotaboada
nanotaboada / albums-sqlite3-ddl.sql
Created January 1, 2024 19:29
SQLite 3 DDL for a mid-sized collection of Albums. The rank matches Rolling Stone's list of The 500 Greatest Albums of All Time.
BEGIN TRANSACTION;
DROP TABLE IF EXISTS "albums";
CREATE TABLE IF NOT EXISTS "albums" (
"rank" INTEGER NOT NULL,
"album" TEXT NOT NULL,
"artist" TEXT NOT NULL,
"label" TEXT NOT NULL,
"year" INTEGER NOT NULL,
PRIMARY KEY("rank")
);
@nanotaboada
nanotaboada / pre-push
Last active August 15, 2021 19:38
Git pre-push hook that prevents pushing directly to master branch
#!/bin/sh
# ---------------------------------------------------------------------------- #
# Filename: .git/hooks/pre-push #
# Description: Git pre-push hook that prevents pushing directly to master #
# branch #
# Created by: Nano Taboada <[email protected]> #
# Version: 0.1.0 #
# License: http://opensource.org/licenses/MIT #
# Last updated: Jun 30, 2015 #