Skip to content

Instantly share code, notes, and snippets.

Oskar Truffer otruffer

  • studer + raimann ag
  • Bern, Switzerland
Block or report user

Report or block otruffer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View AoE2:HD Linux (Ubuntu) and Mac.md

AoE2:HD Works like a charm (24.05.2018)

First Install Wine

! This removes any previous versions of wine !

rm -R ~/.wine
sudo apt remove --purge wine*
wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository -y 'https://dl.winehq.org/wine-builds/ubuntu/'
View listen-and-repeat.hs
#!/usr/bin/env stack
-- stack runghc --resolver lts-7.10 --install-ghc --package fsnotify
{-# LANGUAGE OverloadedStrings #-}
import qualified Data.Text.IO as T
import System.FSNotify
import Control.Concurrent (threadDelay, Chan, forkIO, killThread)
import Control.Concurrent.Chan (newChan, readChan, getChanContents)
import Control.Monad (forever)
import System.Environment (getArgs)
View gtk2_live_wallpaper_from_reddit.rb
#!/usr/bin/env ruby
# OP
# Author : Emad Elsaid (https://github.com/blazeeboy)
# Added backup.
# Author : Oskar Truffer (https://github.com/otruffer)
#
# autochanging wallpaper from reddit images
# you have to point the script to your existing
# file you set it as a wallpaper and it will override
# it with a new image every 5 minutes.
You can’t perform that action at this time.