I hereby claim:
- I am aethant on github.
- I am atelischak (https://keybase.io/atelischak) on keybase.
- I have a public key ASA6RcQgtJW9VumgfIw7MR54FwRAArlIT4lbWbnehs4N-Qo
To claim this, I am signing this object:
const postingStates = { | |
initial: 'posting', | |
states: { | |
posting: { // posting processing starts | |
entry: ['handlePost'], // handle POST | |
on: { | |
SUCCESS: "success", // POST succeeded | |
ERROR: "error", // POST failed |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
import React from 'react' | |
import { render } from 'react-dom'; | |
import { Router, Route } from 'react-router-dom'; | |
import LazyRoute from 'lazy-route'; | |
const App = () => { | |
render() { | |
return ( | |
<Router> | |
<Route |
const a = [ 23, 3, [ 5, 12, ], 11, ] | |
const b = [ [23, [233, 9, ], 11, ], 13, ] | |
const c = [ [ [ 222, 34, 55, 1, 7, ], 9, 1500, ], ] | |
const shallowify = arr => { | |
let results = [] | |
arr.forEach(arrEl => { | |
if (arrEl.constructor === Array) { | |
results = [...results, ...shallowify(arrEl), ] | |
} else { |
I hereby claim:
To claim this, I am signing this object:
FROM node:6.1 | |
RUN groupadd -r application && useradd -r -g application application | |
ENV HOME=/home/application | |
COPY package.json $HOME/mc/ | |
RUN chown -R application:application $HOME/* && chown -R application:application $HOME/* | |
RUN /bin/su application |
<?php | |
// These are just the basics for how to do this. Notes: | |
// - Not fully tested. | |
// - Not suitable for production. | |
// - May not work well if large ammounts of data. | |
// - Requires AWS SDK for PHP and http://php.net/manual/en/book.zip.php | |
require '/path/to/sdk-or-autoloader'; |
Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...
Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.
Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.
This is a proof of concept which allows you to replay system events in a random order each time to make sure your UI can tolerate variable states.
I'm not sure if this is worthy of its on open source project with additional features like changing play back time, whitelisting/blacklisting actions etc but figured I'd put this out there to see if it piques anyones interest.
See a video of this in action here: [https://www.youtube.com/watch?v=wkoukONfwmA](Video on YouTube).
#!/bin/bash | |
echo "Install brew" | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install caskroom/cask/brew-cask | |
echo "" | |
echo "Install apps" | |
brew cask install --appdir="/Applications" java google-chrome skype vagrant phpstorm firefox radiant-player mysqlworkbench sequel-pro textwrangler | |
brew cask install --appdir="/Applications" libreoffice slack dropbox imageoptim tunnelblick virtualbox virtualbox-extension-pack the-unarchiver | |
brew cask install --appdir="/Applications" ccleaner android-studio purevpn cyberduck ccleaner calibre coconutbattery flash-player | |
brew cask install --appdir="/Applications" spectacle vlc kodi xquartz inkscape launchrocket ngrok transmission gog-galaxy origin steam |