Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin iamkvein

  • France
View GitHub Profile
@iamkvein
iamkvein / ff_tips_tweaks.md
Created Nov 1, 2012
Firefox tips and about:config tweaks
View ff_tips_tweaks.md

Tips

URL bar

  • Prefix search with # search the title of webpages
  • Prefix search with @ search the url of webpages
  • Prefix search with % search only open tabs
  • Prefix search with * search only bookmarked pages
  • Prefix search with + search only tagged pages
  • Prefix search with ^ search in browser history
@iamkvein
iamkvein / human.txt
Created Oct 27, 2012
These little files that matters
View human.txt
/* TEAM */
Title: Kévin Faber
Position: Développeur web
Site: http://foo.com
Twitter: @foo
Location: Blois, France.
/* THANKS */
Name: Leurs, noms.
@iamkvein
iamkvein / document_templates.html
Created Oct 27, 2012
HTML5 document templates
View document_templates.html
<!--
Responsive
-->
<!doctype html>
<html lang="fr-FR">
<head>
<meta charset="utf-8">
@iamkvein
iamkvein / hook_method.js
Created Mar 9, 2012
Improved way of temporarily replacing a method on an object
View hook_method.js
var install_hook_to = function(obj) {
if (obj.hook || obj.unhook) {
throw new Error('Object already has properties hook and/or unhook');
}
obj.hook = function(_meth_name, _fn, _is_async) {
var self = this,
meth_ref;