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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jeu de la vie</title>
</head>
<style type="text/css">
#app {
font-size: 0;
}
@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==
  1. Open Conemu

  2. Open Settings -> Tasks or go to new tab button -> Setup tasks.

  3. Click + to add a new task

  4. Enter the name as Git Bash or whatever you like

  5. Task parameters:

     /icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\Users\nicolas"
    
  6. Command:

@nicolas-t
nicolas-t / after.sh
Created July 20, 2016 22:24 — forked from cluppi/after.sh
Turning SSL on for Homestead
#!/bin/sh
# Config for SSL.
echo "--- Making SSL Directory ---"
mkdir /etc/nginx/ssl
echo "--- Copying $i SSL crt and key ---"
openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com"
echo "--- Turning SSL on in nginx.conf. ---"
@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==
@nicolas-t
nicolas-t / gist:4246098
Created December 9, 2012 17:01
Chocolat Header
$(function() {
$('selector').Chocolat();
});
@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: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>