This file contains hidden or 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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAryfnTaMc15LkUszhjkxR4W3LVj1mlyjqdajR/kYZfBIvlaHIUkegac7S0dbyop61idDrsk4IpDDaF/g54YklGdxICFEtQiLQgk/jD3jrsO0RQAvB3S0B7YUt5IF+8dw3cyEYvD0KVm53DL5BT3RnvAUnjsRHMwwY9rbLbRIrVNMY+Nz9p/r5GBV4MRINq1VIjaUnY4XIH/pv+jqlML5kPfP3OZ6dizrxjwM4tBEaqXm4WL0ARVp/G3Ea6Vx9JA65BZGljvNKe72KklIghV2feZIPhFF0n3GC/RmfVjpYP55x5Uru9KGKDkWv2AuuEORJskiYZ5eDXkEH5TaM+MPYhQ== [email protected] |
This file contains hidden or 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
| # DragonFly makes image handling with Rails3 easy but you must have one and only one image per field | |
| # but what if I want to display a Gallery of places photos ? | |
| # Is there a way to do something like this ? Where I could have only one image for a place and maybe ten for another one ? | |
| class Place | |
| include Mongoid::Document | |
| images_accessor :place_images #Note the final S : imageS_accessor | |
This file contains hidden or 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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApOciAKtFun1As+oX3gnNvNF9mLae3FaVHpZxz/ildzYhX9F4yUJWlyQowk5mFOg6LBCVHqfeOoS2AHGLSj3g4S4Ye5vmacxK1lcnsA+DXy9CuEgDs7MWK5DTmD3TsBmeqVNJxGBdHUquSE197Sw77DXW1M5YNMkcc2hcXIWyedaOWvkhjyXXo5j1A7S7NBWbPovfGgBZi3j0882GRjwfNFjTYqLmDrq9nMgwe2MbsMm7JvG+ncn6LzMECjspfeltCPBkXQ5+yooWXL78yE55f4IMzKF92tPqXIGXab6ozW5nwVC+Rv5F21tTHm3gX8twlF56hTf6E0mWB/ThMSI4mQ== [email protected] |
This file contains hidden or 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
| ######################################################################################################### | |
| # I18n French translation for Devise (http://github.com/plataformatec/devise) | |
| # I18n traduction de français pour Devise | |
| ######################################################################################################### | |
| fr: | |
| errors: | |
| messages: | |
| not_found: "n'a pas été trouvé(e)" | |
| already_confirmed: "a déjà été confirmé(e)" |
This file contains hidden or 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
| 1214 Socket.IO-node:master % make ./tests/support/expresso/bin/expresso -I lib tests/*.test.js | |
| 9 Aug 20:51:11 - socket.io ready - accepting connections | |
| --- uncaught ------------------------------------------------------ | |
| 1) : TypeError: Bad file descriptor argument | |
| at Server._doListen (net:1190:14) | |
| at net:1155:12 | |
| at EventEmitter._tickCallback (node.js:50:25) |
This file contains hidden or 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
| ks123456 /stock/src/node-v0.1.101 exited 2 | |
| 1195 node-v0.1.101 % uname -a 17/07/2010 23:12:12 jblanche | |
| Linux ks123456.kimsufi.com 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux | |
| ks123456 /stock/src/node-v0.1.101 | |
| 1196 node-v0.1.101 % cat /etc/debian_version 17/07/2010 23:12:45 jblanche | |
| 5.0.5 | |
| ks123456 /stock/src/node-v0.1.101 | |
| 1197 node-v0.1.101 % gcc --version 17/07/2010 23:12:48 jblanche | |
| gcc (Debian 4.3.2-1.1) 4.3.2 |
This file contains hidden or 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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApOciAKtFun1As+oX3gnNvNF9mLae3FaVHpZxz/ildzYhX9F4yUJWlyQowk5mFOg6LBCVHqfeOoS2AHGLSj3g4S4Ye5vmacxK1lcnsA+DXy9CuEgDs7MWK5DTmD3TsBmeqVNJxGBdHUquSE197Sw77DXW1M5YNMkcc2hcXIWyedaOWvkhjyXXo5j1A7S7NBWbPovfGgBZi3j0882GRjwfNFjTYqLmDrq9nMgwe2MbsMm7JvG+ncn6LzMECjspfeltCPBkXQ5+yooWXL78yE55f4IMzKF92tPqXIGXab6ozW5nwVC+Rv5F21tTHm3gX8twlF56hTf6E0mWB/ThMSI4mQ== [email protected] |
This file contains hidden or 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
| 475 ~ % irb | |
| >> require 'rubygems' | |
| => false | |
| >> require 'trim_api' | |
| => true | |
| >> require 'tweetstream' | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:279: warning: already initialized constant CR | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:282: warning: already initialized constant LF | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:285: warning: already initialized constant EOL | |
| /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:287: warning: already initialized constant REVISION |
This file contains hidden or 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
| /* fontAvailable Prototype Plugin, v1.0 | |
| * | |
| * Copyright (c) 2009, Jonathan Blanchet | |
| * Licensed under the MIT License | |
| * http://github.com/jblanche/prototype-fontavailable/tree/master | |
| * | |
| * Based on jQuery fontAvailable plugin: | |
| * http://code.google.com/p/jquery-fontavailable/ | |
| * and Edward H. Trager and gCSSCapabilities plugin : | |
| * http://eyegene.ophthy.med.umich.edu/fontface/javascript/gCSSCapabilities.js |
This file contains hidden or 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
| # The main class | |
| class League < ActiveRecord::Base | |
| belongs_to :season | |
| belongs_to :country | |
| has_many :teams | |
| has_many :games | |
| def classify | |
| teams.sort_by([:points, :goalaverage]).reverse | |
| end |