Skip to content

Instantly share code, notes, and snippets.

Kenneth Lim limzykenneth

Block or report user

Report or block limzykenneth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View chippy.json
"<start>": "<menu-items>",
"<menu-items>": ["<batter> fish", "<batter> chips", "curry chips", "fried chicken", "<batter> cod", "<batter> haddock", "<batter> plaice", "<batter> skate", "fish cake", "<batter> scampi", "fish fingers", "nuggets", "<big> <batter> <vege> saussage", "<big> <batter> saveloy", "<batter> roe", "<batter> onion rings", "beef burger", "cheeseburger", "chicken burger", "<vege> burger","jacket potato", "<pie-ingredient> pie", "<condiments>", "<mush> peas", "coleslaw", "gravy", "pickled <pickling>", "brown sauce", "<drink>", "<punctuation>"],
"<drink>": ["coke", "orange pop", "irn-bru", "lemonade", "<salad-type> salad"],
"<kebab>": [],
"<salad-type>": ["greek", "prawn", "mixed"],
"<pie-ingredient>": ["steak & kidney", "chicken & mushroom", "beef & onion"],
"<condiments>": ["vinegar", "mayonaise", "ketchup"],
"<batter>": ["", "", "", "", "battered"],
"<mush>": ["", "mushy"],
View main.cpp
#include <iostream>
#include <math.h>
#include <stdint.h>
#include <random>
#include <chrono>
#include <stdlib.h>
using namespace std;
uint64_t gcd(uint64_t a, uint64_t b);
limzykenneth / vertigo-harmonograph.js
Created Feb 16, 2017
Vertigo poster graphics generator written in p5.js. Translated to p5.js from
View vertigo-harmonograph.js
// Stop after how many frames
var iterations = 4000;
// The higher the damping the less the pendulum will shift its position
// ie. damping of 1000 or more will just draw concentric spirals
var damping = 400;
function setup() {
// Create canvas
var canvas = createCanvas(500, 500);
// Give canvas an id in order to style it with CSS later

Deploy your site with git securely

This gist assumes:

  • you have a local git repo
  • you have an online remote repository (github)
  • you have a server running Apache with git already installed

you should be able to do the same with Java, Perl, RoR, JSP etc. however you'll need to recreate the (rather simple) PHP script

You can’t perform that action at this time.