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 com.github.sammy0025.TechnoPunishFire; | |
import java.util.logging.Logger; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.entity.Player; | |
import org.bukkit.plugin.java.JavaPlugin; |
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
# This is the main configuration file for Bukkit. | |
# As you can see, there's actually not that much to configure without any plugins. | |
# For a reference for any variable inside this file, check out the bukkit wiki at | |
# http://wiki.bukkit.org/Bukkit.yml | |
# | |
# If you need help on this file, feel free to join us on irc or leave a message | |
# on the forums asking for advice. | |
# | |
# IRC: #bukkit @ esper.net | |
# (If this means nothing to you, just go to http://webchat.esper.net/?channels=bukkit ) |
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> | |
<script> | |
//You can employ full-fledged JavaScript right here | |
//You can insert your code in between the script tags | |
</script> | |
</body> | |
</html> |
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
// | |
//Code snippets I've compiled together about how stuff should be done in XC0de | |
//Copyright (c) 2012 SST & StatiX Industries, Some Rights Reserved. | |
//Protected under the Kompimi copyright standards (encouraged for any form of reuse, critisism) | |
// | |
//For the header file | |
//This is how you should make a proper header file in XC0de | |
#import <UIKit/UIKit.h> |
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
//After compiling (product after compiling should be QuadEquations.class) | |
//Usage in the UNIX Terminal is: | |
//java QuadEquations a b c | |
//Where a, b and c are in the following equation aX^2+bX+c=0 | |
import java.lang.Math; | |
import java.lang.Double; | |
class QuadEquations | |
{ |
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 a = prompt("Enter the first number (aX^2), a is most likely 1"); | |
var b = prompt("Enter the second number (bX), b can be a negative number"); | |
var c = prompt("Enter the third number, a constant (c)."); | |
var numerator = -1*b+Math.sqrt(Math.pow(b, 2)-4*a*c); | |
var numerator2 = -1*b-Math.sqrt(Math.pow(b, 2)-4*a*c); | |
var denominator = 2*a; | |
var answer1 = numerator/denominator; | |
var answer2 = numerator2/denominator; |
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 quadEquationISR; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
public class QuadEquationISR | |
{ | |
/** |
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 guessingGame; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
public class GuessingGame | |
{ | |
/** |
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
//***************************************************************** | |
// Singaporean NRIC validity checker | |
// Copyright (c) Pan Ziyue (@sammy0025) | |
//***************************************************************** | |
var icArray=new Array(7); //Array for storing individual IC strings | |
var icArray2=new Array(7); //Array for storing individual IC ints | |
var icNo = prompt("Enter your NRIC:"); | |
if (icNo.length!=9) |
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
**************************************************************************** | |
T.E.R.0.M. SPEC SHEET | |
Updated 15/07/2013 | |
**************************************************************************** | |
Casing: Cooler Master Elite 342 (Mini-Tower) | |
PSU: Cooler Master Elite Power (400W) | |
CPU: Intel i5-3450 (LGA1155 Socket) | |
CPU Cooler: Cooler Master Hyper TX3 | |
GPU: NVIDIA GT 640 (Palit 1024MB version) | |
Motherboard: Asus P8H61-M LX (H61 Chipset) |
OlderNewer