A collection of commands that change the Arc Browser icon on macOS.
| Theme | Command |
|---|---|
| Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
| #!/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" {} \; |
| { | |
| "$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
| "name": "Vesper", | |
| "author": "Rauno Freiberg", | |
| "themes": [ | |
| { | |
| "name": "Vesper", | |
| "appearance": "dark", | |
| "style": { | |
| "border": "#101010", |
sudo nix-channel --list
sudo nix-channel --remove nixos
sudo nix-channel --add https://nixos.org/channels/nixos-XX.YY nixos
Since monterey update does not allow us to use Xcode previous than 13, let's show how to "install previous SDKs"
Swift toolchains, from https://swift.org/download/
Previous Xcode.xip, from the https://developer.apple.com
🥇 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}("")
A regularly updated collection of SVG resources
| package onboarding_test | |
| import ( | |
| "crypto/tls" | |
| "log" | |
| "net" | |
| "net/http" | |
| "testing" | |
| ) |
Disable:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Enable:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist