https://robots.thoughtbot.com/how-to-make-a-chrome-extension
Tag: javascript
Front end Developer Interview Questions
Github repo with all of the questions: https://github.com/h5bp/Front-end-Developer-Interview-Questions ᔥ
Blog post with some questions: http://darcyclarke.me/development/front-end-job-interview-questions/
intercooler.js: Add AJAX behavior using attributes on anchor tags
<-- This anchor tag posts to '/click' when it is clicked -->
<a ic-post-to="/click">
Click Me!
</a>
AniJS: Small Javascript animation library
- Include the AniJS library.
<script src="anijs-min.js"></script>
- Optionaly you can include some CSS animation definitions.
<head> <!-- Animate.css library --> <link rel="stylesheet" href="http://anijs.github.io/lib/animationcss/animate.css"> </head>
- Start playing by adding data-anijs tag to any HTML element.
<body> <header data-anijs="if: click, do: flipInY animated"> header </header> <nav data-anijs="if: scroll, on: window, do: swing animated, to: footer"> nav </nav> <div id="main" data-anijs="if: mouseover, on: body, do: swing animated"> if: load, on: window, do: swing animated </div> <footer> footer </footer> <script src="anijs-min.js"></script> </body>
Also check out AniJS Studio. A Chrome Extention for prototyping AniJS animations on any page.
Node Version Manager: Manage multiple active node.js versions
https://github.com/creationix/nvm ᔥ
Commands
$ nvm [tab][tab]
alias deactivate install ls run unload
clear-cache exec list ls-remote unalias use
current help list-remote reinstall-packages uninstall version
Two Microsoft Windows alternatives:
- nvmw – Requires Python and Git
- nvm-windows – Written in Go. Installer available.
snabbt.js: Minimal Javascript animation library
http://daniel-lundin.github.io/snabbt.js/index.html ᔥ
Warning: snabbt.js is under development, breaking changes could occur. This document should be seen as a draft.
Overture JS: (Really fast) JavaScript library powering Fastmail
I use Fastmail as my webmail client, and it’s one of the best performing web applications I’ve ever used. They have open sourced their Javascript library.
Flow: Open Source JavaScript Static Type Checker from Facebook
Example 1:
/* @flow */
function foo(x) {
return x * 10;
}
foo('Hello, world!');
$> flow
hello.js:5:5,19: string
This type is incompatible with
hello.js:3:10,15: number
Example 2:
/* @flow */
function foo(x: string, y: number): string {
return x.length * y;
}
foo('Hello', 42);
$> flow
hello.js:3:10,21: number
This type is incompatible with
hello.js:2:37,42: string
Podcast (The Changelog): The Road to Ember 2.0 with Tom Dale and Yehuda Katz
I enjoyed this podcast. I was not familiar with Ember, but I’m going to check it out after listening to this.