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 java.util.Map; | |
public class Main { | |
static Map<Object,Object> map; | |
public static void main(String[] args) { | |
if(map == null) { | |
System.out.println("test"); | |
} | |
} |
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
$array = Array( | |
"class", | |
"class", | |
"class" | |
); | |
foreach ($array as &$value) { | |
$$value &= new $value(); | |
} |
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
/* | |
* "%s %s %s".format("Format", "For", "Javascript"); | |
* Based on PHPJS sprintf. | |
* | |
* @author: Nijikokun <nijikokun@gmail.com> | |
* @copyright: 2011 (c) Nijikokun | |
*/ | |
String.prototype.format=function(){var k=arguments,q=0,o=function(b,a,f,c){f||(f=" ");a=b.length>=a?"":Array(1+a-b.length>>>0).join(f);return c?b+a:a+b},m=function(b,a,f,c,g,d){var e=c-b.length;e>0&&(b=f||!g?o(b,c,d,f):b.slice(0,a.length)+o("",e,"0",!0)+b.slice(a.length));return b},n=function(b,a,f,c,g,d,e){b>>>=0;f=f&&b&&{2:"0b",8:"0",16:"0x"}[a]||"";b=f+o(b.toString(a),d||0,"0",!1);return m(b,f,c,g,e)};return this.replace(/%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g, | |
function(b,a,f,c,g,d,e){var i,j;if(b=="%%")return"%";var h=!1;j="";var l=g=!1;i=" ";for(var r=f.length,p=0;f&&p<r;p++)switch(f.charAt(p)){case " ":j=" ";break;case "+":j="+";break;case "-":h=!0;break;case "'":i=f.charAt(p+1);break;case "0":g=!0;break;case "#":l=!0}c=c?c=="*"?+k[q++]:c.charAt(0)=="*"?+k[c.slice(1,-1)]:+c:0;c<0&&(c=-c,h=!0);if |
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 java.util.Arrays; | |
import org.json.simple.JSONArray; | |
import org.json.simple.JSONObject; | |
import org.json.simple.parser.JSONParser; | |
import org.json.simple.parser.ParseException; | |
/** | |
* json_simple wrapper by Nijikokun (c) 2011 | |
*/ | |
public class JSON { | |
private String source; |
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
/* | |
* CSS & CSS3 Notepad | |
* | |
* These were made for my personal usage, as I constantly use them. | |
* I have decided to open-source the file. | |
* | |
* Some is very useful, other things may be re-dundant. | |
* | |
* Once again, these are simply my css notes. | |
* |
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
# I'm here with Johnathan who just got his face painted and... | |
# What do you think? | |
Plugin.is { | |
name "Turtles" | |
version "0.1" | |
author "Nijikokun" | |
commands :turtle => { | |
:usage => "/turtle - What do you think?" | |
} |
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
# Boring information. | |
# Its made by @Nijikokun <nijikokun@shortmail.com> | |
# Copyright (2011) | |
# AOL License <http://aol.nexua.org> | |
Plugin.is { | |
name "Roll The Dice" | |
main "RTD" | |
version "0.1" | |
author "Nijikokun" | |
commands :rtd => { |
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
# Mockup language by Nijikokun <nijikokun@shortmail.com> (http://twitter.com/nijikokun) | |
# | |
# Based on Ruby, Perl, Java, Python | |
# Minimal Special Chars, Literal strings. | |
# | |
# @copyright 2011 | |
# Core imports should be located in "system" | |
import system | |
import system.time |
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
/** | |
* SyntaxHighlighter | |
* http://alexgorbatchev.com/ | |
* | |
* SyntaxHighlighter is donationware. If you are using it, please donate. | |
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate | |
* | |
* @version | |
* 2.0.320 (July 26 2009) | |
* |
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 | |
/** | |
* Commonly needed functions for some Java -> PHP things to function properly. | |
* | |
* @author Nijikokun <nijikokun@shortmail.com> | |
* @copyright AOL <http://aol.nexua.org> | |
* @package Common | |
* @version 1.0.1 | |
* @since p.j1 | |
*/ |