Skip to content

Instantly share code, notes, and snippets.

@Geruhn
Geruhn / gist:6303666
Created August 22, 2013 06:00
CSS: Image Replacement
.ir {
border: 0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}
@Geruhn
Geruhn / gist:6291349
Last active December 21, 2015 10:19
JavaScript: jsChecker
$(document).ready(function() {
var jsChecked = document.createAttribute('class');
jsChecked.nodeValue = 'js';
document.getElementsByTagName('body')[0].setAttributeNode(jsChecked);
});

Keybase proof

I hereby claim:

  • I am geruhn on github.
  • I am geruhn (https://keybase.io/geruhn) on keybase.
  • I have a public key whose fingerprint is 65C7 F2FA 12F5 2F8C 6146 8F18 BD0A B87E FBDF 375C

To claim this, I am signing this object:

@Geruhn
Geruhn / search_shortcut.user.js
Last active August 29, 2015 13:57
Ctrl + M becomes a shortcut to the search bar of the site.
// ==UserScript==
// @name Search Shortcut
// @namespace andyperdana.de
// @version 0.3
// @description Ctrl+M is goToSearch
// @include /^https?://(www\.)?.*\..*/
// @exclude http://update001.maminfra.bs.kae.de.server.lan/updatetool/*
// @downloadUR https://gist.githubusercontent.com/Geruhn/9809298/raw/0d3fee8c6da586650572a1e28054fb6833ab41c6/search_shortcut.user.js
// @copyright 2012+, You
// @homepage https://gist.githubusercontent.com/Geruhn/9809298/raw/9577bc50e2d058986afa8b831905c23ed79973e7/search_shortcut.user.js