Skip to content

Instantly share code, notes, and snippets.

View WaygoneWilco's full-sized avatar

Aaron Martz WaygoneWilco

View GitHub Profile
@WaygoneWilco
WaygoneWilco / udemyIntermediateDart.md
Last active June 5, 2018 17:29
Udemy Dart Course

Classes are blueprints

Classes have lifecycles

class Animal { String _name =' ';

void sayHello() { if (_name.isEmpty) { print('Hello'); }

Variables

Either explicit or implicit type //assigning type can be considered best practice. It provides better errors and simplifies var x = 5 //implicit INT String coolWord = "antelope" //explicit type

VAR coolWord OBJECT String VALUE "antelope"

Six specific types: Integers, Strings, floating-point numbers, booleans, lists, maps

Operators

@WaygoneWilco
WaygoneWilco / lunimus-notes.md
Last active March 16, 2018 22:16
Luminus app dev notes

Different namespaces:

core - manages the lifecycle of the HTTP server
-main is the entry point
start-app starts the app
stop-app ends the app
luminus defaults to Immutant HTTP server
handler - aggregates all of the routes and then wraps them with necessary middleware
routes - contains the namespaces that are responsible for handling different types of client request
db - reserved for the data model of the application and persistence layer
layout - logic for generating the application layout

0429abae9b5421e3e07cb4eccbed841e512d55716f0372f555fc95e7aa8ae10d518639a1e59fa364016197a6cf1065740530f9fb4b1b85834066edfe9c317d12c6

Keybase proof

I hereby claim:

  • I am waygonewilco on github.
  • I am waygonewilco (https://keybase.io/waygonewilco) on keybase.
  • I have a public key ASBOtpGRKbvxW1-ch8I3a0TMuBqsb1cpBUJmVsBGOycMkwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am waygonewilco on github.
  • I am waygonewilco (https://keybase.io/waygonewilco) on keybase.
  • I have a public key ASAtPMjI5wqjue2HRzvJ_6R_HhCyf6h3ipjTDBS2HTXCCAo

To claim this, I am signing this object: