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 core; | |
import java.util.ArrayList; | |
import java.util.Random; | |
public class GeneticAlgorithm { | |
private Random random; | |
public GeneticAlgorithm() { |
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 http.cookiejar | |
import os | |
import urllib.parse | |
import urllib.request | |
import time | |
from htmldom import htmldom | |
from enum import Enum | |
__author__ = 'jpenzes' |
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 com.jpenzes.smawing; | |
import com.jpenzes.smawing.utils.IFrameFactory; | |
import com.jpenzes.smawing.utils.IObjectContainer; | |
import com.jpenzes.smawing.utils.ObjectContainer; | |
import com.jpenzes.smawing.utils.SDefaultFrameFactory; | |
import javax.swing.*; | |
public abstract class SFrame { |
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
using System; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using Xunit; | |
using Xunit.Extensions; | |
namespace Dojo | |
{ | |
public struct Input | |
{ |
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 junitparams.JUnitParamsRunner; | |
import junitparams.Parameters; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
@RunWith(JUnitParamsRunner.class) | |
public class CodingDojo { | |
final int ALL_PINS = 10; |
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.util.ArrayList; | |
import java.util.List; | |
public class Bowling { | |
private List<Round> rounds; | |
public Bowling() { | |
rounds = new ArrayList<>(); | |
} |
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 World(width, height) | |
{ | |
var world = this; | |
this.width = width; | |
this.height = height; | |
this.cells = new Array(width, height); | |
this.addPersonTo = function(coordinates, personColor){ | |
this.cells[coordinates.x, coordinates.y] = personColor; |
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 main.cz.jpenzes.jsim.simulator; | |
public abstract class BaseEvent<TimeStamp extends Comparable<TimeStamp>> implements Event<TimeStamp> { | |
public abstract void execute(Simulator<TimeStamp> simulator); | |
} |
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
/** | |
* Always returns true. | |
*/ | |
public boolean isAvailable() { | |
return false; | |
} |
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
dm-id: 1 | |
dm-name: Miroslav Bajtoš a vývoj Node.js | |
dm-date: 1. 6. 2013 | |
dm-mp3: http://feeds.soundcloud.com/stream/117006007-devminutes-1-miroslav-bajtos.mp3 | |
dm-soundcloud: https://soundcloud.com/devminutes/1-miroslav-bajtos | |
dm-resources: | |
dm-resource: Miroslav Bajtoš | |
Twitter||https://twitter.com/bajtos | |
LinkedIn||http://cz.linkedin.com/in/bajtos |
OlderNewer