#LoopBack cheat sheet
##Recipies
Instantiate the sls-sample-app
slc example
cd sls-sample-app
slc install| var bgColor = 'EBEBEB'; | |
| var btnColor = '#9a0707'; | |
| var createAboutWindow = function(app) { | |
| var win = Ti.UI.createWindow({ | |
| title: 'About', | |
| layout: 'vertical', | |
| backgroundColor: bgColor | |
| }); |
| var data = [ | |
| { | |
| "id": 1, | |
| "title": 'LinkedIn', | |
| "url_scheme": 'linkedin:', | |
| "appID": '288429040', | |
| "appName": 'LinkedIn App', | |
| "appPublisher": '6 Wunderkinder', | |
| "category": 'Productivity', | |
| "isPublic": true, |
#StrongLoop StrongNode
#Playground
...that is all
| letter | frequency | |
|---|---|---|
| A | .08167 | |
| B | .01492 | |
| C | .02780 | |
| D | .04253 | |
| E | .12702 | |
| F | .02288 | |
| G | .02022 | |
| H | .06094 | |
| I | .06973 |
| // Generated by CoffeeScript 1.3.3 | |
| (function() { | |
| var clockGroup, fields, height, offSetX, offSetY, pi, render, scaleHours, scaleMins, scaleSecs, vis, width; | |
| fields = function() { | |
| var currentTime, data, hour, minute, second; | |
| currentTime = new Date(); | |
| second = currentTime.getSeconds(); | |
| minute = currentTime.getMinutes(); | |
| hour = currentTime.getHours() + minute / 60; |
Simple Angular App Example, Disconnected and Mocked inline html and javascript
simply clone the repo locally and
git clone https://gist.github.com/6755421.git AngularStandalone
cd AngularStandalone
open index.htmlUsing the Yeoman Mobile Generator (https://github.com/yeoman/generator-mobile)
npm install -g generator-mobile