Skip to content

Instantly share code, notes, and snippets.

View WilliamKelley's full-sized avatar

William Kelley WilliamKelley

  • Hex Technologies
  • New York, NY
View GitHub Profile
@WilliamKelley
WilliamKelley / chromatic.yml
Last active June 8, 2021 17:43
[purpose:support] Publish to Chromatic Workflow
name: 'Chromatic'
on: [push, workflow_dispatch]
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
@WilliamKelley
WilliamKelley / (29:46) Home.js
Created October 17, 2017 04:28
Turbo 360: User Registration with React & Redux
import React, { Component } from 'react'
class Home extends Component {
constructor(){
super()
this.state = {
username: '',
password: ''
}
}
@WilliamKelley
WilliamKelley / (28:50) Home.js
Created October 17, 2017 04:21
Turbo 360: User Registration with React & Redux
import React, { Component } from 'react'
class Home extends Component {
constructor(){
super()
this.state = {
username: '',
password: ''
}
}
@WilliamKelley
WilliamKelley / (23:36) index.js
Created October 17, 2017 04:04
Turbo 360: User Registration with React & Redux
import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import store from './stores'
import { Provider } from 'react-redux'
import { Home } from './components/containers'
const app = (
<Provider store={store.configure(null)}>
<Home />
</Provider>
@WilliamKelley
WilliamKelley / (22:40) Home.js
Created October 17, 2017 03:58
Turbo 360: User Registration with React & Redux
import React, { Component } from 'react'
class Home extends Component {
render(){
return(
<div>
Home Component
</div>
)
@WilliamKelley
WilliamKelley / (21:18) index.js
Created October 17, 2017 03:50
Turbo 360: User Registration with React & Redux
/* * * * * * * * * * * * * * * * * * * * * * * * * * *
Export your container components here. The Users
container is just an example and you will likely
remove it in favor of your own containers.
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
import Home from './Home'
export {
// import npm packages here
var superagent = require('superagent')
var twilio = require('twilio')
// define your functions here:
module.exports = {
sms: (req, res) => {
if (req.query.message == null){
res.json({
confirmation: 'fail',
/node_modules/
/dist/
DOCUMENTATION.md
.DS_Store
@WilliamKelley
WilliamKelley / (v4 36:00) Messages.js
Created September 20, 2017 21:23
React-Native Tutorial: Snapchat Clone developed with Turbo360 -- Video 4 Transcription
import React, { Component } from 'react'
import { View, StyleSheet, Text, FlatList, TouchableOpacity, Modal, TextInput } from 'react-native'
import { AddMessage } from '../presentation'
import Turbo from 'turbo360'
import config from '../../config'
class Messages extends Component{
constructor(){
super()
@WilliamKelley
WilliamKelley / (v4 43:00) Messages.js
Last active September 20, 2017 21:25
React-Native Tutorial: Snapchat Clone developed with Turbo360 -- Video 4 Transcription
import React, { Component } from 'react'
import { View, StyleSheet, Text, FlatList, TouchableOpacity, Modal, TextInput } from 'react-native'
import { AddMessage } from '../presentation'
import Turbo from 'turbo360'
import config from '../../config'
class Messages extends Component{
constructor(){
...