This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Beginning of 101 Widget --> | |
<link media="all" type="text/css" rel="stylesheet" href="//2c820ecf6293c424ffcd-16bd6b31c127d56425d63d7b446e7b4f.r87.cf1.rackcdn.com/widget.v8.css"> | |
<div id="widget-101"> | |
<h2 class="widget-101-title">MTL Blog <br/>is ready <br/>for Quebec’s <br/>independance</h2> | |
<div class="widget-101-inner"> | |
<a href="#" class="widget-101-close"></a> | |
<div class="widget-101-text">Now click on something<br/>and make me 'ben contente'</div> | |
<div class="widget-101-pauline"></div> | |
<div class="widget-101-form-select"> | |
<select name="lang" class="widget-101-select"><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option><option value="fr">---- Français ----</option></select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
/* | |
* Okay, the project is LIFE.php so we want to skip all the boring pre-life part. | |
* Thanks to php, we can just do a 5 billion years sleep. | |
* | |
*/ | |
define('YEAR',3600*24*365); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
//ON INCLUS TOUTES LES VARIABLES NECESSAIRE A BIXI | |
//require_once ("../../path.inc.php"); | |
//////////////////////////////////////////////////////////////// | |
//ini_set(allow_url_fopen, 1); | |
function getAllStationsWithoutId(){ | |
$in="https://profil.bixi.ca/data/bikeStations.xml"; | |
$content= file_get_contents($in); | |
$xml=new SimpleXMLElement($content); | |
//Cr�ation d un tableau tres accessible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function winClose() | |
{ | |
window.top.opener=null; | |
window.close(); | |
} | |
function closeWindow() | |
{ | |
window.open('','_parent',''); | |
window.close(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* | |
* Forward tweets to SMS in realtime | |
* | |
* | |
*/ | |
var TWILIO_ACCOUNT_SID = ''; //Twilio Account SID | |
var TWILIO_AUTH_TOKEN = ''; //Twilio AUTH Token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header('Content-type: audio/mpeg;'); | |
system('espeak -v fr '.escapeshellarg($_REQUEST['text']).' --stdout | lame --quiet - -'); | |
exit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query getChannels { | |
channels { | |
id | |
type | |
snippet { | |
title | |
description | |
summary | |
picture { | |
width |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var toggle = true; | |
function mouseFlicker(e) { | |
if(toggle) { | |
var multiplier = Math.round(Math.random()*1)+3; | |
var width = window.innerHeight*wish.imageRatio; | |
var height = window.innerHeight; | |
var newWidth = width*multiplier; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Avoid `console` errors in browsers that lack a console. | |
(function(){for(var a,e=function(){},b="assert clear count debug dir dirxml error exception group groupCollapsed groupEnd info log markTimeline profile profileEnd table time timeEnd timeStamp trace warn".split(" "),c=b.length,d=window.console=window.console||{};c--;)a=b[c],d[a]||(d[a]=e)})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config({ | |
paths: { | |
jquery: '../components/jquery/jquery', | |
underscore: '../components/underscore/underscore', | |
preloadjs: '../components/scenejs/vendor/preloadjs' | |
}, | |
shim: { | |
underscore: { | |
exports: '_' | |
}, |
OlderNewer