Skip to content

Instantly share code, notes, and snippets.

@ir-g
ir-g / index.php
Created June 10, 2012 16:44
Lite_CMS Paging system.
<html>
<head>
<title>Pages</title>
<script type="text/javascript">
WebFontConfig = {
google: { families: [ 'Ubuntu:300:latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
@ir-g
ir-g / index.php
Created October 28, 2012 11:03
Oink CMS-A basic web framework.
<?php include("latest-stable-handler.php"); launch_site(); ?>
@ir-g
ir-g / 2012-10-21 193249_2012-11-13 192615.txt
Created November 13, 2012 19:26
The latest version of my Minecraft Server log(Used for transparency.)
2012-10-21 19:32:49 [INFO] Starting minecraft server version 1.3.2
2012-10-21 19:32:49 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
2012-10-21 19:32:49 [INFO] Loading properties
2012-10-21 19:32:49 [INFO] Default game type: SURVIVAL
2012-10-21 19:32:49 [INFO] Generating keypair
2012-10-21 19:32:50 [INFO] Starting Minecraft server on *:20000
2012-10-21 19:32:50 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
2012-10-21 19:32:50 [WARNING] The server will make no attempt to authenticate usernames. Beware.
2012-10-21 19:32:50 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
2012-10-21 19:32:50 [WARNING] To change this, set "online-mode" to "true" in the server.properties file.
@ir-g
ir-g / hi.txt
Created November 23, 2012 13:08
Site stuff
<b>Hi!</b>
@ir-g
ir-g / code.txt
Created November 24, 2012 16:45
Play your favourite applets as apps!
${JAVA_HOME}/bin/appletviewer http://minecraft.net/classic/play
${JAVA_HOME}/bin/appletviewer http://www.mojang.com/notch/j4k/minecraft4k/
@ir-g
ir-g / app.xml
Created November 24, 2012 19:26
An example app page.
<app>
<meta>
<app:title>Title</app:title>
<app:icon type="47px-47px">icon-47-47.png</app:icon>
</meta>
<page name="home">
<h1>Home</h1>
<a href="page:example">Want another page?</a>
</page>
<page name="example">
@ir-g
ir-g / griffco.css
Created December 30, 2012 15:29
The CSS file for GriffCO Tumblr blog. Based off Skeleton for css and Tersus for basic template. || || \_/ \_/ Responsive
.notify{};
isaac@jaberwokkee-ubuntu:~/www/gs$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.7/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
// parseUri 1.2.2
// (c) Steven Levithan <stevenlevithan.com>
// MIT License
function parseUri (str) {
var o = parseUri.options,
m = o.parser[o.strictMode ? "strict" : "loose"].exec(str),
uri = {},
i = 14;