Skip to content

Instantly share code, notes, and snippets.

View Tunglies's full-sized avatar
🐟
Tired. Didn't love and didn’t work.

Tunglies Tunglies

🐟
Tired. Didn't love and didn’t work.
  • China
  • 21:28 (UTC -12:00)
View GitHub Profile
@santaklouse
santaklouse / CrossOver.sh
Last active August 20, 2025 11:16
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@wontoncc
wontoncc / balloontip.py
Last active November 18, 2024 01:04
Balloon tip module, Python, using win32gui.
# -- coding: utf-8 --
from win32api import *
from win32gui import *
import win32con
import sys, os
import struct
import time
class WindowsBalloonTip: