Skip to content

Instantly share code, notes, and snippets.

View krono's full-sized avatar

Tobias Pape krono

View GitHub Profile
@krono
krono / kill_adobe.command
Last active May 14, 2026 17:49 — forked from dominicstop/kill_adobe.command
Force Kill/Terminate All Adobe-Related Process and Apps in MacOS
#!/bin/sh
adobeProcessList=(
AdobeCRDaemon
AdobeIPCBroker
com.adobe.acc.installer.v2
CCXProcess
CCLibrary
'Adobe CEF Helper'
'Core Sync'
@krono
krono / mlnx_sriov.sh
Last active April 16, 2025 11:13 — forked from koallen/mlnx_sriov.sh
Script to enable SRIOV virtual functions on Mellanox cards
#!/bin/bash
set -eu
# Hat tip to https://gist.github.com/koallen/32709a244d77a2c0f8e17ed79a4092ed
MLNX_SRIOV_DEVICES=""
[ -e /etc/default/mlnx_sriov ] && . /etc/default/mlnx_sriov
# params
# - device sys path (e.g. /sys/class/infiniband/mlx5_0)
@krono
krono / dotify-package-deps.st
Last active December 20, 2015 07:18 — forked from frankshearar/dotify-package-deps.st
Make a dot/graphviz-file from the package-dependencies in Squeak
| allDeps toDigraph |
"Avoid artifacts"
MCWorkingCopy flushObsoletePackageInfos.
PackageOrganizer default flushObsoletePackages: [:p |
p classes size = 0 and: [p methods size = 0]].
Smalltalk garbageCollect.
""
toDigraph := [:hash | | s |
s := WriteStream on: String new.
s nextPutAll: 'digraph {'; lf.