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
! rxvt-cygwin-native .Xdefault with sane colors | |
#ifdef COLOR | |
*customization: -color | |
#endif | |
! GVim colors, etc | |
!! GTK versions of gvim will not use all these. | |
Vim*useSchemes: all | |
Vim*sgiMode: true |
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
<script> | |
var _gaq = [['_setAccount', 'UA-17995021-1'], ['_trackPageview']]; | |
(function(d, t) { | |
var g = d.createElement(t), | |
s = d.getElementsByTagName(t)[0]; | |
g.async = true; | |
g.src = '//www.google-analytics.com/ga.js'; | |
s.parentNode.insertBefore(g, s); | |
})(document, 'script'); | |
</script> |
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
--- a/Makefile.in 2010-07-11 06:15:13.000000000 +0000 | |
+++ b/Makefile.in 2010-09-13 21:59:12.444896676 +0000 | |
@@ -158,7 +158,6 @@ | |
$(LIBRUBY_SO): | |
@-$(PRE_LIBRUBY_UPDATE) | |
$(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(OUTFLAG)$@ | |
- -$(OBJCOPY) -w -L '@EXPORT_PREFIX@Init_*' -L '@EXPORT_PREFIX@*_threadptr_*' $@ | |
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \ | |
File.symlink "$(LIBRUBY_SO)", link}' \ | |
$(LIBRUBY_ALIASES) || true |
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
use("ispec") | |
; | |
; [0,0] => 0 bon bien place, 0 bon mal place | |
; [1,0] => 1 bon bien place, 0 bon mal place | |
; [1,1] => 1 bon bien place, 1 bon mal place | |
; | |
describe("evalm", | |
it("should return 0,0 when no pegs are good", |
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
class EventsController < ApplicationController | |
rescue_from(ActionController::RoutingError) {redirect_to '/'} | |
def index | |
render :layout=>"layouts/home" | |
end | |
def show | |
if params[:name] | |
@event=Event.where(:name=>params[:name]).first | |
@event||=Event.create(:name=>params[:name]) | |
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
class EventsController < ApplicationController | |
rescue_from(ActionController::RoutingError) {redirect_to '/'} | |
def index | |
render :layout=>"layouts/home" | |
end | |
def show | |
if params[:name] | |
@event=Event.where(:name=>params[:name]).first | |
@event||=Event.create(:name=>params[:name]) | |
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
package dojo.kata; | |
public class RLE { | |
public static String encode(String chaine) { | |
if (chaine == null || chaine.isEmpty()) | |
return ""; | |
if(chaine.length()==1)return encodeUnit(chaine); |
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.softeam.movie.enums; | |
/** | |
* @author Olivier | |
* | |
*/ | |
public enum Movie { |
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
/** | |
* | |
*/ | |
/** | |
* @author jerome | |
* | |
*/ | |
public class RareOrder { |
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 dojo.kata; | |
import java.util.ArrayList; | |
public class Puissance4 { | |
int lastColPlayed = 0; | |
ArrayList<Integer> columns = new ArrayList<Integer>(5); | |
OlderNewer