New ES6 Features
React
MongoDB
Meteor
This will take 5 weeks ⇒ 1month + 1 week
New ES6 Features
(Half a week)
- Re-Introduction to Programming Languages
- What is ES6 Classes
class Example extends React.Component< | |
Props, | |
State, | |
Snapshot | |
> { | |
static getDerivedStateFromProps( | |
nextProps: Props, | |
prevState: State | |
): $Shape<State> | null { | |
// ... |
New ES6 Features
React
MongoDB
Meteor
This will take 5 weeks ⇒ 1month + 1 week
New ES6 Features
(Half a week)
git branch | grep -v "master\|develop" | xargs git branch -D |
/************************************************************************ | |
* This is a set of functions to search entire DB by simple keyword. * | |
* * | |
* Developered by Won Dong([email protected]) * | |
* * | |
* * Usage: searchAll('any keyword') * | |
* * | |
*************************************************************************/ | |
function createOR(fieldNames, keyword) { |
#!/bin/bash | |
# Taken from https://blog.mvp-space.com/how-to-dockerize-a-meteor-app-with-just-one-script-4bccb26f6ff0 | |
APP_NAME=myapp | |
APP_DOMAIN=localhost | |
APP_PORT=3000 | |
SETTINGS_PATH=.config/staging/settings.json | |
MONGO_URL=localhost | |
MONGO_PORT=27017 | |
MONGO_DB=myappdb |
Run go install
and
gogitlocalstats -add /path/to/folder
will scan that folder and its subdirectories for repositories to scangogitlocalstats -email [email protected]
will generate a CLI stats graph representing the last 6 months of activity for the passed email. You can configure the default in main.go
, so you can run gogitlocalstats
without parameters.Being able to pass an email as param makes it possible to scan repos for collaborators activity as well.
Web have a node application written in ES6/babel which cannot (yet) be run by the latest stable node engine.
Locally we use babel-node
to run the application using babel's on-the-fly transpiler;
However this is strongly discourages on the production environment (due to memory and performance footprints).
So we would need to transpile our application to the stable ECMA and deploy the artefacts to Azure -- instead of the original app.
var CTRL_CHAN, DOOR_STATES, HOME_CHAN, LIFTMASTER_PASSWORD, LIFTMASTER_USERNAME, | |
MyQ, PUB_KEY, PubNub, SUB_KEY, garage, initPubNub, makeHandler, pubnubConns, | |
refreshStatus, _; | |
_ = require('underscore'); | |
MyQ = require('liftmaster'); | |
PubNub = require('pubnub'); | |
LIFTMASTER_USERNAME = 'YOUR_LIFTMASTER_USERNAME'; | |
LIFTMASTER_PASSWORD = 'YOUR_LIFTMASTER_PASSWORD'; |