- sans-serif 100 = Helvetica Light
- sans-serif 200 = Helvetica Light
- sans-serif 300 = Helvetica Light
- sans-serif 400 = Helvetica Regular
- sans-serif 500 = Helvetica Regular
- sans-serif 600 = Helvetica Bold
- sans-serif 700 = Helvetica Bold
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cordova.define("com.ibm.mobile.cordova.ibmdata.hybrid", function(require, exports, module) { /*! | |
| * Licensed Materials - Property of IBM | |
| * 5725-I43 (C) Copyright IBM Corp. 2011, 2014. All Rights Reserved. | |
| * US Government Users Restricted Rights - Use, duplication or | |
| * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. | |
| * | |
| * IBM Mobile Cloud Services, | |
| * IBMData Service JavaScript SDK v1.0.0.20140807-1234 | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function wlCommonInit(){ | |
| /* | |
| * Use of WL.Client.connect() API before any connectivity to a MobileFirst Server is required. | |
| * This API should be called only once, before any other WL.Client methods that communicate with the MobileFirst Server. | |
| * Don't forget to specify and implement onSuccess and onFailure callback functions for WL.Client.connect(), e.g: | |
| * | |
| * WL.Client.connect({ | |
| * onSuccess: onConnectSuccess, | |
| * onFailure: onConnectFailure | |
| * }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #Your app id which can be found in your config.xml file (widget id) | |
| app=com.ionicframework.myNewApp | |
| pathToAPK=platforms/android/build/outputs/apk/android-debug.apk | |
| echo "Running Ionic Build" | |
| ionic build |
- create a single page javascript application
- be as low-level as possible to be able to control performance (=minimize layers)
- masterize your dev/build environnement so you can work/play nicely
- Open safari console in development menu with simulator or attached devices (enable debug in ipad/safari dev options)
- Applescript to automate console open : https://gist.github.com/revolunet/bed17b9809fffa77b4b8 (works great with https://red-sweater.com/fastscripts/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #get debugging tools | |
| npm -i -g node-inspector | |
| #core | |
| npm i -g javascripting git-it scope-chains-closures learnyounode how-to-npm stream-adventure | |
| #electives | |
| npm i -g functional-javascript-workshop levelmeup expressworks makemehapi promise-it-wont-hurt async-you planetproto esnext-generation test-anything tower-of-babel regex-adventure bytewise bug-clinic browserify-adventure count-to-6 kick-off-koa lolodash learn-generators learnyoureact perfschool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)applicationWillResignActive:(UIApplication *)application | |
| { | |
| self.window.hidden = YES; | |
| } | |
| - (void)applicationDidBecomeActive:(UIApplication *)application | |
| { | |
| self.window.hidden = NO; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require('express'); | |
| var app = express(); | |
| var baseUrl = __dirname + '/www'; | |
| app.use(express.static(baseUrl)); | |
| var allowCrossDomain = function(req, res, next) { | |
| res.header('Access-Control-Allow-Origin', '*'); | |
| res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <platform name="ios"> | |
| <config-file target="*-Info.plist" parent="NSAppTransportSecurity"> | |
| <dict> | |
| <key>NSAllowsArbitraryLoads</key> | |
| <true/> | |
| </dict> | |
| </config-file> | |
| </platform> |