A collection of commands that change the Arc Browser icon on macOS.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
{ | |
"$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
"name": "Vesper", | |
"author": "Rauno Freiberg", | |
"themes": [ | |
{ | |
"name": "Vesper", | |
"appearance": "dark", | |
"style": { | |
"border": "#101010", |
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}("")
package onboarding_test | |
import ( | |
"crypto/tls" | |
"log" | |
"net" | |
"net/http" | |
"testing" | |
) |
# Based on https://stackoverflow.com/a/26252993/1665539 | |
# Show all installed Java versions | |
/usr/libexec/java_home -V | |
# Select major version (if unique, otherwise specify full name e.g. 1.8.0_131) | |
set -x JAVA_HOME (/usr/libexec/java_home -v 1.8) | |
# Verify | |
java -version |
'use strict'; | |
const crypto = require('crypto'); | |
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
const IV = "5183666c72eec9e4"; // set random initialisation vector | |
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
const phrase = "who let the dogs out"; | |
var encrypt = ((val) => { |
docker run --name mysql \ | |
-d -p 9306:3306 \ | |
--restart always \ | |
-v /data/docker/mysql:/var/lib/mysql \ | |
-e MYSQL_ROOT_PASSWORD=root_pwd \ | |
-e MYSQL_USER=gitlab \ | |
-e MYSQL_PASSWORD=gitlab_db \ | |
-e MYSQL_DATABASE=gitlab \ | |
mysql:latest |
On mac:
/usr/local/bin
.