Skip to content

Instantly share code, notes, and snippets.

Thomas Fuchs madrobby

Block or report user

Report or block madrobby

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
@dr-dimitru
dr-dimitru / BroadcomBluetoothHostControllerUSBTransport
Created Jun 22, 2014
Mac OS X Mavericks 10.9 bluetooth adapter driver reset
View BroadcomBluetoothHostControllerUSBTransport
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
View stuff.markdown

I'm getting rid of some stuff, who wants it? Pickup in Vienna's 6th district. Email thomas@fesch.at if you want something! All of the stuff is well cared-for.

Our car! Fotos: http://gallery.me.com/madrobby/100017

Household stuff

  • Miele washing machine W1749 Softronic. (Very fancy, has a tank for liquid detergent so you don't need to fill in detergent every time you wash). 3 years old, €850,- (original price €1200,-)
@tvandervossen
tvandervossen / gist:1502845
Created Dec 20, 2011
Encode WebM with -aspect to make sure Firefox displays it with the correct aspect ratio
View gist:1502845
Commands:
$ ffmpeg -i source.mp4 -s 1280x720 -vpre libvpx-720p -b 3900k -pass 1 -an -f webm -aspect 16:9 -y output.webm
$ ffmpeg -i source.mp4 -s 1280x720 -vpre libvpx-720p -b 3900k -pass 2 -acodec libvorbis -ab 100k -f webm -aspect 16:9 -y output.webm
Assumes the following preset (in /usr/local/share/ffmpeg/libvpx-720p.ffpreset):
vcodec=libvpx
g=120
rc_lookahead=16
@madrobby
madrobby / forceScrollbars.coffee
Created Sep 13, 2011
Get Safari (Lion) to hopefully always indicate & show scrollbars correctly
View forceScrollbars.coffee
# CoffeeScript source
$.fn.forceScrollbars = ->
@css position: 'static'
@[0].offsetHeight if @length > 0
@css position: 'relative'
@tjogin
tjogin / README.md
Created Sep 5, 2011 — forked from rodrigorm/README.md
Configuration file to use PHP with Ruby rack
View README.md

Installation

First you need php-cgi, i used brew with Formula below:

$ curl -O https://raw.github.com/gist/1194269/7ae1709453a8a19ce9c030bf41d544dd08d96d85/php.rb
$ mv php.rb `brew --prefix`/Library/Formula
$ brew install php --with-mysql

Second, install this ruby gems:

View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Thomas Fuchs <http://mir.aculo.us/>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@jed
jed / tweetToHTML.js
Created Apr 21, 2011
turning a tweet into html
View tweetToHTML.js
function htmlify( tweet ) {
return tweet.replace(
/[@]+([A-Za-z0-9-_]+)|[#]+([A-Za-z0-9-_]+)|(\b(?:https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,
function( match, user, tag, url ) {
return 0,
user ? "@" + user.link( "http://twitter.com/" + user ) :
tag ? "#" + tag.link( "http://search.twitter.com/search?q=%23" + tag ) :
url ? url.split( "//" )[ 1 ].link( url ) : ""
})
}
You can’t perform that action at this time.