This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
2. cd GoogleMapPlayground
| # get couchdb-lucene | |
| git clone https://github.com/rnewson/couchdb-lucene | |
| # update java | |
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install oracle-java8-installer -y | |
| # check java version == 1.8 | |
| java -version |
| sudo yum install gcc-c++ git chrpath openssl-devel freetype-devel fontconfig-devel | |
| git clone git://github.com/ariya/phantomjs.git && cd phantomjs | |
| git checkout 1.5 | |
| ./build.sh --jobs 1 |
| To authenticate users with Yale's CAS server, one can first send a request to the following endpoint: | |
| `https://secure.its.yale.edu/cas?service=http%3A%2F%2Fgoogle.com` | |
| The `service` query param specifies the application that's requesting the authentication. | |
| This request will redirect control back to the application with the following url: | |
| `https://www.google.com/?ticket=ST-6606719-A9AjXY2yXrsKw0b7oC4e-vmssoprdapp01` |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from bs4 import BeautifulSoup | |
| import os, glob, codecs, json, urllib2, regex | |
| """ | |
| Notes: | |
| Blok: example of poetry page with collection of poems |
| import itertools | |
| from collections import defaultdict | |
| d = { | |
| 1: ["a", "b"], | |
| 2: ["b", "c"], | |
| 3: ["c", "d"] | |
| } | |
| def find_friend_of_friends(d): |
| from __future__ import absolute_import, division, print_function | |
| """ | |
| This is a modification of the classify_images.py | |
| script in Tensorflow. The original script produces | |
| string labels for input images (e.g. you input a picture | |
| of a cat and the script returns the string "cat"); this | |
| modification reads in a directory of images and | |
| generates a vector representation of the image using |
| document.querySelectorAll('*').forEach( | |
| function(i) { | |
| i.addEventListener('click', function(e){ | |
| console.log(e.target) | |
| }) | |
| } | |
| ) |
This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
2. cd GoogleMapPlayground
| import os, sys | |
| print 'processing', sys.argv[1] | |
| sizes = [ | |
| (1242, 2208), | |
| (750, 1134), | |
| (2208, 1242), | |
| (640, 960), | |
| (640, 1136), |
| ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime |