Skip to content

Instantly share code, notes, and snippets.

View rsaddey's full-sized avatar

Reiner Saddey rsaddey

View GitHub Profile
@jmeiracorbal
jmeiracorbal / restore-docker-desktop-from-orbstack
Created October 9, 2025 14:40
Uninstall OrbStack from macOS and comeback to Docker Desktop
# unistall orbstack first
# if you install OrbStack, this app uses the same commands and replaces docker symlinks,
# if you uninstall it, the docker commands doesn't work. You need to restore the symlinks.
# remove old links orbstack
sudo rm -f /usr/local/bin/docker /usr/local/bin/docker-compose /usr/local/bin/docker-buildx /usr/local/bin/docker-credential-desktop
# create new links to docker desktop
sudo ln -s /Applications/Docker.app/Contents/Resources/bin/docker /usr/local/bin/docker
@astromechza
astromechza / cpueater.java
Last active January 4, 2023 09:58
Simple java program for running multi-threaded cpu stress test.
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.atomic.LongAdder;
public class Main
{
public static void main(String[] args) throws InterruptedException
{
if (args.length != 1)