Skip to content

Instantly share code, notes, and snippets.

@ramdyne
ramdyne / removing-stale-entries-from-open-with-menu.sh
Created June 2, 2018 12:18
Short steps o how to remove stale "Open With" entries from Finder menu
ramdyne ~$ cd "~/Library/Application Support"
ramdyne ~/Library/Application Support$ ls -al
drwx------ 21 ramdyne 501 714 Apr 10 2017 AddressBook
drwxr-xr-x 3 ramdyne 501 102 Nov 20 2017 Apple
drwxr-xr-x 22 ramdyne 501 748 Oct 9 2013 Apple Qmaster
drwxr-xr-x 2 ramdyne 501 68 Oct 19 2014 CloudDocs
...
drwxr-xr-x 3 ramdyne 501 102 Nov 20 2016 VLC
...
drwxr-xr-x 3 ramdyne 501 102 Mar 11 2016 org.videolan.vlc
@ramdyne
ramdyne / tiler.py
Last active December 30, 2016 23:52
from PIL import Image
from random import randint
default_image_name = "tile_default.png"
attention_image_name = "tile_attention.png"
output_image_name = "tile_output.png"
tile_size_pixels = 64