My flavour/fork of the an OSX setup guide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ol> | |
<li> | |
<span>A long sentence must be hidden</span> | |
<span>that must be inline-block</span> | |
</li> | |
<li> | |
<span>Cras dignissim cursus nibh. Curabitur.</span> | |
<span>In hac habitasse platea dictumst.</span> | |
</li> | |
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://biostall.com/javascript-new-date-returning-nan-in-ie-or-invalid-date-in-safari | |
var d = new Date(2011, 01, 07); // yyyy, mm-1, dd | |
var d = new Date(2011, 01, 07, 11, 05, 00); // yyyy, mm-1, dd, hh, mm, ss | |
var d = new Date("02/07/2011"); // "mm/dd/yyyy" | |
var d = new Date("02/07/2011 11:05:00"); // "mm/dd/yyyy hh:mm:ss" | |
var d = new Date(1297076700000); // milliseconds | |
var d = new Date("Mon Feb 07 2011 11:05:00 GMT"); // ""Day Mon dd yyyy hh:mm:ss GMT/UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone $1 unique_local_name | |
cd unique_local_name | |
for remote in `git branch -r | grep -v master `; \ | |
do git checkout --track $remote ; done | |
git remote add neworigin $2 | |
git push --all neworigin | |
git push --tags neworigin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tell slack when your AWS instance has restarted | |
# | |
# 1. Replace the slack service hook (or entire script from `curl -X POST...`) | |
# 2. Put this file in your .ebextensions folder called tell_slack.config | |
# | |
# .ebextensions/ | |
# └── tell_slack.config | |
# | |
# On your deployed server tell_slack.sh should be AUTOMATICALLY generated in /opt/elasticbeanstalk/hooks/appdeploy/post | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# | |
# ``` | |
# $sh tell-slack-git-log.sh 2 | |
# ``` | |
# | |
# Creates slack message: | |
# ``` | |
# Changes: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getService = function (serviceName) { | |
return angular.element(document.body).injector().get(serviceName); | |
} | |
var getRootScope = function () { | |
return angular.element(document.body).scope().$root; | |
} |
Babel 6 was just released! This means that it might take some time for all possible integrations to upgrade. Make sure to check the compatibility of your chosen integration. https://babeljs.io/blog/2015/10/29/6.0.0/
ES6 modules now need the following:
Added to package.json
:
The unnoffical Babel 6 Babel 5 style legacy decorator plugin has a slightly different implementation of that actual Babel 5 decorator implementation.
What decorator support does Babel 5 and Babel 6 have?
...the intention is still for Babel 6 to implement the new proposal once it has been officially presented to TC39.
-source: loganfsmyth on Phabricator
So Babel 5 supported the old decorator spec, Babel 6 will support the new decorator spec - when the new spec is settled.
OlderNewer