- Multiple Each Item in a List by 2:
[X * 2 || X <- lists:seq(1, 11)].
To local.properties in Gradle Directory | |
============================= | |
storeFile=debug.keystore | |
storePassword=android | |
keyAlias=AndroidDebugKey | |
keyPassword=android | |
Commands | |
============================ |
<input type="button" onclick="run()" value="Start" /> | |
<div id="output" style="white-space:pre-wrap;"> | |
</div> |
<!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.