Skip to content

Instantly share code, notes, and snippets.

View tquiroga's full-sized avatar

Thomas Quiroga tquiroga

View GitHub Profile
@tquiroga
tquiroga / install.sh
Last active April 3, 2025 15:24
MacInstall
#!/bin/bash
set -e
echo "🚀 Starting full Mac setup..."
# ----------------------------
# 1. Install Homebrew first
# ----------------------------
if ! command -v brew &> /dev/null; then
@BretFisher
BretFisher / docker-for-mac.md
Last active March 31, 2025 10:12
Getting a Shell in the Docker Desktop Mac VM

2021 Update: Easiest option is Justin's repo and image

Just run this from your Mac terminal and it'll drop you in a container with full permissions on the Docker VM. This also works for Docker for Windows for getting in Moby Linux VM (doesn't work for Windows Containers).

docker run -it --rm --privileged --pid=host justincormack/nsenter1

more info: https://github.com/justincormack/nsenter1


@taylorotwell
taylorotwell / gist:db67dd369b00022850b4
Last active January 23, 2025 08:49
Mac Yosemite Dev Machine Setup

XCode

  • Install XCode from App Store.
  • Open XCode and agree to terms and conditions.

XCode CLI Tools

  • xcode-select --install

Install Homebrew

@dopiaza
dopiaza / slackpost
Created September 5, 2013 12:33
Post a message to a Slack channel
#!/bin/bash
# Usage: slackpost <token> <channel> <message>
# Enter the name of your slack host here - the thing that appears in your URL:
# https://slackhost.slack.com/
slackhost=PUT_YOUR_HOST_HERE
token=$1
@neal
neal / putiodl
Created July 17, 2013 02:53
put.io cli downloader
#!/bin/bash
#
# putiodl - put.io cli downloader
#
# Copyright (C) 2013 Neal <[email protected]>
#
# Dependencies: jq, curl, wget
#
# Make sure ~/.putiodl exists and contains your put.io OAuth token.
#