Skip to content

Instantly share code, notes, and snippets.

View fjd's full-sized avatar

Frank J. Dürring fjd

  • condero Aktiengesellschaft
  • Heilbronn, Germany
View GitHub Profile
{
"success": true,
"data": [{
"id": "52b70317-edce-411c-8ff2-3fe72d07e8c7",
"title": "Create awesome application!",
"done": false,
"fk_user": "3f8f4382-0312-11eb-adc1-0242ac120002"
}, {
"id": "52b70317-edce-411c-8ff2-3fe72d07e8c7",
"title": "Read the documentation",
@fjd
fjd / create_display.rb
Last active October 1, 2015 13:50
Acer K272HUL Driver for Mac OS X 10.11 (GM and Final) El Capitan
#!/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
@fjd
fjd / postfix-delete
Created August 20, 2014 09:16
postfix-delete.pl - Following script deletes all mail from the mailq which matches the regular expression specified as the first argument
#!/usr/bin/perl
$REGEXP = shift || die "no email-adress given (regexp-style, e.g. bl.*\@yahoo.com)!";
@data = qx</usr/sbin/postqueue -p>;
for (@data) {
if (/^(\w+)(\*|\!)?\s/) {
$queue_id = $1;
}
if($queue_id) {
@fjd
fjd / keybase.md
Last active August 29, 2015 14:02
keybase.md
{
    "body": {
        "client": {
            "name": "keybase.io node.js client",
            "version": "0.4.7"
        },
        "key": {
            "fingerprint": "ed414d72a979633ee48d8f265479bbbbab52aa2a",
            "host": "keybase.io",