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
<?php | |
/* | |
Our group wasn't able to finish this delve, so I wrote this script to simulate the rest with our available stats. | |
*/ | |
// number of simulations | |
$sims = 1; | |
// form data |
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
<?php | |
//http://endrerudsorensen.com/~f/slowsauce/ | |
class slowsauce | |
{ | |
private static $algo = "ripemd256"; | |
private static $rounds = 10000; | |
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
<?php | |
// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
// :: HEX.PHP | |
// :: | |
// :: Author: | |
// :: Tim Holt, [email protected] | |
// :: Description: | |
// :: Generates a random hex map from a set of terrain types, then | |
// :: outputs HTML to display the map. Also outputs Javascript | |
// :: to handle mouse clicks on the map. When a mouse click is |
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
/* A scrollable hexagonal map with dynamic loading and unloading of tiles, implemented using JQuery and CraftyJS. | |
* | |
* by Lynna Merrill, http://www.lynnamerrill.com | |
* | |
* Credit for some ideas and/or code snippets goes to the isometric map implementation at http://craftyjs.com/demos/isometric | |
and the game tutorial at https://github.com/starmelt/craftyjstut/wiki/A-first-game. | |
* | |
* All graphics used for this demo are copyrighted and cannot be distributed or reproduced in any way without permission. You may download the graphics if you want to test this demo on your own computer, but please use your own images for any posts or projects of yours. | |
* |
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
====== Created Using Wizards of the Coast D&D Character Builder ====== | |
Lucàn, level 11 | |
Half-Elf, Warlock (Binder), Master Binder | |
Pact: Gloom Pact (Binder) | |
Half-Elf Power Selection Option: Knack for Success | |
Inherent Bonuses | |
Birth - Omen (+2 to Arcana) | |
FINAL ABILITY SCORES | |
STR 12, CON 13, DEX 15, INT 17, WIS 11, CHA 21 |
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
<?php | |
//number of videos in the collection | |
$num_of_items = ; | |
//collection name | |
$category_name = ''; | |
//kaltura admin (email) for this account | |
$userId = ''; |
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
<?php | |
for ($i=0; $i<=137; $i++) { | |
$t = $i*100; | |
$url = "http://ir.uiowa.edu/do/oai/?verb=ListRecords&resumptionToken=3961284/document-export/".$t."//"; | |
$returned_content = get_data($url); | |
print_r($returned_content); | |
$target_file = 'iro.xml'; | |
file_put_contents($target_file, $returned_content, FILE_APPEND); | |
} |
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
/* HTML and CSS | |
<canvas id="city" width="50" height="50"> | |
<h1>No Canvas Support</h1> | |
</canvas> | |
body { background-color: #DDDDDD; font: 30px sans-serif; } | |
*/ | |
//neuroMAPgen |
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
var Dungeon = { | |
map: null, | |
map_size: 64, | |
rooms: [], | |
Generate: function () { | |
this.map = []; | |
for (var x = 0; x < this.map_size; x++) { | |
this.map[x] = []; | |
for (var y = 0; y < this.map_size; y++) { | |
this.map[x][y] = 0; |
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
/** | |
* defineClass( ) -- a utility function for defining JavaScript classes. | |
* | |
* This function expects a single object as its only argument. It defines | |
* a new JavaScript class based on the data in that object and returns the | |
* constructor function of the new class. This function handles the repetitive | |
* tasks of defining classes: setting up the prototype object for correct | |
* inheritance, copying methods from other types, and so on. | |
* | |
* The object passed as an argument should have some or all of the |
OlderNewer