Skip to content

Instantly share code, notes, and snippets.

[
{
"storeType": "TOS",
"brandId": "5",
"regionId": "6",
"name": "Hastings",
"directions": "We are situated opposite Hallenstein Brothers.",
"addressLine1": "100 Market Street",
"suburb": "Saint Leonards",
"city": "Hastings",
https://crimsondev.au.auth0.com/login?state=dS0ZjkZ5q_4GtGKY6SYFjAaOCT9LtJJm&client=aHqH08bnr138BBOdsQv8nMyZUGiDXvWM&protocol=oauth2&response_type=token%20id_token&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth-callback&scope=openid%20email&audience=https%3A%2F%2Fapi.crimsoneducation.org&nonce=iJFvCbGv2zDCQVTxpBsvKhZ4-pOe6vNV&auth0Client=eyJuYW1lIjoiYXV0aDAuanMiLCJ2ZXJzaW9uIjoiOS42LjEifQ%3D%3D
@Jtmaca9
Jtmaca9 / From-Scratch-RCA.md
Created June 1, 2018 02:11 — forked from miketamis/From-Scratch-RCA.md
What I would want from a React Create App

React Create App is great, and one of the biggest things making React more accessable. However I use more toolsets and different ones.

Requirements

Development Tools:

  • Automatic Page Reload
  • Hot Reloading
  • Intergration into text editor (at least VSCode, with its debug tools)
  • Static analysis for
  • general javascript tidyness / common problem (indentation, not assigning the right varibles etc)
@Jtmaca9
Jtmaca9 / nodejs-tcp-example.js
Created March 13, 2017 02:54 — forked from tedmiston/nodejs-tcp-example.js
Node.js tcp client and server example
/*
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp
server, but for some reason omit a client connecting to it. I added an
example at the bottom.
Save the following server in example.js:
*/
var net = require('net');
module.exports = function() {
const app = this;
const gameService = app.service('game');
gameService.create(null, "tiwas", "tiwas");
gameService.create(null, "rp", "rp");
gameService.create(null, "", "tiwas");
gameService.get("rp").then((game) => {console.log(game.time)});
gameService.get("tiwas").then((game) =>{console.log(game)});
var Set = require("collections/set");
var gameList = {};
function gameTiwas() {
this.time = 0;
};
function gameRp() {
this.time = 0;
var check = (props.chosenWord==vote.word);
return votes.map(function(vote) {
return <a className={classNames('btn', { btn-success: check},{btn-primary: !check})} key={vote.id} onClick={onclick}> {vote.word} <span className="badge">{vote.count}</span> </a>
});
var React = require('react');
var VoteWords = React.createClass({
getInitialState: function(){
return{
votes: []
}
},
var React = require('react');
var VoteWords = React.createClass({
getInitialState: function(){
return{
votes: []
}
},
var React = require('react');
var VoteWords = React.createClass({
getInitialState: function(){
return{
votes: []
}
},