- [BeautifulSoup] (https://www.crummy.com/software/BeautifulSoup/bs4/doc/)
- [Selenium] (http://selenium-python.readthedocs.io/)
- [Regex] (https://docs.python.org/3/library/re.html)
- [Requests] (http://docs.python-requests.org/en/master/user/quickstart/#make-a-request)
- [CSV] (https://docs.python.org/3/library/csv.html)
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
from bs4 import BeautifulSoup | |
import requests | |
import re | |
import csv | |
import time | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC |
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 | |
# | |
# Copyright (C) 2016 The Android Open Source Project | |
# | |
# Licensed 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 | |
# |
- Aardvark - Bug Report https://github.com/square/Aardvark
- AFnetworkactivity logger
- AlamoFire https://github.com/Alamofire/Alamofire
- AKSegemented control
- AsyncDisplayKit https://github.com/facebook/AsyncDisplayKit
- DZNEmptyDataset https://github.com/dzenbot/DZNEmptyDataSet
- DZNPhotoPickerController https://github.com/dzenbot/DZNPhotoPickerController
- DZNSegemented Control
- GLAnimatedImage
- FLEX
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
[ | |
{ | |
"model": "mapaplace.tag", | |
"pk": 1, | |
"fields": { | |
"title": "\ud55c\uad6d\uc5b4", | |
"slug": "\ud55c\uad6d\uc5b4" | |
} | |
}, | |
{ |
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
if DEBUG: | |
DATABASES = { | |
'default': { | |
'ENGINE': 'sql_server.pyodbc', | |
'NAME': 'cupcakeshop_db_local', | |
'USER': 'admincupcake', | |
'PASSWORD': '*****', | |
'HOST': 'cupcakeshop.database.windows.net', | |
'PORT': '1433', | |
'OPTIONS': { |
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
ALLOWED_HOSTS = ['adelar.pytonanywhere.com'] |
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 :ios, '9.0' | |
target 'TestPodsVersion' do | |
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks | |
use_frameworks! | |
pod 'ObjectMapper', '~> 2.2' | |
pod 'RxSwift', '~> 3.0' | |
pod 'Moya/RxSwift' | |
pod 'Moya-ObjectMapper/RxSwift' |
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
from django.db import models | |
class Restaurant(models.Model): | |
name = models.CharField(max_length=200) | |
description = models.TextField(blank=True) | |
image = models.ImageField(upload_to="restaurants/images/", null=True, blank=True) | |
def __str__(self): | |
return "{}".format(self.name) |
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
from rest_framework import serializers | |
from .models import Restaurant | |
class RestaurantSerializer(serializers.ModelSerializer): | |
class Meta: | |
model = Restaurant | |
fields = ('id', 'name', 'description', 'image') |