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
.mouse{ | |
position: absolute; | |
background-image: url('../images/cursor.png'); | |
width: 15px; | |
height: 22px; | |
z-index: 100; | |
} |
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
/* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(){ | |
var UPC_SET = { | |
"3211": '0', | |
"2221": '1', | |
"2122": '2', |
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 strike( str ) { | |
return str.split(''). | |
map(function (e) { return e + '\u0336'; }). | |
join(''); | |
} |
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 parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" | |
local LIGHT_RED="\[\033[1;31m\]" | |
local GREEN="\[\033[0;32m\]" | |
local LIGHT_GREEN="\[\033[1;32m\]" |
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
#!/usr/bin/ruby | |
RLSP_VERSION = "1.4.1" | |
class Lambda | |
attr_accessor :args, :body | |
def initialize(args=[],body="") | |
@args = (args.class == Array) ? args : [args] | |
@body = body | |
end |
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
import Test.QuickCheck | |
import Nnhp | |
{- For most of the problems, randomly choosen parameters | |
- are not a good test, as some obvious combinations are | |
- not likely to be generated, not matter how interresting | |
- they are to the test case at hand. | |
-} | |
-- P01 |
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
------------------------------------------------------ | |
------------------------------------------------------ | |
-- Ninety-nine Haskell problems | |
-- KEDJI Komlan Akpédjé <eric.kedji@gmail.com> | |
-- http://erickedji.wordpress.com/ | |
-- PHD student at IRIT (Toulouse, FRANCE) | |
-- | |
-- Based on 'Ninety-nine Lisp Problems' | |
-- (www.ic.unicamp.br/~meidanis/courses/ | |
-- mc336/2006s2/funcional/ |
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
from _winreg import * | |
import os, sys, win32gui, win32con | |
class Penv: | |
def __init__(self): | |
path = r'SYSTEM\CurrentControlSet\Control\Session Manager\Environment' | |
self.reg = ConnectRegistry(None, HKEY_LOCAL_MACHINE) | |
self.regKey = OpenKey(self.reg, path, 0, KEY_ALL_ACCESS) | |
def query(self, name): |
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
%% Macros d'utilité générale pour documents LaTeX | |
%% | |
%% Eric KEDJI <eric.kedji@gmail.com> | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% START - macros | |
\newcommand{\nom}[1]{\textsc{\texttt{#1}}} | |
\newcommand{\pagevide}{\titlepage\phantom{INVISIBLE}\endtitlepage} | |
\newcommand{\capture}[4]{ | |
\begin{figure}[#2] | |
\centering |
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
# -*- coding: utf-8 -*- | |
########################################################### | |
# KEDJI Komlan Akpédjé | |
# | |
# SOA Stack components install script | |
# @depends: penv.py, unzip.py, optionparse.py in PYTHONPATH | |
# | |
# NEOXIA Maroc | |
########################################################### |