Skip to content

Instantly share code, notes, and snippets.

@rymate1234
rymate1234 / wormy.py
Created December 23, 2012 13:41 — forked from anonymous/wormy.py
# Wormy (a Nibbles clone)
# By Al Sweigart al@inventwithpython.com
# http://inventwithpython.com/pygame
# Released under a "Simplified BSD" license
# This comment serves to tets git commiting with gist. Ignore me.
#KRT 14/06/2012 modified Start Screen and Game Over screen to cope with mouse events
#KRT 14/06/2012 Added a non-busy wait to Game Over screen to reduce processor loading from near 100%
import random, pygame, sys
@rymate1234
rymate1234 / index.php
Created January 20, 2013 08:19
MPD GUI
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MPD Web Client</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
package me.kieronwiltshire.simplereport;
import java.io.File;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
@rymate1234
rymate1234 / brain.txt
Last active December 15, 2015 04:19
What am I doing wrong halp pls
Zetagym are going to open a new gym in either Donton or Longley. Before Zetagym makes a decision, they need to carry out market research in that area. This is very important for a business like Zetagym, as the need to find out that their potential consumers in the area want from a gym. They need to know customer opinions about the other gyms in the area, so they can setup competitive pricing options accordingly in order to successfully compete with the other gyms.
There are two types of research Zetagym could carry out. Primary Research is when a business makes a survey and / or interviews people in order to gain opinions from their potential consumer base. Secondary Research is when a company carries out internet research and / or research from the library. Primary research is more expensive to carry out, however this shouldn't be a problem for Zetagym, as they are a national company. Also, the data that is collected from the primary research will be relevant to Zetagym. Secondary research is the exact oppos
@rymate1234
rymate1234 / brain.txt
Created March 19, 2013 23:09
Repost as other one derped
Zetagym are going to open a new gym in either Donton or Longley. Before Zetagym makes a decision, they need to carry out market research in that area. This is very important for a business like Zetagym, as the need to find out that their potential consumers in the area want from a gym. They need to know customer opinions about the other gyms in the area, so they can setup competitive pricing options accordingly in order to successfully compete with the other gyms.
There are two types of research Zetagym could carry out. Primary Research is when a business makes a survey and / or interviews people in order to gain opinions from their potential consumer base. Secondary Research is when a company carries out internet research and / or research from the library. Primary research is more expensive to carry out, however this shouldn't be a problem for Zetagym, as they are a national company. Also, the data that is collected from the primary research will be relevant to Zetagym. Secondary research is the exact oppos
@rymate1234
rymate1234 / gist:5985618
Created July 12, 2013 16:09
wtf is with this code
package net.rymate.markoveriewer;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jibble.jmegahal.JMegaHal;
import org.jibble.pircbot.PircBot;
/*
* Blur.js
* Copyright Jacob Kelley
* MIT License
*/
(function ($) {
$.fn.blurjs = function (options) {
var canvas = document.createElement('canvas');
var isCached = false;
default: default
groups:
manager:
permissions:
- essentials.*
groups:
- default
meta:
prefix: '&c[Manager]'
default:
minecraft@znc:~/Minecraft-Overviewer$ python main.py ~/vanilla/world/ /var/www/oil/
2013-11-02 19:31:26 Welcome to Minecraft Overviewer!
2013-11-02 19:31:26 E Could not find the textures while searching for 'assets/minecraft/textures/blocks/stone.png'. Try specifying the 'texturepath' option in your config file.
Set it to the path to a Minecraft Resource pack.
Alternately, install the Minecraft client (which includes textures)
Also see <http://docs.overviewer.org/en/latest/running/#installing-the-textures>
(Remember, this version of Overviewer requires a 1.6-compatible resource pack)
(Also note that I won't automatically use snapshots; you'll have to use the texturepath option to use a snapshot jar)
minecraft@znc:~/Minecraft-Overviewer$ wget https://s3.amazonaws.com/Minecraft.Download/versions/1.6.2/1.6.2.jar -P ~/.minecraft/versions/1.6.2/
--2013-11-02 19:31:51-- https://s3.amazonaws.com/Minecraft.Download/versions/1.6.2/1.6.2.jar
Ryan@Ryan-PC /z/GitHub/Minecraft-Overviewer
$ gdb-python27.exe python
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
For bug reporting instructions, please see: