W3C Introduction to Web Components - explainer/overview of the technologies
# pages/1_introduction.tex | |
\chapter{Introduction} | |
Introduction of the best paper ever! |
// Because people can't seem to find the gist description, here is the source | |
// of this code, a post found in last weeks JS Weekly, it is not my code | |
// http://www.angularails.com/articles/creating_simple_directive_in_angular | |
angular.module('ui-multi-gravatar', []) | |
.directive('multiAvatar', ['md5', function (md5) { | |
return { | |
restrict: 'E', | |
link:function(scope, element, attrs) { |
/* Capability css-animation is prefixed with -moz because omitting it would affect 1.03559% of users and the threshold is 0.1%. */ | |
@-moz-keyframes foo { | |
0% { | |
/* Content for ie 8 omitted. | |
Not allowed in the current scope: The ie 8 is incompatible with -moz. */ | |
opacity: 0; } | |
100% { | |
/* Content for ie 8 omitted. | |
Not allowed in the current scope: The ie 8 is incompatible with -moz. */ |
⇐ back to the gist-blog at jrw.fi
First there was JSLint, and there was much rejoicing. The odd little language called JavaScript finally had some static code analysis tooling to go with its many quirks and surprising edge cases. But people gradually became annoyed with having to lint their code according to the rules dictated by Douglas Crockford, instead of their own.
So JSLint got forked into JSHint, and there was much rejoicing. You could set it up to only complain about the things you didn't want to allow in your project, and shut up about the rest. JSHint has been the de-facto standard JavaScript linter for a long while, and continues to do so. Yet there will always be things your linter could check for you, but doesn't: your team has agreed on some convention that makes sense for them, but JSHint doesn't have an option
description "Foo application Node.js service" | |
author "Niklas Närhinen" | |
setuid foo | |
start on (local-filesystems and net-device-up) | |
stop on shutdown | |
respawn | |
respawn limit 5 60 |
follow official guide
$ echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install postgresql-9.3 postgresql-contrib-9.3
you should succesfully installing postgresql 9.3.2 on your machine.