In case anyone wants, here’s some links I’ve used for getting started with React:
React Notes:
http://mern.io/
http://redux.js.org/
https://webpack.github.io/
| https://github.com/papers-we-love/papers-we-love | |
| https://github.com/darcyclarke/Front-end-Developer-Interview-Questions | |
| https://github.com/sorrycc/awesome-javascript | |
| https://github.com/cjbarber/ToolsOfTheTrade | |
| https://github.com/Puppets | |
| http://calv.info/node-and-express-tips/ | |
| http://calv.info/an-introduction-to-nodes-new-streams/ | |
| http://scottksmith.com/blog/2014/07/02/beer-locker-building-a-restful-api-with-node-oauth2-server/ | |
| https://en.wikipedia.org/wiki/Stream_processing | |
| https://www.thc.org/root/phun/unmaintain.html |
| const defaults = { | |
| tags: [{ id: 1, text: "Apple" }], | |
| suggestions: ["Banana", "Apple", "Apricot", "Pear", "Peach"], | |
| handleAddition: noop, | |
| handleDelete: noop, | |
| handleDrag: noop | |
| } | |
| const DOWN_ARROW_KEY_CODE = 40; |
In case anyone wants, here’s some links I’ve used for getting started with React:
React Notes:
http://mern.io/
http://redux.js.org/
https://webpack.github.io/
| [{"description": "Join Columbia University's Gospel Choir for an evening of music, praise, and worship! \n\nTickets can be purchased online (https://web.ovationtix.com/trs/pe/10134312) or at the door before the event at $5 with a CUID or $10 for a non-CUID. \n\nWe hope you can join us, with your family and friends, for an amazing concert!", "title": "Born to be Crowned! CUGC's Winter Concert", "url": "https://www.facebook.com/events/344500629244122", "datetime": "2016-12-11T17:30:00-0500", "location": "Kraft Center at Columbia University", "group_id": 266148036757553, "id": "344500629244122", "photo_url": "https://scontent.xx.fbcdn.net/v/t31.0-8/s720x720/15325279_1231624236876590_11769477516983745_o.jpg?oh=62b428ae31574050785224ab4e9dba7d&oe=58B0F1C3"}, {"description": "Are you dreading that inevitable question you are going to get over winter break from your parents, \"What are you going to do this summer?\" Tell them you are interning in one of the following cities: Amman, Beijing, Hong Kong, London, Mumbai |
| countries_regex = re.compile('(Afghanistan|Albania|Algeria|Andorra|Angola|Antigua & Deps|Argentina|Armenia|Australia|Austria|Azerbaijan|Bahamas|Bahrain|Bangladesh|Barbados|Belarus|Belgium|Belize|Benin|Bhutan|Bolivia|Bosnia Herzegovina|Botswana|Brazil|Brunei|Bulgaria|Burkina|Burundi|Cambodia|Cameroon|Canada|Cape Verde|Central African Rep|Chad|Chile|China|Colombia|Comoros|Congo|Congo {Democratic Rep}|Costa Rica|Croatia|Cuba|Cyprus|Czech Republic|Denmark|Djibouti|Dominica|Dominican Republic|East Timor|Ecuador|Egypt|El Salvador|Equatorial Guinea|Eritrea|Estonia|Ethiopia|Fiji|Finland|France|Gabon|Gambia|Georgia|Germany|Ghana|Greece|Grenada|Guatemala|Guinea|Guinea-Bissau|Guyana|Haiti|Honduras|Hungary|Iceland|India|Indonesia|Iran|Iraq|Ireland {Republic}|Israel|Italy|Ivory Coast|Jamaica|Japan|Jordan|Kazakhstan|Kenya|Kiribati|Korea North|Korea South|Kosovo|Kuwait|Kyrgyzstan|Laos|Latvia|Lebanon|Lesotho|Liberia|Libya|Liechtenstein|Lithuania|Luxembourg|Macedonia|Madagascar|Malawi|Malaysia|Maldives|Mali|Malta|Marshall Isl |
| 1 mkclvtggnv kvlgkavhsl srigdelyle pledglslrt vnssrsayac flfaplffqq | |
| 61 yqaatpgqdl lrckilmksf lsvfrslaml ektvekccis lngrssrlvv qlhckfgvrk | |
| 121 thnlsfqdce slqavfdpas cphmlrapar vlgeavlpfs palaevtlgi grgrrvilrs | |
| 181 yheeeadsta kamvtemclg eedfqqlqaq egvaitfclk efrgllsfae sanlnlsihf | |
| 241 dapgrpaift ikdslldghf vlatlsdtds hsqdlgsper hqpvpqlqah stphpddfan | |
| 301 ddidsymiam ettignegsr vlpsislspg pqppkspgph seeedeaeps tvpgtpppkk | |
| 361 frslffgsil apvrspqgps pvlaedsege g | |
| mkclvtggnvkvlgkavhslsrigdelylepledglslrtvnssrsayacflfaplffqqyqaatpgqdllrckilmksflsvfrslamlektvekccislngrssrlvvqlhckfgvrkthnlsfqdceslqavfdpascphmlraparvlgeavlpfspalaevtlgigrgrrvilrsyheeeadstakamvtemclgeedfqqlqaqegvaitfclkefrgllsfaesanlnlsihfdapgrpaiftikdslldghfvlatlsdtdshsqdlgsperhqpvpqlqahstphpddfanddidsymiamettignegsrvlpsislspgpqppkspgphseeedeaepstvpgtpppkkfrslffgsilapvrspqgpspvlaedsegeg |
| from pandas.tools.plotting import scatter_matrix | |
| scatter_matrix(df[continuous_cols], alpha=.2, figsize=(12, 12), diagonal='kde') | |
| plt.show() |
| var emails = ['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]'] | |
| function checkEmail(i){ | |
| email = emails[i]; | |
| a = document.getElementsByClassName('vO')[0]; | |
| console.log(a); | |
| a.focus(); | |
| a.value = email; | |
| console.log("Found divs: ", a, email); | |
| document.getElementsByClassName('nM')[0].focus(); |
#Spark Assignment 3
This assignment is based on the 3rd chapter of the book - 'Advanced Big Data Analytics with Spark'. You can find a copy of the book here.
In this assignment, you will be required to build a recommendation system using Spark and MLib using a dataset published by AudioScrobbler. This data is 500MB uncompressed and can be downloaded here.
You can glance through the chapter and understand how to build the recommendation system. The chapter will walk you through Scala code;
| Starting from: | |
| Ubuntu 14.014 Server, amd64 | |
| 30 GB SSD EBS storage | |
| ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-20170405 (ami-772aa961) | |
| sudo apt-get update | |
| sudo apt-get -y upgrade |