Skip to content

Instantly share code, notes, and snippets.

View lucioreyli's full-sized avatar
:shipit:
bulding something

lucio andrade lucioreyli

:shipit:
bulding something
View GitHub Profile
@FelicianoTech
FelicianoTech / rename-go-module.sh
Created April 9, 2024 18:47
A small script to rename a Go module and its import statements through out the source code.
#!/usr/bin/env bash
# Run this script as:
# ./rename-go-module.sh example.com/old/module example.com/new-module
go mod edit -module "${2}"
find . -type f -name '*.go' -exec sed -i -e "s,\"${1}/,\"${2}/,g" {} \;
find . -type f -name '*.go' -exec sed -i -e "s,\"${1}\",\"${2}\",g" {} \;
@gabe565
gabe565 / change-arc-icon.md
Last active July 4, 2026 23:52
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@bdsqqq
bdsqqq / vesper-dark.json
Last active October 29, 2025 18:45
Vesper theme for zed.dev
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Vesper",
"author": "Rauno Freiberg",
"themes": [
{
"name": "Vesper",
"appearance": "dark",
"style": {
"border": "#101010",
@markgreene74
markgreene74 / update-all-the-packages-nixos.md
Last active October 21, 2025 16:48
NixOS - update all the packages
@kenji21
kenji21 / xcode-previous-older-sdks.md
Last active December 24, 2025 10:40
Use previous/older SDKs with Xcode
@0xkarmacoma
0xkarmacoma / sending-ether-cheat-sheet.md
Last active May 1, 2025 03:17
Sending Ether Cheat Sheet

Sending Ether Cheat Sheet

TLDR

🥇 Instead of sending Ether, use the withdrawal pattern

🥈 If you really need to send Ether, use a safe wrapper like OpenZeppelin's Address.sendValue(addr, amount)

🥉 If you really need to send Ether without dependencies, use (bool success, ) = addr.call{value: amount}("")

@rssnyder
rssnyder / oracle-cloud-free-tier-guide.md
Last active August 5, 2026 15:28
oracle-cloud-free-tier-guide

how to leverage oracle's temping offers

free tier limits

The limits of the free tier say that you can create up to 4 instances.

  • x2 x86 instances (2core/1g)
  • x2 ampere instances (with 4core/24g spread between them)
  • 200GB total boot volume space across all intances (minimum of 50G per instance)

[!WARNING]

@arafathusayn
arafathusayn / Emoji-on-Ubuntu.md
Last active July 7, 2026 13:49
Guide to enable system-wide Emoji support on Ubuntu 🤩

1. Install Fonts

sudo apt install fonts-noto-color-emoji

2. Add Font Configuration

  • Open ~/.config/fontconfig/conf.d/01-emoji.conf file in an editor.
  • Copy-paste the lines below: