Skip to content

Instantly share code, notes, and snippets.

View mattmontgomery's full-sized avatar

Matt Montgomery mattmontgomery

View GitHub Profile
#!/usr/bin/python
import sys
import subprocess
import re
from distutils.util import strtobool
output = subprocess.check_output(['git', 'branch'])
lines = output.split('\n')
branch_name = ''
import App from './App';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as AuthActions from 'Actions/AuthActions';
export default connect(
({ app }) => ({
...app
}),
(dispatch) => ({
@mattmontgomery
mattmontgomery / onitama-possibilities.ts
Created April 18, 2020 19:02
A quick stab at the number of possibilities for a starting Onitama outlay.
import { Set } from "typescript-collections";
const cards: string[] = [
"Boar",
"Cobra",
"Crab",
"Crane",
"Dragon",
"Eel",
"Elephant",
"Frog",
{
"audio": {
"enabled": true,
"muted": true,
"src": "/audio/music.mp3"
},
"loader": { "btnWording": "SELAMAT DATANG" },
"menu": {
"title": "Madripoor",
"menulist": [