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
https://auctionet.com/de?gclid=CKK21fmSuLwCFSoEwwodOlkABg | |
http://auctionet.com/search?is=&q=???ldre+m???stare+-hundra&utf8=?&utm_medium=campaign&utm_source=campaign293&utm_campaign=Kampanj+293%3A+%C3%84ldre+m%C3%A4stare |
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
# Activate the gem you are reporting the issue against. | |
gem 'rails', '4.0.0' | |
require 'rails' | |
require 'action_controller/railtie' | |
class TestApp < Rails::Application | |
config.root = File.dirname(__FILE__) | |
config.session_store :cookie_store, key: 'cookie_store_key' | |
config.secret_token = 'secret_token' |
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
gem "rails", "3.2.19" | |
require "rails" | |
require "action_controller/railtie" | |
class TestApp < Rails::Application | |
config.root = File.dirname(__FILE__) | |
config.session_store :cookie_store, key: "cookie_store_key" | |
config.secret_token = "1111111111111111111111111111111111111111111111111111111111111111111111111secret_token" | |
config.secret_key_base = "secret_key_base" |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(40); |
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
IL_001e: call class [System]System.Diagnostics.Stopwatch [System]System.Diagnostics.Stopwatch::StartNew() | |
IL_0023: stloc.1 | |
IL_0024: ldloc.0 | |
IL_0025: ldsfld class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool> ConsoleApplication5.Program::'CS$<>9__CachedAnonymousMethodDelegate3' | |
IL_002a: brtrue.s IL_003d | |
IL_002c: ldnull | |
IL_002d: ldftn bool ConsoleApplication5.Program::'<Main>b__1'(class ConsoleApplication5.Program/Fuu) | |
IL_0033: newobj instance void class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool>::.ctor(object, | |
native int) | |
IL_0038: stsfld class [mscorlib]System.Func`2<class ConsoleApplication5.Program/Fuu,bool> ConsoleApplication5.Program::'CS$<>9__CachedAnonymousMethodDelegate3' |
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
function SimpleCollisionSystem() { | |
this.update = function update() { | |
for(var a = 0; a < this.circles.length; a++) { | |
var circle1 = this.circles[a]; | |
//n * n/2 loop to check for collisions on every other particle | |
for(var b = a + 1; b < this.circles.length; b++) { | |
var circle2 = this.circles[b]; | |
circle1.checkCollisionOnAnotherCircle(circle2); |
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
function CoolCollisionSystem() { | |
this.currentTime = 0; | |
this.pq = new PriorityQueue(eventComparator); | |
//warmup happens only at startup (duh), to predict collisions between every particle | |
//this is the only n^2 loop | |
this.warmUp = function() { | |
for(var i = 0, length = this.circles.length; i < length; i++) { | |
this.predict(this.circles[i]); | |
} |
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
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.Comparator; | |
import java.util.PriorityQueue; | |
import java.util.Scanner; | |
import java.util.Stack; | |
public class Main { |
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
#!/usr/bin/env bash | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libyaml-dev libreadline-gplv2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p429.tar.bz2 | |
tar -xvf ruby-1.9.3-p429.tar.bz2 | |
cd ruby-1.9.3-p429/ | |
./configure --prefix=/usr/local | |
sudo make | |
sudo make install |
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
static VALUE | |
rb_f_open(int argc, VALUE *argv) | |
{ | |
ID to_open = 0; | |
int redirect = FALSE; | |
if (argc >= 1) { | |
CONST_ID(to_open, "to_open"); | |
if (rb_respond_to(argv[0], to_open)) { | |
redirect = TRUE; |
OlderNewer