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
#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) // skryje okno konzole | |
//--------------------------------------------------------------------- | |
// Program otevre jedno hlavni okno a vykresli do nej 3D elipsoid pomocí bodù | |
// Klavesami x, z, y se nastavuje poloha kamery, klavesou r rotace elipsoidu | |
// Klavesami p a q se nastavuje poloha elipsoidu | |
// Program lze ukoncit stiskem klavesy ESC. | |
//--------------------------------------------------------------------- | |
#include <glut.h> // hlavickovy soubor funkci GLUTu | |
//#include <stdlib.h> |
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.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace GraphAnalyzer.RTree.FileIndex | |
{ | |
public class BaseFile<T> | |
{ |
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
BEGIN | |
FOR cur_rec IN (SELECT object_name, object_type | |
FROM user_objects | |
WHERE object_type IN | |
('TABLE', | |
'VIEW', | |
'PACKAGE', | |
'PROCEDURE', | |
'FUNCTION', | |
'SEQUENCE' |
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; |