I hereby claim:
- I am raphaelbastide on github.
- I am raphael (https://keybase.io/raphael) on keybase.
- I have a public key whose fingerprint is 6329 4F35 9A3E F86C 9C98 01BA FF38 02BE 007F 1142
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This document has now its own repository.
How to use brackets [ ] to advise lossless corrections.
[1][2][3]
Ce script bash permet de changer l’orientation de certaines pages d’un PDF. Il nécessite PDFtk server, il faut donc l’installer au préalable. Une petite recherche vous permettra de trouver les instructions pour l’installation de PTFtksur Mac Os.
rotate.sh
rotate.sh
pour indiquer les pages que vous voulez garder à l’endroit et celles que vous voulez retournervar ctx = modul.context; | |
function skin_Default() { | |
ctx.clearRect(0,0,50,50); | |
// modul.io DEFAULT SKIN | |
ctx.beginPath(); | |
// Here is a trick to random the modul's color: | |
ctx.fillStyle="rgba(" + Math.floor( Math.random() * 255) + "," + Math.floor( Math.random() * 255) + "," + Math.floor( Math.random() * 255) + ",1)"; | |
//eyes | |
ctx.fillRect(12,3, 4, 4); |
# Olive | |
A minimal image enlarger | |
[Demo](http://jsrun.it/rooofl/otwP) |
RVB vibrations effect for text |
# Description: | |
# Makes Hubot appologies for its stupidness | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
// emission | |
function com(msg){ | |
var siblingModuls = modul.sonar(); | |
if(siblingModuls.length === 0){ | |
ui.log("Nothing sent, you seem alone…"); | |
}else{ | |
var modul1 = siblingModuls[0]; | |
var modulimg = modul1.image(); | |
modul1.send(msg); | |
ui.log("Your modul sent “"+msg+"”"); |
var activeGoto = false; | |
var posGoto = [0,0]; | |
function goto() { | |
var c = modul.coordinates(); | |
if (c[0] > posGoto[0]) { | |
modul.move("left"); | |
} else if (c[0] < posGoto[0]) { | |
modul.move("right"); | |
} | |
if (c[1] > posGoto[1]) { |
// follow | |
var activeFollow = false; | |
function follow(){ | |
var siblingModuls = modul.sonar(); | |
var c = modul.coordinates(); | |
if(siblingModuls.length === 0){ | |
ui.log("You seem alone…"); | |
}else{ | |
var modul1 = siblingModuls[0]; | |
var mc = modul1.coordinates(); |