Skip to content

Instantly share code, notes, and snippets.

Walter Lim waltzaround

Block or report user

Report or block waltzaround

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 Privacy Policy.md

Pew Pew VR Privacy Policy

We collect the following data to make the game function:

  • Microphone Input - This data is not stored on or transmitted out of your device.

We use this information in order to:

  • Make the game function - This data is not stored on or transmitted out of your device.

Providing this information is optional. If you choose not to grant microphone access, you'll be unable to play the game as it requires a way to hear you make PEW PEW PEW noises.

View headermenu.js
export default () => [
{
key: 'habout',
text: 'About',
href: '/about'
},
{
key: 'horgs',
text: 'Organisations',
href: '/orgs'
View submenu.js
import styled from 'styled-components'
import PropTypes from 'prop-types'
import Link from 'next/link'
import { withRouter } from 'next/router'
import { Menu, Avatar } from 'antd'
const { SubMenu } = Menu
const StyledMenu = styled(Menu)`
font-weight: bold;
letter-spacing: -0.6px;
View programming is hard
var Car = function() {
// this is a private variable
var speed = 10;
// these are public methods
this.accelerate = function(change) {
speed += change;
};
View gist:26e6837e652501efecb9727f8cbc534d
// iterate through the number of objects in the array
// check first names against firstName
// does it have the property we are looking for? if it does, carry on to the next line
// then return the property we are looking for
// otherwise...
// return the fact that we dont have the property we are looking for
// if we dont have the property or the name...
// then return the fact that we dont have the name in our objects
View gist:e534a10fc6cb69fbeb4a0c6b269daa0b
//Setup
var contacts = [
{
"firstName": "Akira",
"lastName": "Laine",
"number": "0543236543",
"likes": ["Pizza", "Coding", "Brownie Points"]
},
{
View test
<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>HTML5 Face Detection</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<div class="wrapper">
<h1>HTML5 GLASSES</h1>
<p>Created by Walter Lim. See full details</p>
View gist:d69bdfcb187aeaf36ffe4fa2ebc5a115
package supersample;
import java.awt.Color;
import java.awt.geom.Point2D;
import robocode.*;
import robocode.util.Utils;
/**
* SuperSpinBot - a Super Sample Robot by CrazyBassoonist based on the robot RamFire by Mathew Nelson and maintained by Flemming N. Larsen.
*
View gist:36b27cb78337bc353abbcd88a8360484
//begin tutorial 13
var CommentBox = react.createClass({
getInitialState: function() {
return {data: []};
},
componentDidMount: function() {
$.ajax({
url: this.props.url,
datatype: 'json',
cache: false,
View screen 4
/* we can’t find food t: */
font-family: Calibre-Regular;
font-size: 21px;
color: #FFFFFF;
letter-spacing: 1.04px;
line-height: 27px;
/* Rectangle: */
border: 3px solid #FCE4EC;
You can’t perform that action at this time.