Skip to content

Instantly share code, notes, and snippets.

@isomorphisms
isomorphisms / gist:3114ab86960656a729a6b4653001aae2
Created Nov 27, 2019
how to pull from docker hub using podman/buildah
View gist:3114ab86960656a729a6b4653001aae2
On void linux.
Under `/etc/containers/` there is a file called `registries.conf`. It is complemented by `man 5 containers-registries.conf`.
Change (for me lines 11-12) which say
[registries.search]
registries = []
@hildjj
hildjj / enableAdiumDebug.sh
Last active Sep 24, 2019
On OSX, turn on Adium debug. You can also hold down Option while launching and select "debug". The select Adium/Debug Window to get the logs. Hat tip: https://twitter.com/hildjj/status/29394893693
View enableAdiumDebug.sh
defaults write com.adiumX.adiumX AIEnableDebugLogging -bool YES
View patch-edid.rb
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten