Skip to content

Instantly share code, notes, and snippets.

View thomet's full-sized avatar

Thomas Metzmacher thomet

View GitHub Profile
@thomet
thomet / INSTALL.md
Last active September 4, 2018 09:15 — forked from skanev/rubocop.rb
A Rubocop wrapper that checks only added/modified code

Click on the Raw button for the myrubocop.rb and copy the url.

> curl <insert raw url here> > ~/.bin/myrubocop
> chmod +x ~/.bin/myrubocop
@thomet
thomet / progress_bar.rb
Last active August 27, 2019 09:45
A simple progress bar script to load directly in ruby
# @example Usage
# require 'open-uri'
# eval(open('https://gist.githubusercontent.com/thomet/474bd082e15705fdba2906a9f4ca360a/raw/5ed83ff172a408601232d5306cf214ba3bd75775/progress_bar.rb') {|f| f.read })
#
# progress_bar(1_000) do
# # do something
# end
#
# > Progress [======================================================== 56.90 % \ (~43 seconds)
@thomet
thomet / README.md
Last active December 20, 2021 14:55

You need to have you docker host running with docker-machine as default

Install

  1. Install mycli (https://www.mycli.net/)

brew install mycli

  1. Clone plugin
@thomet
thomet / README.MD
Last active August 19, 2022 13:52
Docker for Mac without DockerDesktop

Mac Docker Setup

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/thomet/d74cc9c60a75c1ef747d63893463694e/raw/multipass-mac-docker-setup.sh)"

Note

Make sure you give multipass.app full disk access