Skip to content

Instantly share code, notes, and snippets.

<?php
$list = array(
array(
'foo' => 'caca'
),
array(
'foo' => 'prout'
),
array(
@stol
stol / robot.js
Created December 4, 2012 12:38
RobotRock1
var found = 0;
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if (!found)
@stol
stol / SCSS.sublime-build
Created December 3, 2012 17:32
Sublime Text 2 package for building SCSS files, with compass dependency
// Make sure sass + compass are both installed
// Put this file inside a directory named "SCSS-build", in your ST2 packages directory
// last, remove thoses comments. Not sure if it will work with them :)
{
"cmd": "sass $file ${file_path}/${file_base_name}.css -C -t expanded --trace --compass",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.scss",
"shell": "true",
"osx":
#####
##### Easily enable clearType on windows.
#####
*** WHAT IT DOES ***
It asks the user to install an activex control, signed by microsoft.
This activex control allows cleartype options to be set using javascript.