Skip to content

Instantly share code, notes, and snippets.

View markholland's full-sized avatar

Mark Holland markholland

View GitHub Profile
@markholland
markholland / virtualbox.rb
Created August 6, 2021 09:25
Virtualbox 5.4.20 Homebrew
cask 'virtualbox' do
version '5.2.40,137108'
sha256 '961d4b59309f0ad1fa29018a3af2416e8cbbbb47aadffbf1bcb76599433f4498'
url "https://download.virtualbox.org/virtualbox/#{version.before_comma}/VirtualBox-#{version.before_comma}-#{version.after_comma}-OSX.dmg"
appcast 'https://download.virtualbox.org/virtualbox/LATEST.TXT'
name 'Oracle VirtualBox'
homepage 'https://www.virtualbox.org/'
conflicts_with cask: 'virtualbox-beta'
@markholland
markholland / countries.json
Created January 6, 2021 14:44 — forked from Yizack/countries.json
List of countries in english and spanish with phone and country codes in JSON. Lista de países en inglés y en español con código de teléfono y código de país en JSON.
{
"countries": [
{
"name_en": "Afghanistan",
"name_es": "Afganistán",
"dial_code": "+93",
"code": "AF"
},
{
"name_en": "Albania",
@markholland
markholland / cloudSettings
Last active February 20, 2020 09:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-02-20T09:27:19.073Z","extensionVersion":"v3.4.3"}
grep -rnw 'directory' -e "pattern"
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock
#!/bin/bash
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
git branch --track ${branch##*/} $branch
done
@markholland
markholland / Copy files
Created July 28, 2014 05:21
Copying files with progress update
rsync -ah --progress source-file destination
defaults write com.apple.Finder AppleShowAllFiles TRUE;\killall Finder;\say Files Revealed

Keybase proof

I hereby claim:

  • I am markholland on github.
  • I am markh (https://keybase.io/markh) on keybase.
  • I have a public key whose fingerprint is D3B6 D6CD 1D26 AA8B 1BBB E61C 42A2 9036 4C29 5A24

To claim this, I am signing this object: