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
(!!! "Interpréteur pour http://fr.wikipedia.org/wiki/Brainfuck") | |
(Definir (Recherche_dans liste element) | |
"Retourne la position du dernier élément de `liste` valant `element`. | |
Retourne 0 si aucun élément n’est trouvé." | |
"ProfGra" | |
(Initialiser position_element 0) | |
(Initialiser position 1) | |
(Faire |
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
"""Testing the obiwan module. | |
https://github.com/williame/obiwan | |
""" | |
from obiwan import * | |
install_obiwan_runtime_check() | |
def id1(x: int) -> int: |
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 utils = require('utils'); | |
var casper = require('casper').create(); | |
casper.start('http://profgra.org/lycee/squelettes/html_css_js1.html', function() { | |
// was 'avant', JS put 'apres' instead | |
utils.dump(this.getElementsInfo('#ici')[0].html); | |
this.captureSelector('apres.png', 'body'); | |
}); | |
casper.thenOpen('http://brython.info/', function() { |
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
// Casper file which dumps a page (and recursively continues). | |
var utils = require('utils'); | |
// https://github.com/ariya/phantomjs/wiki/API-Reference-FileSystem | |
var fs = require('fs'); | |
var casper = require('casper').create({ | |
verbose: true, | |
logLevel: 'error', | |
pageSettings: { | |
loadImages: false, |