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 / 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. ---"
// ==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==
  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 / leboncoin.php
Last active August 29, 2015 14:05
Receive an email when a new item pops at Leboncoin.fr
<?php
/* ******************************************************************************* */
/* Script to track search results on leboncoin */
/* Receive an email when a new item pops */
/* ******************************************************************************* */
/* ******************************************************************************* */
// - Add this cron job to check for new items every 30 minutes */
// */30 * * * * curl http://yoursite.com/leboncoin.php */
// ==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 / 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==
@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 / gist:4246098
Created December 9, 2012 17:01
Chocolat Header
$(function() {
$('selector').Chocolat();
});
@nicolas-t
nicolas-t / gist:4246028
Last active October 13, 2015 19:38
Chocolat
$(function() {
$('.chocoLinks').Chocolat({
overlayOpacity : 1,
displayAsALink : true,
overlayColor : '#000'
});
});