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
// Keymap Dvorak pour le Français | |
// par Josselin Mouette <josselin.mouette@ens-lyon.org>. | |
partial alphanumeric_keys | |
xkb_symbols "dvorak" { | |
name[Group1]= "France - Dvorak"; | |
key <TLDE> { [ oe, OE, ae, AE ] }; |
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
#! /bin/ruby | |
# | |
require 'complex' | |
class Mandelbrot | |
def initialize(bailout=10, iterations=100) | |
@bailout, @iterations = bailout, iterations | |
end | |
def mandelbrot(x, y) |
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
#! /bin/ruby | |
# swarm algorithm | |
require 'gnuplot' | |
class Particule | |
attr_reader :x, :y | |
def initialize(size_x, size_y) | |
@size_x = size_x | |
@size_y = size_y |
NewerOlder