Skip to content

Instantly share code, notes, and snippets.

View nicolas-t's full-sized avatar
🦏
opensourcing

Nicolas Turlais nicolas-t

🦏
opensourcing
View GitHub Profile
@nicolas-t
nicolas-t / gist:4246011
Last active October 13, 2015 19:38
Chocolat
$(function() {
$('#demoC a').Chocolat({
displayAsALink : true,
container : $('#visContainer'),
overlayOpacity : 0.5
});
$('#demoD a').Chocolat({
displayAsALink : true,
container : $('#visContainer'),
overlayOpacity : 0.5
@nicolas-t
nicolas-t / gist:4246015
Created December 9, 2012 16:49
Chocolat
<div id="visContainer" style="width:600px; height:400px;"></div>
<p id="demoC">
<a href="series/mineral/1.jpg" rel="Title photoset 1" title="legende image 1"></a>
<a href="series/mineral/2.jpg" title="Caption image 2"></a>
<a href="series/mineral/3.jpg" title="Caption image 3"></a>
</p>
<p id="demoD">
<a href="series/inerte/1.jpg" rel="Title photoset 2" title="legende image 1"></a>
<a href="series/inerte/2.jpg" title="Caption image 2"></a>
<a href="series/inerte/3.jpg" title="Caption image 3"></a>
@nicolas-t
nicolas-t / gist:4246017
Last active October 13, 2015 19:38
Chocolat
$(function() {
$('#demoE a').Chocolat({linkImages : false});
});
@nicolas-t
nicolas-t / gist:4246018
Created December 9, 2012 16:51
Chocolat
<p id="demoE">
<a href="series/cabourg/1.jpg" rel="Title photoset" title="Caption image 1"><img src="series/cabourg/mini/1.jpg" width="100"></a>
<a href="series/cabourg/2.jpg" title="Caption image 2"><img src="series/cabourg/mini/2.jpg" width="100"></a>
</p>
@nicolas-t
nicolas-t / gist:4246025
Last active October 13, 2015 19:38
Chocolat
$(function() {
$('selector').Chocolat({
param1 : val1,
param2 : val2,
param3 : val3
});
});
@nicolas-t
nicolas-t / gist:4246028
Last active October 13, 2015 19:38
Chocolat
$(function() {
$('.chocoLinks').Chocolat({
overlayOpacity : 1,
displayAsALink : true,
overlayColor : '#000'
});
});
@nicolas-t
nicolas-t / gist:4246098
Created December 9, 2012 17:01
Chocolat Header
$(function() {
$('selector').Chocolat();
});
@nicolas-t
nicolas-t / facebook-read-status.user.js
Last active January 17, 2017 03:03
Block facebook's "read status" notification on chat. Your contact won't know if you read his message or not.
// ==UserScript==
// @name Facebook read status
// @description block facebook's "read status" notification on facebook chat.
// @namespace frs
// @include http://www.facebook.com/*
// @include https://www.facebook.com/*
// @grant none
// @version 1
// ==/UserScript==
@nicolas-t
nicolas-t / no.apple.user.js
Last active December 22, 2015 18:29
black list apple keynote words from your twitter stream
// ==UserScript==
// @name no apple
// @namespace twi-
// @include https://twitter.com/
// @include http://twitter.com/
// @version 1
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
// @grant none
// ==/UserScript==
// ==UserScript==
// @name die die die
// @namespace twi-
// @include https://twitter.com/
// @include http://twitter.com/
// @version 1
// @require http://code.jquery.com/jquery-1.11.0.min.js
// @grant none
// ==/UserScript==