Skip to content

Instantly share code, notes, and snippets.

View c-st's full-sized avatar

Christian Stangier c-st

View GitHub Profile
@c-st
c-st / README.md
Created August 7, 2019 13:14 — forked from heitorlessa/README.md
Webpack+SAM+Typescript example

Thread: https://twitter.com/heitor_lessa/status/1137361365818060800

  • Local prototyping with hot-reloading and step through debugging: npm run watch
  • Bundle, minify and valid structure for SAM package/deploy: npm run build

TL;DR

  • Webpack is instructed to dynamically look up for index.ts within src folder -- (src/function1/index.ts, src/function2/index.ts)
  • Webpack builds a bundle per function to build/function1/index.js, build/function2/index.js...
  • SAM CodeUri is set to the build folder build/function1
@c-st
c-st / learning-react.md
Created January 4, 2019 20:39
React learning resources

Javascript ES6/7

Cheatsheet for some Javascript language features. Not all of this is very relevant for getting started, but in React some language features are used very often. For example: classes, destructuring, default/rest/spread operators.

The book series called "You don't know JS" is also quite good.

React Basics

This one looks like a good video tutorial for starting from the beginning: Beginner's guide to React.

This file has been truncated, but you can view the full file.
[info] Loading project definition from /usr/src/app/project
[info] Set current project to pp-backend (in build file:/usr/src/app/)
[info] Running Server 
Server is now running at http://0.0.0.0:8080
[INFO] [09/08/2017 16:12:14.038] [akka-system-akka.actor.default-dispatcher-2] [akka://akka-system/user/$a] [foo] User bar joined room (spectator: false).
[INFO] [09/08/2017 16:14:51.634] [akka-system-akka.actor.default-dispatcher-2] [akka://akka-system/user/$a] [foo] User bar left room
[INFO] [09/08/2017 16:33:21.156] [akka-system-akka.actor.default-dispatcher-66] [akka://akka-system/user/$b] [metro] User chris joined room (spectator: false).
[INFO] [09/08/2017 16:35:48.413] [akka-system-akka.actor.default-dispatcher-62] [akka://akka-system/user/$b] [metro] chris initiated an estimation for 'foo'
[INFO] [09/08/2017 16:35:56.328] [akka-system-akka.actor.default-dispatcher-55] [akka://akka-system/user/$b] [metro] User dffddf joined room during an ongoing e
@c-st
c-st / keybase.md
Last active August 29, 2015 13:59

Keybase proof

I hereby claim:

  • I am c-st on github.
  • I am chris_st (https://keybase.io/chris_st) on keybase.
  • I have a public key whose fingerprint is E29E 44AF 1709 4DB2 4FBD A7B4 DF5C 031A 85C4 4329

To claim this, I am signing this object: