Skip to content

Instantly share code, notes, and snippets.

View jmeiracorbal's full-sized avatar

Jose Meira jmeiracorbal

  • Spain
  • 16:24 (UTC +01:00)
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
@jmeiracorbal
jmeiracorbal / Dockerfile
Created January 2, 2023 18:07 — forked from fhdalikhan/Dockerfile
Dockerfile for PHP 7.4 FPM Alpine
FROM php:7.4-fpm-alpine
WORKDIR /var/www/html
# Setup GD extension
RUN apk add --no-cache \
freetype \
libjpeg-turbo \
libpng \
freetype-dev \
@jmeiracorbal
jmeiracorbal / commited-message-tag-git
Created December 27, 2022 11:20
Add git tag for commit
git tag -a TAG COMMIT_SHA -m "Tagged the first commit with MY_TAG"
@jmeiracorbal
jmeiracorbal / git-tag-sync
Created December 27, 2022 11:18 — forked from cadams500/git-tag-sync
Synchronize Git Tags With Remote
git tag -l | xargs git tag -d
git fetch