Skip to content

Instantly share code, notes, and snippets.

🐙
gzuz

Klemens Gordon k9ordon

🐙
gzuz
Block or report user

Report or block k9ordon

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
@k9ordon
k9ordon / bookmarklet.html
Created Apr 5, 2017
Design Mode Bookmarklet
View bookmarklet.html
<h1><a href="javascript:!function(){document.designMode=%22on%22}();">DesignMode</a></h1>
<p>Drag this to your bookmark bar</p>
@k9ordon
k9ordon / index.html
Created May 30, 2016
super-uber-chapter-meetup homepage
View index.html
<html><head><title>super-uber-chapter-meetup</title></head><body><img src="http://media0.giphy.com/gifsu/l2Je7F2ADWJZmBrEc/giphy-glitter.gif"> <br><a href="http://karriere.at">we are hiring</a></body></html>
@k9ordon
k9ordon / gist:4762681
Created Feb 12, 2013
8tracks liked tracks to plain
View gist:4762681
$( "li.track" ).each(function( index ) {
var track = $('.t', this).text(),
artist = $('.a', this).text().replace("&","");
$(this).text(artist + ' - ' +track);
});
@k9ordon
k9ordon / gpxImport.php
Created Jul 16, 2012
exports nike+ runs to gpx
View gpxImport.php
<pre>
strt importing gpx files ...
<?php
require_once 'lib/init.php'; // init $n stuff (login)
$dir = "import";
$runs = $n->activities();
foreach($runs->activities as $a) {
View gist:582281
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// if (ie) { alert('IE ' + ie); } // else ie version is not a number;
// if(!ie) { alert ('IE is Kryptonite.'); }
var ie = (function(){
var div = document.createElement('div');
View gist:00923fe3b13525948c37
Two Mics - Bluebird
Celldweller - Through the Gates
Celldweller - Pulsar
Dj Gontran - Moby Glitch
Krubb Wenkroist - Bleach
Di Dubai - Vodka Aspirin
Di Gontran - Chemistry
AWOLNATION - Burn it Down
MuteMath - Blood Pressure
View gist:19e284a8a3a285415e5a
var init = function() {
next();
};
var next = function() {
++idx;
if(!steps[idx]) process.exit();
steps[idx](next);
};
@k9ordon
k9ordon / yosemite-comp.md
Last active Aug 29, 2015
OSX 10.10 Yosemite - Compatibility list
View yosemite-comp.md

A short list on osx yosemite compatibility from my setup

System Version: OS X 10.10 b2 (14A261i) Model Identifier: MacBookAir6,1

working

  • atom
  • safari
  • little snitch
  • bartender
@k9ordon
k9ordon / homebrew-yosemite.md
Last active Aug 29, 2015
Homebrew on OSX 10.10 Yosemite
View homebrew-yosemite.md

#Fix your homebrew installation

open

/usr/local/Library/brew.rb

replace

#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0
View click_allow.scpt
tell application "System Events"
repeat while exists (processes where name is "SecurityAgent")
tell process "SecurityAgent"
click button "Allow" of group 1 of window 1
end tell
delay 0.2
end repeat
end tell
You can’t perform that action at this time.