- Multiple Each Item in a List by 2:
[X * 2 || X <- lists:seq(1, 11)].| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
| -module(quicksort). | |
| -export([quicksort/2]). | |
| quicksort(List, SpawnFactor) when SpawnFactor > 0 -> | |
| Self = self(), | |
| Child = spawn(fun() -> quicksort(Self, List, SpawnFactor) end), | |
| receive | |
| {Child, SortedList} -> SortedList | |
| end. |
| 'use strict'; | |
| var React = require('react-native'); | |
| var { | |
| AppRegistry, | |
| StyleSheet, | |
| Text, | |
| View, | |
| NativeModules, | |
| TouchableHighlight, |
| /* | |
| Adicione o lodash | |
| <script src="lodash.js"></script> | |
| */ | |
| function LineColors(dados){ | |
| var o = {}; | |
| _.forEach(dados, function(d){ | |
| var n = {}; |
| module.exports = { | |
| courses: [ | |
| { | |
| id: "clean-code", | |
| title: "Clean Code: Writing Code for Humans", | |
| watchHref: "http://www.pluralsight.com/courses/writing-clean-code-humans", | |
| author: { | |
| id: "cory-house", | |
| name: "Cory House" | |
| }, |
###Icons
| Name | Size |
|---|---|
| iphone_2x | 120x120 |
| iphone_3x | 180x180 |
| ipad | 76x76 |
| ipad_2x | 152x152 |
| android_ldpi | 36x36 |
| android_mdpi | 48x48 |
This example uses hammer.js & vector.js
A Pen by Samuel V Sylvester on CodePen.
Illustrating vertically centered, responsive content.
A Pen by Robert Richey on CodePen.
(WebKit only - I did my best) A friend of mine, Kévin Bonache, helped me with the UI elements for my game, providing the image on the left. Here I take his static image and turn it into a live demo (on the right).
A Pen by Alex Gryson on CodePen.