Skip to content

Instantly share code, notes, and snippets.

View iamkvein's full-sized avatar

Kevin iamkvein

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

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 October 27, 2012 17:24
These little files that matters
/* 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 October 27, 2012 09:30
HTML5 document templates
<!--
Responsive
-->
<!doctype html>
<html lang="fr-FR">
<head>
<meta charset="utf-8">
@iamkvein
iamkvein / hook_method.js
Created March 9, 2012 14:32
Improved way of temporarily replacing a method on an object
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;