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
Compiling Java libraries ... | |
(in /home/jp/src/open_source/buildr, development) | |
** Invoke buildr (first_time) | |
** Invoke buildr:java (first_time) | |
** Invoke buildr:scala (first_time) | |
** Invoke buildr:extra (first_time) | |
** Invoke buildr:java | |
** Invoke buildr:scala | |
** Invoke buildr:extra | |
** Invoke buildr |
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
package fr.barreverte.test; | |
import org.junit.rules.ExternalResource; | |
import java.util.Locale; | |
public class LocaleRule extends ExternalResource { | |
private final Locale toRestore; | |
private final Locale forTest; |
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
require "test/unit" | |
OPERATIONS = { | |
"+" => lambda { |a, b| a + b }, | |
"-" => lambda { |a, b| a - b }, | |
"*" => lambda { |a, b| a * b }, | |
"/" => lambda { |a, b| a / b } | |
} | |
def eval_polish(expression) |
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 -*- | |
import unittest | |
operators = { | |
'+': lambda a, b: a + b, | |
'-': lambda a, b: a - b, | |
'*': lambda a, b: a * b, | |
'/': lambda a, b: a / b | |
} |
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
* dac3ecb [fix] bug | |
* ddee3c9 VERSION='0.23.0-SNAPSHOT' | |
* 8b4c9ec VERSION='0.22.6' | |
| * 6bdfaf5 (tag: 0.22.6) Release 0.22.6 | |
|/ | |
* 0b2b6c1 - injecteur bench : reset compteur par file | |
* 7e00283 - injecteur bench : stopper les acteurs en fin de cycle |
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 -*- | |
from datetime import datetime | |
import multiprocessing, time, urllib2 | |
class Browser(object): | |
def __init__(self): | |
self.p = None | |
def request(self, s): |
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
⎡ Virtual core pointer id=2 [master pointer (3)] | |
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] | |
⎜ ↳ Logitech USB Optical Mouse id=8 [slave pointer (2)] | |
⎜ ↳ HID 046a:0023 id=10 [slave pointer (2)] | |
⎜ ↳ TypeMatrix.com USB Keyboard id=13 [slave pointer (2)] | |
⎣ Virtual core keyboard id=3 [master keyboard (2)] | |
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] | |
↳ Power Button id=6 [slave keyboard (3)] | |
↳ Power Button id=7 [slave keyboard (3)] | |
↳ HID 046a:0023 id=9 [slave keyboard (3)] |
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/bash | |
kbd=`setxkbmap -query | grep layout | awk '{print $2}'` | |
if [ 'fr' = $kbd ] | |
then | |
notify-send 'Keyboard is now Dvorak' | |
setxkbmap dvorak en -option compose:ralt | |
else | |
notify-send 'Keyboard is now French' |
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
<keybind key="W-F5"> | |
<action name="Execute"> | |
<command>~/bin/switch_dv_fr</command> | |
</action> | |
</keybind> |
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
setxkbmap dvorak en -option compose:ralt |