Skip to content

Instantly share code, notes, and snippets.

View IOIO72's full-sized avatar

Tamio Honma IOIO72

View GitHub Profile
IOIO72 /
Created July 13, 2023 08:32
Homebrew outdated casks greedy with excludes
# List of casks to exclude
excluded_casks=("autodesk-fusion360" "setapp")
# Get the list of outdated casks
outdated_casks=$(brew outdated --casks --greedy --quiet)
# Loop through the outdated casks and upgrade them, excluding the ones in the excluded_casks list
for cask in $outdated_casks; do
IOIO72 /
Last active April 27, 2022 17:13
WHDLoad ZIP to LHA conversion (The A500 mini)
find . -maxdepth 1 -name '*.zip' -exec mvexistsuffix {} zip lha \;
IOIO72 / quickcam-fusion
Created November 28, 2020 23:34
Logitech QuickCam Fusion


046d:08c1 Logitech, Inc. QuickCam Fusion

Microphone works finde on Ubuntu, bute Cheese doesn't show a picture.

Solution: Add your user to the video group and reboot.

$ sudo adduser  video
IOIO72 /
Last active May 18, 2023 06:43
NexDock Touch Configurations (

Samsung DeX

Because I'm a german user, the screenshots contain the german labels.

Set Mouse Speed


Screenshot_20201102-004756_Samsung DeX home

IOIO72 / activate.js
Last active September 1, 2020 11:03
Alfred Workflow JavaScript Snippets
// Activate App by name
function run(argv) {
const appname = argv[0];
const app = Application(appname);
IOIO72 / clock-wip.markdown
Last active March 31, 2020 00:45
Clock [WIP]
IOIO72 / index.pug
Last active March 25, 2020 23:45
Wash Hands
h1 Wash your hands
a(href="") WHO: Clean protect against infection
IOIO72 / VirtualBox prendends to be VMware
Created December 19, 2019 10:48
If you run an ISO live system on VirtualBox that checks for VMware, you can change the system information like this. (Replace "VM name" by the name of your virtual machine)
VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "VMware, Inc."
VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "VMware Virtual Platform"
IOIO72 / Group by label property
Last active October 14, 2019 16:19
An array of objects of same structure is given. Each object contains a property `label` besides other properties. Same labels are equal accross the objects. The goal is to group the objects by the labels.
// Get an array of all labels with unique entries.
const uniqueLabels = [ Set( => item.label))];
// Transform the original array of objects to an array of label groups.
const groupedApps = => ({ label, stores: apps.filter(app => app.label.includes(label)) }));