- ¿Cuál es el teléfono de conserjería?
02 632 6598
- ¿Cuál es el número del plan cuadrante?
4ta Comisaría Central. Cuadrante: Nº 12. Límites: Alameda, Vicuña Mackenna, Santa Isabel, San Diego
package com.janogonzalez.engineyard; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.util.Scanner; | |
public class Roulette { | |
private long expected, actual, bet; | |
import java.net.URL; | |
import java.util.Scanner; | |
public class Lucky13 { | |
public static int payout(int bet) throws Exception { | |
return "13".equals(new Scanner(new URL("http://roulette.engineyard.com/").openStream()).findInLine("\\d+")) ? bet * 35 : 0; | |
} | |
} |
macruby-0.8@my-gemset: | |
rvm 1.1.5 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/] | |
macruby-0.8@my-gemset: | |
system: |
# rubytles.rb | |
class I | |
def self.love(s) | |
"I <3 #{s}" | |
end | |
end | |
def love(_, &block) | |
yield "you" |
require 'twitter' | |
require 'random/online' | |
Twitter.configure do |config| | |
config.consumer_key = ENV['CONSUMER_KEY'] | |
config.consumer_secret = ENV['CONSUMER_SECRET'] | |
config.oauth_token = ENV['OAUTH_TOKEN'] | |
config.oauth_token_secret = ENV['OAUTH_TOKEN_SECRET'] | |
end |
Process: installd [4038] | |
Path: /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd | |
Identifier: installd | |
Version: ??? (???) | |
Code Type: X86-64 (Native) | |
Parent Process: installd [4034] | |
Date/Time: 2012-04-05 18:51:16.495 -0300 | |
OS Version: Mac OS X 10.7.3 (11D50d) | |
Report Version: 9 |
/** | |
* El mítico "golden ratio" | |
*/ | |
var PHI = (1 + Math.sqrt(5)) / 2; | |
/** | |
* Logaritmo con base arbitraria. | |
*/ | |
function log(n, base) { | |
return Math.log(n) / Math.log(base); |
source /usr/local/share/chruby/chruby.sh | |
chruby ruby-2.0 |