Skip to content

Instantly share code, notes, and snippets.

View ReticentIris's full-sized avatar
🍵
Sipping tea.

ReticentIris

🍵
Sipping tea.
View GitHub Profile
@ReticentIris
ReticentIris / zQuery
Created June 11, 2011 23:46
The source code for zQuery.
/**
* zQuery v1.0
* Created By Pro of zetaNetwork for Learning Purposes
* http://s4.zetaboards.com/zetanetwork
*/
(function (window, document, undefined) {
//Constructor with an optional element selector.
var zquery = function (a) {
//If a selector is defined.
@ReticentIris
ReticentIris / zQuery.js
Created June 11, 2011 23:47
The source code for zQuery.
/**
* zQuery v1.0
* Created By Pro of zetaNetwork for Learning Purposes
* http://s4.zetaboards.com/zetanetwork
*/
(function (window, document, undefined) {
//Constructor with an optional element selector.
var zquery = function (a) {
//If a selector is defined.
@ReticentIris
ReticentIris / zQuery.js
Created June 13, 2011 19:04
zQuery Unstable Source
/**
* zQuery v1.0
* Created By Pro of zetaNetwork for Learning Purposes
* http://s4.zetaboards.com/zetanetwork
*/
(function (window, document, undefined) {
//Constructor with an optional element selector.
var zquery = function (a) {
//No "new" needed.
if(this === window){
Noob Greg = new Noob(){
boolean noob;
boolean inchaos;
{
this.noob = true;
this.inchaos = false;
}
Noob(){
public class Gill {
public static void main(String[] args){
int[][] g = {{100, 100, 33, 10}, {80, 80, 80, 80, 80}, {50, 50, 50}, {90, 95, 100, 45}};
for(int n = 0, j = g.length; n < j; n++){
int k = 0, h = g[n].length;
for(int q = 0; q < h; q++){
k += g[n][q];
System.out.print(g[n][q] + " " + (q + 1 == h ? "\t|\tAverage\t" + (double) k / h + "\n" : ""));
}
}
@ReticentIris
ReticentIris / Dice.java
Created November 16, 2011 21:42
Dice program demonstrating the use of graphic powered buttons.
//Imports
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.util.*;
public class Dice extends JFrame{
//Nested die class.
private class Die {
private int val;
@ReticentIris
ReticentIris / zQuery.js
Created November 16, 2011 21:45
zQuery Source v1.0.1 WIP
/**
* zQuery v1.0
* Created By Pro of zetaNetwork for Learning Purposes
* http://s4.zetaboards.com/zetanetwork
*/
(function(window, document, undefined) {
//Constructor with an optional element selector.
var zquery = function(a) {
//No "new" needed.
if (this === window) {
@ReticentIris
ReticentIris / BoxxComponent.java
Created November 18, 2011 02:34
Project Boxx - An open source Java graphic framework.
package boxx.component;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Point;
public class Orthographic {
public static void main(String[] args){
String[] input = {"F888 1200 1000 1020"};
for(int n = 0; n < input.length; n++){
//Split input set up cube.
String[] layers = input[n].split(" ");
String[][][] cube = new String[4][4][4];
//Fill cube.
import java.util.ArrayList;
import java.util.Stack;
public class BooleanExtended {
public static void main(String[] args){
String[] input = {
"AB!",
"ABC$",
"AAA#",
"CAAB$!",