Skip to content

Instantly share code, notes, and snippets.

View nhoizey's full-sized avatar
👋

Nicolas Hoizey nhoizey

👋
View GitHub Profile

Chrome

Disable touch history back/forward

defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
@nhoizey
nhoizey / README.md
Created September 23, 2016 20:19
Restore a Firefox session backed up with to Save My Tabs

Save My Tabs is a great Firefox extension, because Firefox is great, but crashes a lot (at least mine, with hundreds of tabs).

Unfortunately, Save My Tabs doesn't have any restoration function, so you can copy/paste all URLs yourself, or try this script.

This simple Shell script for Mac OS X will launch Firefox with all URLs present in the backup file you pass as parameter:

./restore-savemytabs.sh opentabs--20160913-1900.txt
@nhoizey
nhoizey / README.md
Last active September 5, 2016 22:10
Export de forums SPIP pour import dans Disqus

ATTENTION, les articles sont supposés être des redirections vers les nouvelles URL des contenus dans cette version du squelette. Modifiez le contenu de <link> si ce n'est pas le cas.

Déposer les deux squelettes à la racine et appeler la page /?page=disqus-export

@nhoizey
nhoizey / esviji.css
Last active January 7, 2016 15:00
CSS generated from Sass source in https://github.com/nhoizey/esviji
/* ********************************************************************
* Some variables
* ********************************************************************/
/* ********************************************************************
* Mandatory font face
* ********************************************************************/
@font-face {
font-family: "SansitaOneRegular";
src: url("font/sansitaone-webfont.woff2") format("woff2"), url("font/sansitaone-webfont.woff") format("woff");
font-weight: normal;
@nhoizey
nhoizey / README.md
Last active October 27, 2015 19:00
Jekyll pagination

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:

@nhoizey
nhoizey / README.md
Created October 18, 2014 20:58
elevato.rs
@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
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 / 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