Skip to content

Instantly share code, notes, and snippets.

View mannycolon's full-sized avatar
👨‍💻
Coding Remotely

Manny Colon mannycolon

👨‍💻
Coding Remotely
View GitHub Profile
// 1. Text strings =====================================================================================================
// Modify these strings and messages to change the behavior of your Lambda function
var languageStrings = {
'en': {
'translation': {
'WELCOME' : "Welcome to North Jersey Guide!",
'HELP' : "Say about, to hear more about the city, or say coffee, breakfast, lunch, or dinner, to hear local restaurant suggestions, or say recommend an attraction, or say, go outside. ",
'ABOUT' : "North Jersey is a city on the Atlantic Ocean. A popular summer beach destination, Gloucester has a rich history of fishing and ship building.",
var wordsmithKey = 'YOUR KEY HERE';
var Alexa = require('alexa-sdk');
var https = require('https');
// 1. Text strings =====================================================================================================
// Modify these strings and messages to change the behavior of your Lambda function
var languageStrings = {
'en': {
const HtmlWebpackPlugin = require('html-webpack-plugin')
const path = require('path')
const webpack = require('webpack')
module.exports = {
entry: ['react-hot-loader/patch', './playground/index.js'],
devServer: {
contentBase: './dist',
hot: true,
@mannycolon
mannycolon / gist:3cd382cd1a43bac93c0c06d6993a6414
Created October 3, 2018 19:54
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
import React, { Component } from 'react'
class Index extends Component {
render() {
return (
<div className="container">
<h1>Braintree Next.js App</h1>
<style jsx>{`
.loading-container {

PreloadableWorker

There's no way to <link rel=preload> a Web Worker. This fixes that.

npm i -S gist:developit/567dde2346d785b2628224fddbf6783c

<!-- workers are now just a normal script preload: -->
<link rel=preload href=/path/to/worker.js as=script crossorigin>
{
"name": "sample-react-component-library",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
{
"presets": [
[
"@babel/env",
{
"modules": false,
"useBuiltIns": "usage",
"corejs": 3
}
],
module.exports = {
components: 'src/components/**/[A-Z]*.js',
webpackConfig: {
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: "babel-loader"
}
import React from 'react';
export default function Button({ text }) {
return <button>{text}</button>;
}