Listing available images
$ ./platforms/ios/cordova/lib/list-emulator-images
iPhone-5, 10.0
iPhone-5s, 10.0
iPhone-6, 10.0
iPhone-6-Plus, 10.0
#!/bin/bash | |
#### SETUP | |
# 1.) Create a simple point layer | |
curl -X POST -d '{"layer":"geom","lat":"lat","lon":"lon"}' --header "Content-Type:application/json" http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer | |
# 2.) Add a spatial index | |
curl -X POST -d '{"name":"geom","config":{"provider":"spatial","geometry_type":"point","lat":"lat","lon":"lon"}}' --header "Content-Type:application/json" http://localhost:7474/db/data/index/node/ |
#!/bin/bash | |
#### SETUP | |
# 1.) Create a simple point layer | |
curl -X POST -d '{"layer":"geom","lat":"lat","lon":"lon"}' --header "Content-Type:application/json" http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer | |
# 2.) Add a spatial index | |
curl -X POST -d '{"name":"geom","config":{"provider":"spatial","geometry_type":"point","lat":"lat","lon":"lon"}}' --header "Content-Type:application/json" http://localhost:7474/db/data/index/node/ |
[ | |
{ | |
"city": "New York", | |
"growth_from_2000_to_2013": "4.8%", | |
"latitude": 40.7127837, | |
"longitude": -74.0059413, | |
"population": "8405837", | |
"rank": "1", | |
"state": "New York" | |
}, |
Front End Developer Assessment | |
The evaluation has two parts. Part 1 you'll complete on your own with as much time as is needed. I anticipate it will take you a few days if you spend 1 hour each evening. Please do not rush this as you won't gain anything by finishing it sooner but kudos if you do... Part 2 you will be a pair programming session to be completed while screen sharing and you will be given ~30 minutes to complete. | |
Part 1: | |
Est 1 hour | |
I.A Scaffold an Angular 2 web app using angular-cli which uses Angular Material 2 or Bootstrap Alpha 4 and demonstrates the following: | |
a. Use of Parent and Child Routes | |
b. Use of Parent and Child Components (Set a variable in the parent, modify in the child components and pass changes back to the parent) | |
c. Form Validation using the Angular Forms module, example here: https://angular.io/docs/ts/latest/guide/forms.html |
var Promise = require("bluebird"); | |
var request = require('request'); | |
function getData(){ | |
return new Promise(function (resolve, reject) { | |
console.log('inside promise'); | |
request('http://alphaapi.readymed.com/api/projects/', function (error, response, body) { | |
console.log('got json',body.length); | |
reject(true); |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
# Image J Instructions | |
## Step 1 - Open PNG, JPG or TIF | |
Find and launch the OS X java application ImageJ (64 bit; menu choices and instructions were developed with the 64-bit version 1.43u of ImageJ). | |
ImageJicon.pngImageJ Icon | |
Open the gel photo. Rotate the image (if needed) so that wells are precisely horizontal across the top of the gel photo. The rotation function is accessed via the Image menu with Image→Transform→Rotate 90 degrees left/right or for smaller angle adjustments with Image→Transform→Rotate... and enter the desired angle of rotation. Positive values will rotate image in clockwise direction; negative values will rotate image in counterclockwise direction. | |
Use the Rectangle-selection tool (see figure below) to crop the gel image so that just lanes of interest are visible. The crop function is executed with via the Image menu with Image→Crop. |
[ | |
{ | |
"city": "New York", | |
"growth_from_2000_to_2013": "4.8%", | |
"latitude": 40.7127837, | |
"longitude": -74.0059413, | |
"population": "8405837", | |
"rank": "1", | |
"state": "New York" | |
}, |