Skip to content

Instantly share code, notes, and snippets.

View nhoizey's full-sized avatar
👋

Nicolas Hoizey nhoizey

👋
View GitHub Profile
#!/usr/bin/env python
#
# FlickrTouchr - a simple python script to grab all your photos from flickr,
# dump into a directory - organised into folders by set -
# along with any favourites you have saved.
#
# You can then sync the photos to an iPod touch.
#
# Version: 1.1
@nhoizey
nhoizey / index.html
Created September 13, 2011 12:47
Un affichage de numéro vert avec Microformat et mise en forme en CSS
<!-- Live demo : http://bl.ocks.org/1213727 -->
<html>
<head>
<title>Un affichage de numéro vert avec Microformat et mise en forme en CSS</title>
<link rel="stylesheet" media="all" href="numero_vert.css" type="text/css" />
</head>
<body>
<span class="vcard numerovert">
<span class="fn">Nom de la société</span>
@nhoizey
nhoizey / index.html
Created June 5, 2012 11:51
SVG: <use> of an <image>
<!-- Live demo : http://bl.ocks.org/2874547 -->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>&lt;use&gt; of an &lt;image&gt;</title>
</head>
<body>
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="board" viewBox="0 0 320 460" width="100%" height="100%" preserveAspectRatio="xMidYMid meet">
@nhoizey
nhoizey / screenshots.js
Created November 12, 2012 17:07
Take screenshots at different viewport sizes using CasperJS
/*
* Takes provided URL passed as argument and make screenshots of this page with several viewport sizes.
* These viewport sizes are arbitrary, taken from iPhone & iPad specs, modify the array as needed
*
* Usage:
* $ casperjs screenshots.js http://example.com
*/
var casper = require("casper").create();
@nhoizey
nhoizey / README.md
Last active December 12, 2015 01:28
Editor bookmarklet
@nhoizey
nhoizey / downlevel-revealed-conditional-comments.md
Last active December 13, 2015 16:58
Masquer du contenu dans IE7 (et inférieur) uniquement

Masquer du contenu dans IE version 7 et inférieures uniquement

Tentative de découvrir quelle est la meilleure méthode pour masquer du contenu dans Internet Explorer versions 7 et inférieures en utilisant les downlevel-revealed conditional comments

La syntaxe proposée par Microsoft

Source : http://msdn.microsoft.com/en-us/library/ms537512.aspx

@nhoizey
nhoizey / README.md
Last active January 13, 2016 16:19 — forked from clochix/extractsession.js
A Node.js script that generates an HTML file from your Firefox open tabs. Useful when Firefox crashes upon restoration.

A Node.js script that generates an HTML file from your Firefox open tabs. Useful when Firefox crashes upon restoration.

  1. Copy the sessionstore.js file from your Firefox profile
  2. Run node ./extractsession.js > session-`date +"%Y%m%d-%H%M"`.html to generate an HTML file with a list links for every open tab

Thanks to @clochix for the initial script.

@nhoizey
nhoizey / README.md
Created February 24, 2014 21:33
Download the Firefox OS nigthly build for Geeksphone Keon

Run download-nightly.sh to download the nightly build of Firefox OS for the Geeksphone Keon.

@nhoizey
nhoizey / README.md
Created October 18, 2014 20:58
elevato.rs

Keybase proof

I hereby claim:

  • I am nhoizey on github.
  • I am nhoizey (https://keybase.io/nhoizey) on keybase.
  • I have a public key whose fingerprint is C944 E2B5 8F97 6F74 A20B B47B 8124 747F 1FA5 3AFE

To claim this, I am signing this object: