This is side-document providing details for some highlighted changes in 2.5.0. For a full list of changes, see the full release note.
var babelHelpers = {}; | |
babelHelpers.typeof = | |
typeof Symbol === "function" && typeof Symbol.iterator === "symbol" | |
? function (obj) { | |
return typeof obj; | |
} | |
: function (obj) { | |
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype | |
? "symbol" |
# show pmsettings (see `man pmset` or http://bit.ly/1LDWm37) | |
pmset -g | |
# see what wakes up your host | |
syslog |grep -i "Wake reason" | |
# turn off sleep settings | |
sudo pmset ttyskeepawake 0 | |
sudo pmset womp 0 | |
sudo pmset powernap 0 |
Keystone comes completely set up to install on Heroku in a couple of steps.
1. Sign up for a Heroku account and install the Heroku Toolbelt.
Log in with it and you're ready to begin. Heroku uses git to deploy a new site, so with that in mind:
2. Create a new repository on Github and then clone it.
fluid-aspect is a Sass mixin for creating intrinsic ratios in CSS. Intrinsic ratios allow elements to fill the width of their containing block and resize on the fly while maintaining their aspect ratio.
@include fluid-aspect($ratio, [$target]);
- $ratio: An aspect ratio represented as two numbers separated by a space. Defaults to 1:1
- $target: A selector targeting the element to be made fluid. Defaults to "> :first-child"
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
##Create an alias to MAMP's PHP installation
To do this, we can simply create an alias for our bash profile. We'll be doing this is nano, though you can do it in vim or a number of other editors as well.
Within the terminal, run:
nano ~/.bash_profile
This will open nano with the contents, at the top in a blank line add the following line: