Skip to content

Instantly share code, notes, and snippets.

View bobziuchkovski's full-sized avatar

Bob Ziuchkovski bobziuchkovski

View GitHub Profile
@bobziuchkovski
bobziuchkovski / kern.log
Created April 18, 2013 05:09
ZoL System Hang
Apr 17 22:38:27 localhost kernel: [32390.263540] cpu#0, 2394.553 MHz
Apr 17 22:38:27 localhost kernel: [32390.263542] .nr_running : 0
Apr 17 22:38:27 localhost kernel: [32390.263544] .load : 0
Apr 17 22:38:27 localhost kernel: [32390.263545] .nr_switches : 30484778
Apr 17 22:38:27 localhost kernel: [32390.263547] .nr_load_updates : 5487724
Apr 17 22:38:27 localhost kernel: [32390.263549] .nr_uninterruptible : 9333
Apr 17 22:38:27 localhost kernel: [32390.263551] .next_balance : 4303.001901
Apr 17 22:38:27 localhost kernel: [32390.263552] .curr->pid : 0
Apr 17 22:38:27 localhost kernel: [32390.263554] .clock : 32390258.239190
Apr 17 22:38:27 localhost kernel: [32390.263556] .cpu_load[0] : 0
@bobziuchkovski
bobziuchkovski / convert_to_engine.sh
Last active October 20, 2018 03:16
Convert portable Mac OS wine tarballs to wineskin engines
#!/bin/bash
command -v 7z >/dev/null 2>&1 || ( echo "Error: '7z' binary is missing." >&2; exit 1 )
set -ex
VERSION=3.18
PACKAGE="https://dl.winehq.org/wine-builds/macosx/pool/portable-winehq-staging-${VERSION}-osx.tar.gz"
ENGINE_DIR="${HOME}/Library/Application Support/Wineskin/Engines"
ENGINE_FILE="${ENGINE_DIR}/WS9Wine${VERSION}.tar.7z"
@bobziuchkovski
bobziuchkovski / how-to-start-colima-automatically-on-macos.md
Last active August 28, 2023 17:13 — forked from fardjad/how-to-start-colima-automatically-on-macos.md
[How to start Colima automatically on macOS] Instructions for starting Colima automatically on macOS similar to Docker Desktop #macos #colima #docker
# Create launcher script
cat <<-EOF | sudo tee /usr/local/bin/colima-start-fg
#!/bin/bash

export PATH="/opt/homebrew/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

function shutdown() {
  colima stop
  exit 0