Skip to content

Instantly share code, notes, and snippets.

View tamsky's full-sized avatar

Marc Tamsky tamsky

View GitHub Profile
@sbailliez
sbailliez / vagrant-vmware-fusion-13-apple-m1-pro.md
Last active November 20, 2024 20:25
Vagrant and VMWare Fusion 13 on Apple M1 Pro

Vagrant and VMWare Fusion 13 Player on Apple M1 Pro

This document summarizes notes taken to make VMWare Fusion 13 Player work on Apple M1 Pro. It builds upon a previous (deprecated) document based on VMWare Tech Preview 21H1

VMWare Fusion 13 was released on November 17, 2022 and Fusion 13.5 on October 19, 2023

Created on: November 20, 2022

Updated on: June 1, 2024

@cemerson
cemerson / archive.org-scanned-book-downloader-bookmarklet.md
Last active June 12, 2025 10:51
Archive.org Scanned Book Downloader Bookmarklet

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

@sbailliez
sbailliez / vagrant-vmware-tech-preview-apple-m1-pro.md
Last active May 23, 2025 19:01
Vagrant and VMWare Tech Preview 21H1 on Apple M1 Pro

Vagrant and VMWare Tech Preview 21H1 on Apple M1 Pro

UPDATE November 20, 2022: VMWare Fusion 13

VMWare Fusion 13 is now released. Read Vagrant and VMWare Fusion 13 Player on Apple M1 Pro for the latest.

Summary

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated

# For those who does not care iCloud and stock mac Applications
# As well as stopping Spotlight completley
# tested on bigsur (Intel and M )
#!/bin/bash
# Reboot your Mac into Recovery Mode
# Terminal from top menu
# csrutil disable
# csrutil authenticated-root disable
@zulhfreelancer
zulhfreelancer / fix-multipass-starting-on-mac.md
Last active August 21, 2023 21:04
How to fix Multipass stuck at "Starting" state on Mac OSX?
# Step 1: see the status of VMs
$ multipass ls
Name   State          IPv4           Image
vm1    Stopped        --             Ubuntu 20.04 LTS <-- this one is OK, stopped in previous command
vm2    Starting       --             Ubuntu 20.04 LTS <-- this one is not OK, why it's stuck?



# Step 2: apply the fix
@buckleyc
buckleyc / ReMap Keys on MacOS.md
Last active June 9, 2025 12:23
ReMap Keys on MacOS

This article describes how to quickly and easily remap your MacOS keyboard to better suit your needs using only the command line (i.e., without needing to install any additional applications).

TL;DR: Enter the following command in a terminal on your Mac to remap Caps-Lock as Delete, and remap Delete as Escape:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x70000002A,"HIDKeyboardModifierMappingDst":0x700000029},{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x70000002A}]}'

But why would you want to do this? A couple of quick examples targeted at writers or developers: If you are using a modern IDE or code editor (versus 'vim' or 'emacs'), then you may wish to map the very convenient but seldom-used Caps-Lock to the oft-used Delete function. Or if you are editing using vim or emacs, then you may wish to map the Caps-Lock to a commonly-used modifier key such as Ctrl. Or maybe you are just a normal person that tends to not type many acronyms

@crojewsk
crojewsk / skl_hdadmic-howto.md
Last active February 24, 2025 14:19
Enabling HDA (dsp) plus DMIC audio configuration on Skylake and Kabylake platforms
@dannguyen
dannguyen / fetch_ghstars.md
Last active April 24, 2025 10:07
fetch_ghstars.py: quick CLI script to fetch from Github API all of a user's starred repos and save it as raw JSON and wrangled CSV

fetch_ghstars.py: quick CLI script to fetch and collate from Github API all of a user's starred repos

  • Requires Python 3.6+
  • Creates a subdir 'ghstars-USERNAME' at the current working directory
  • the raw JSON of each page request is saved as: 01.json, 02.json 0n.json
  • A flattened, filtered CSV is also created: wrangled.csv

Example usage:

@br3ndonland
br3ndonland / github-actions-notes.md
Last active May 31, 2025 11:18
Getting the Gist of GitHub Actions
@AllenDang
AllenDang / gccemacs.md
Last active July 7, 2024 09:42
Build gccemacs on MacOS catalina with gcc 10 installed by homebrew.