Skip to content

Instantly share code, notes, and snippets.

/*
* Blur.js
* Copyright Jacob Kelley
* MIT License
*/
(function ($) {
$.fn.blurjs = function (options) {
var canvas = document.createElement('canvas');
var isCached = false;
@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;
@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 / 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
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 / 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="">
@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 / gist:4197163
Created December 3, 2012 19:06
Manifest file for blade2
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Remotes -->
<remote name="aosp"
fetch="https://android.googlesource.com/" />
<remote name="b2g"
fetch="git://github.com/mozilla-b2g/" />
<remote name="mozilla"
fetch="git://github.com/mozilla/" />
package rymate.irc;
import java.util.Scanner;
import javax.swing.JTextArea;
import org.pircbotx.PircBotX;
import org.pircbotx.hooks.Listener;
import org.pircbotx.hooks.ListenerAdapter;
import org.pircbotx.hooks.events.JoinEvent;
import org.pircbotx.hooks.events.MessageEvent;
@rymate1234
rymate1234 / add.php
Created March 17, 2012 22:32
wut O_o
<?php
$user = $_POST['username'];
$captcha_idx = trim($_POST['captcha_index']);
$captcha = trim($_POST['captcha']);
require_once("questions.php");
require_once('recaptchalib.php');
$privatekey = "6LdpEc8SAAAAAJuq24X8fM9kBp3XerQssMwAPC-H";
$resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]);