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
Tundra | Mirrorweave | |
---|---|---|
Underground Sea | Undermine | |
Badlands | Blightning | |
Taiga | Artifact Mutation | |
Savannah | Aura Mutation | |
Scrubland | Zealous Persecution | |
Volcanic Island | Prophetic Bolt | |
Bayou | Maelstrom Pulse | |
Tropical Island | Aether Mutation | |
Plateau | Master Warcraft |
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
package pfirpfel; | |
import java.util.Iterator; | |
import java.util.NoSuchElementException; | |
public class ArrayIterator<E> implements Iterator<E> { | |
private E[] array; | |
private int index = 0; | |
private boolean lastRemoved = false; |
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
public class QuickSortMSP { | |
private static int noOfSwaps = 0; | |
public static void main(String[] args) { | |
int arr[] = {5,5,5,5,5}; | |
sort(arr); | |
System.out.print("Swaps: "+noOfSwaps); | |
} | |
public static void sort(int[] arr){ |
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
public class MaxThreads { | |
private static int count = 0; | |
public static void main (String[] args){ | |
while(true){ | |
Thread t = new Thread(new T(), ++count + ""); | |
t.start(); | |
System.out.println(count + ""); | |
} |
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
void setup(){ | |
size(480,480); | |
frameRate(64); | |
for(int x = 0; x < 8; x++){ | |
for(int y = 0; y < 8; y++){ | |
if((x+y)%2 == 0){ | |
fill(255); | |
} else { | |
fill(0); | |
} |
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
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini | |
# Recycle Bin used on file shares | |
$RECYCLE.BIN/ | |
# Windows Installer files | |
*.cab | |
*.msi |
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
# White (40) | |
Loam Lion | |
Hopeful Eidolon | |
Loyal Cathar | |
Leonin Relic-Warder | |
Knight of Cliffhaven | |
Kor Skyfisher | |
Dauntless River Marshal | |
Hidden Dragonslayer | |
Flickerwisp |
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
/** | |
* Polyomino | |
*/ | |
function Polyomino(){ | |
this.points = []; | |
} | |
Polyomino.prototype.print = function(){ | |
var allX = this.points.map(function(p){ return p.x; }); | |
var allY = this.points.map(function(p){ return p.y; }); |
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
var players = ['A', 'B', 'C', 'D', 'E', 'F', 'G' ]; | |
var generateRounds = function(players, bye){ | |
// add bye to rotation if number of players is odd | |
if(players.length % 2 == 1){ | |
players.push(bye); | |
} | |
// first player does not rotate | |
var first = players.shift(); |
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
<html> | |
<head> | |
<title>Canvas Clip Mask</title> | |
</head> | |
<body> | |
<input id="karma" type="range" min="0" max="100" value="50" style="width: 500px;"/> | |
<br> | |
<canvas id="canvas"></canvas> | |
<script src="knot.js" type="text/javascript"></script> | |
<script src="main.js" type="text/javascript"></script> |
OlderNewer