Skip to content

Instantly share code, notes, and snippets.

View payne's full-sized avatar

Matt Payne payne

View GitHub Profile
@payne
payne / JavaScriptFun.md
Last active May 2, 2019 03:29
Some JavaScript things

Game examples

  1. Opensource game development kit that teaches how to make a breakout game. http://end3r.github.io/Gamedev-Canvas-Content-Kit/
  2. https://nscoders1.github.io/pong/game.html by Marc-André Cournoyer
  3. Space Invaders by Mary Rose Cook a. http://annotated-code.maryrosecook.com/space-invaders/index.html is the game and the source code b. https://vimeo.com/105955605 video of Mary live coding the game in 30 minutes
  4. https://repl.it/@payne/mini-asteroids-1 is the simple click to add a pokemon character example I mentioned. Might be used as a basis for a game.

Books

  1. http://jsforcats.com/
@payne
payne / pom.xml
Created March 20, 2019 12:04 — forked from 3355844/pom.xml
Finished Simple JDBC(mySql) jsp servlet CRUD
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>lalala</groupId>
<artifactId>lalala</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>lalala Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
@payne
payne / talk_2019_03_14_links.md
Last active March 15, 2019 21:43
Links from 3/14/19 talk on The Coding Train (brought to you by the TechOmaha data set)
@payne
payne / index.js
Created February 18, 2019 02:01
TechOmahaDataSetPlay created by payne - https://repl.it/@payne/TechOmahaDataSetPlay
const request = require('request');
const url='https://raw.githubusercontent.com/payne/TechOmaha.Dataset/master/TechOmaha.json';
request(url, function (error, response, body) {
const t = JSON.parse(body);
console.log(`There are ${t.groups.length} groups`)
const inactive = t.groups.filter(g => g.active === false);
console.log(`${inactive.length} are not active.`);
console.log('Here are notes about those groups:');
inactive.forEach(ig => {
console.log(`\t${ig.name}`);
@payne
payne / notes.md
Last active December 26, 2018 02:22
angular-firestarter getting started notes

Start the project

  1. git clone https://github.com/codediodeio/angular-firestarter.git f2
  2. cd f2
  3. time npm install # takes 13 minutes & 36 seconds on my computer
  4. vim src/environments/environments.ts
  5. cd functions/;npm install --save firebase-functions@latest

Provision the project on Firebase.com

@payne
payne / beancount-export-patreon.js
Created November 6, 2018 00:21 — forked from riking/beancount-export-patreon.js
Beancount exporter for Patreon transactions.
(function() {
// Copyright 2018 Google LLC
//
// Licensed 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
@payne
payne / README.md
Created August 31, 2018 00:28 — forked from CodingDoug/README.md
Building an assistant (chatbot) that translates languages, integrated with Slack
@payne
payne / Bookmarklet Notes
Created April 1, 2018 20:37
Bookmarklet Notes
1. https://medialab.github.io/artoo/generator/
2. http://bookmarklets.org/maker/
3. https://mrcoles.com/bookmarklet/
@payne
payne / tmux.cheat
Created August 18, 2017 18:39 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
@payne
payne / tmux.cheat
Created August 18, 2017 18:39 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &