Skip to content

Instantly share code, notes, and snippets.

Jörg Schiller joergschiller

Block or report user

Report or block joergschiller

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 keybase.md

Keybase proof

I hereby claim:

  • I am joergschiller on github.
  • I am joergschiller (https://keybase.io/joergschiller) on keybase.
  • I have a public key ASA8qXJqp5zEHjsax6oVvfFIy1jGBDTR-DezQSUZriVEGgo

To claim this, I am signing this object:

@joergschiller
joergschiller / notification_mailer.rb
Created Oct 24, 2012
Rails emails using the recipient's locale.
View notification_mailer.rb
class NotificationMailer < ActionMailer::Base
default from: "Sender <sender@example.com>"
def mail_with_locale(headers = {}, &block)
locale = headers.delete(:locale) || I18n.default_locale
I18n.with_locale(locale) { mail_without_locale(headers, &block) }
end
alias_method_chain :mail, :locale
@joergschiller
joergschiller / canon_ufr2_driver_ubuntu.md
Created Sep 11, 2012
Canon imageRunner Advance C2025i on Ubuntu Linux
View canon_ufr2_driver_ubuntu.md
@joergschiller
joergschiller / xorg.conf
Created May 19, 2012
Fixing flicker on internal display with Nvidia Quadro 2000M on Ubuntu since driver version 290.10
View xorg.conf
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
Option "FlatPanelProperties" "Dithering=Disabled" # fixes flicker on internal display
EndSection
@joergschiller
joergschiller / a2dp_sink_ubuntu_linux.md
Created Jan 24, 2012
A2DP Sink on Ubuntu Linux with bluez (streaming bluetooth stereo audio from smartphone to pc)
View a2dp_sink_ubuntu_linux.md

Howto Enable and Use A2DP Sink on Ubuntu Linux with Bluez

  1. Add Enable=Source to /etc/bluetooth/audio.conf right after [General].

  2. Find address in form XX:XX:XX:XX:XX:XX of phone with hcitool scan.

  3. Pair and trust smartphone with sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX and sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes.

  4. Create loopback in pulseaudio connection bluetooth a2dp source with alsa sink:

You can’t perform that action at this time.