pip install django
pip install djangorestframework
pip install django-filter
- Learn how to start a new react native project
- Run it on ios simulator, on android emulator, on a real iPhone device and on a real Android device, with and without debugging enabled.
- Learn how to upgrade a react native project
- Learn how to add a package to the project
- Learn how to add a package that has a native dependency (https://github.com/airbnb/react-native-maps, https://github.com/evollu/react-native-fcm) - DO NOT USE COCOAPODS
- Learn how to use fetch to get data from your backend
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
def calculate_angle(hour, minute): | |
""" | |
Assuming 12 hours is 360 degree which is | |
(720 minutes) or 0.5 degree per minute | |
and 60 minutes = 360* which 6 degree per minutes. | |
""" | |
if hour == 12 and minute == 60: | |
hour, minute = 0, 0 | |
angle_of_hour_hand = (60 * hour + minute) / 2 | |
angle_of_minute_hand = 6 * minute |
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 request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip') | |
.pipe(unzip.Parse()) | |
.on('entry', function (entry) { | |
entry.pipe(csv2()).on('data', console.log); | |
}) | |
; |
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
""" | |
Develop an ETL system that will Extract data from a CSV file, | |
apply some transformation and output the transformed | |
data to another CSV. | |
ETL stands for Extract Transform and Load - this system should be divided into these modules: | |
Extract module - should be able to retrieve data from a CSV file | |
Transform module - should accept input stream from Extract module and | |
for each column adds an additional column | |
indicating the data type of the column |
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
"""A FeedController Module""" | |
from masonite.view import View | |
from masonite.request import Request | |
from app.Post import Post | |
class FeedController: | |
"""FeedController |
OlderNewer