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 Leaderboard = React.createClass({ | |
propTypes: { | |
recentArr: React.PropTypes.array, | |
alltimeArr: React.PropTypes.array, | |
reverseBool: React.PropTypes.bool | |
}, | |
getDefaultProps: function() { | |
return { | |
recentArr: [], |
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 userData = []; | |
var userData2 = []; | |
var reverseBool = false; | |
var Leaderboard = React.createClass({ | |
getInitialState: function() { | |
return {data: [], sortBy: '', | |
url: 'https://fcctop100.herokuapp.com/api/fccusers/top/recent'}; | |
}, | |
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
// ==UserScript== | |
// @name initium-plus | |
// @namespace https://github.com/EFox2413/initiumGrease | |
// @version 0.0.1.2 | |
// @updateURL https://raw.githubusercontent.com/EFox2413/initiumGrease/master/initium-plus.meta.js | |
// @downloadURL https://raw.githubusercontent.com/EFox2413/initiumGrease/master/initium-plus.js | |
// @supportURL https://github.com/EFox2413/initiumGrease/issues | |
// @match https://www.playinitium.com/* | |
// @match http://www.playinitium.com/* | |
// @grant none |
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
// ==UserScript== | |
// @name Display Stats | |
// @namespace https://github.com/EFox2413/initiumGrease | |
// @version 0.1.0 | |
// @updateURL https://gist.githubusercontent.com/EFox2413/658707f6b497488524bb/raw/5a9ffecc2b0047596db41c2ca0684cfcf7691cbb/Display%2520Stats | |
// @downloadURL https://gist.githubusercontent.com/EFox2413/658707f6b497488524bb/raw/5a9ffecc2b0047596db41c2ca0684cfcf7691cbb/Display%2520Stats | |
// @description try to take over the world! | |
// @author EFox2413 | |
// @match https://www.playinitium.com/* | |
// @grant none |
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
Day 1: Billiards | |
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1328 | |
Problem 3 | |
http://fsu.acm.org/documents/spring-11-programming-contest-packet/ | |
submissions | |
https://gist.github.com/anonymous/8855549 |
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
diff --git a/main.ts b/main.ts | |
index 1778148..2c04212 100644 | |
--- a/main.ts | |
+++ b/main.ts | |
@@ -327,15 +327,24 @@ function newSpellList() : Spell[] { | |
class Player extends Actor { | |
x : number = 0; | |
img : heart.HeartImage = null; | |
+ imgFlip : heart.HeartImage = null; | |
xp : number = 975; |
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
diff --git a/main.ts b/main.ts | |
index 1778148..0cb906a 100644 | |
--- a/main.ts | |
+++ b/main.ts | |
@@ -327,6 +327,7 @@ function newSpellList() : Spell[] { | |
class Player extends Actor { | |
x : number = 0; | |
img : heart.HeartImage = null; | |
+ imgFlip : heart.HeartImage = null; | |
xp : number = 975; |
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
// Base tile interface. All tiles implement this. | |
interface Tile { | |
getImage() : heart.HeartImage; | |
isSolid() : bool; | |
} | |
class Wall implements Tile { | |
getImage() { return tile_top; } | |
isSolid() { return true; } |
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 hackThisSite2; | |
import java.io.*; | |
import java.awt.image.*; | |
class Mission2 { | |
public static void main(String[] args) { | |
BufferedImage img = null; | |
try { | |
img = javax.imageio.ImageIO.read(new File("C:\\Users\\Fox\\Downloads\\mission2.png")); |
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
public void permutate(String beginning, String input){ | |
if(input.length() == 1){ | |
System.out.println(beginning + input); | |
} | |
else | |
for(int i = 0; i < input.length(); i++){ | |
permutate(beginning + input.charAt(i), input.substring(0,i) + input.substring(i + 1)); | |
} | |
} |