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 class ParenthesisSyntax { | |
// returns if the parenthesis syntax is valid | |
public static boolean isParanthesSyntaxValid(String paranthesis) { | |
return isFirstLastValid(paranthesis) && areSequencesValid(paranthesis); | |
} | |
// return if the first or last character is invalid syntax | |
private static boolean isFirstLastValid(String paranthesis) { | |
final int PARANTHESIS_LENGTH = paranthesis.length(); |
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> | |
<body> | |
<header> | |
<title>Pravat Bhusal</title> | |
<link rel="shortcut icon" href="https://shadowsych.github.io/rsrc/favcon.ico" type="image/x-icon"> | |
</header> | |
<main> | |
<div style="position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-55%);"> | |
<img style="display: block; margin: 0 auto;" src="https://shadowsych.github.io/rsrc/profile_pic.png"> | |
<p style="color: green; text-align: center; font-weight: bold"> |
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> | |
<head> | |
<title>Restart Tool</title> | |
</head> | |
<body> | |
</body> | |
<footer> | |
</footer> | |
</html> | |
<?php |
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
[bgcolor=#3F3640] | |
[center] | |
[icon]https://shadowsych.github.io/rsrc/profile_pic.png[/icon] | |
[p][color=white][size=200]Welcome![/size][/color][/p] | |
[p][color=white][size=125]I'm Shadowsych, a frequent programmer and here to help any player, developer, or graphics designer with just about anything. If you have any questions, feel free to message me![/size][/color][/p] | |
[p][color=white][size=125]I'm also the founder of the [b]Chibi BBCoders[/b] group.[/size][/color][/p] |
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 playerIdWhiteList :Array = [ | |
2, //add more player IDs into this array | |
4 | |
]; | |
var urlWhiteList: Array = [ | |
"glowbe.online", //add more URLs into this array | |
"tensortown.com" | |
]; | |
var websiteURL:String = loaderInfo.loaderURL; | |
for(var i:Number = 0; i < urlWhiteList.length; i++) { |
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 com.whirled.ControlEvent; | |
import com.whirled.EntityControl; | |
import flash.utils.Timer; | |
import flash.events.TimerEvent; | |
var whitelist :Array = [ | |
2, // the original creator of the toy | |
526 // any other player ids you wish to add | |
]; |