- https://www.dataweekends.com/blog/2017/03/09/set-up-your-mac-for-deep-learning-with-python-keras-and-tensorflow
- https://github.com/prof-rossetti/nyu-info-2335-201805/blob/master/notes/programming-languages/python/modules/pdb.md
- https://github.com/prof-rossetti/nyu-info-2335-201805/blob/master/notes/programming-languages/python/datatypes/strings.md
This file contains 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
[ | |
{ | |
"id":1612, | |
"abbrev":"NHV", | |
"name":"New Haven Union Station", | |
"latitude":"41.297719", | |
"longitude":"-72.926731", | |
"url":"http://www.shorelineeast.com/service_info/stations/nh_u.php" | |
}, | |
{ |
This file contains 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
2/5: License android-sdk-preview-license: | |
--------------------------------------- | |
To get started with the Android SDK Preview, you must agree to the following terms and conditions. As described below, please note that this is a preview version of the Android SDK, subject to change, that you use at your own risk. The Android SDK Preview is not a stable release, and may contain errors and defects that can result in serious damage to your computer systems, devices and data. | |
This is the Android SDK Preview License Agreement (the "License Agreement"). | |
1. Introduction | |
1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview. |
This file contains 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
#Step 1 | |
import cv2 # working with, mainly resizing, images | |
import numpy as np # dealing with arrays | |
import os # dealing with directories | |
from random import shuffle # mixing up or currently ordered data that might lead our network astray in training. | |
from tqdm import tqdm # a nice pretty percentage bar for tasks. Thanks to viewer Daniel BA1/4hler for this suggestion | |
import tensorflow as tf #Import Tensorflow | |
import glob #This will extract all files from the folder | |
import keras | |
from keras.preprocessing.image import ImageDataGenerator |
This file contains 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
["Africa/Algiers", "West Central Africa"], | |
["Africa/Cairo", "Cairo"], | |
["Africa/Casablanca", "Casablanca"], | |
["Africa/Harare", "Harare"], | |
["Africa/Johannesburg", "Pretoria"], | |
["Africa/Monrovia", "Monrovia"], | |
["Africa/Nairobi", "Nairobi"], | |
["America/Argentina/Buenos_Aires", "Buenos Aires"], | |
["America/Bogota", "Bogota"], | |
["America/Caracas", "Caracas"], |
This file contains 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 pdb | |
import json | |
request_url = "https://www.espn.com/mlb/standings" | |
response = requests.get(request_url) | |
soup = BeautifulSoup(response.content, 'html.parser') |
This file contains 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
import json | |
import requests | |
base_url = "https://nyu-info-2335-products-api-csv.herokuapp.com" | |
def list_products(): | |
response = requests.get(f"{base_url}/products") | |
return parsed_response(response) | |
def show_product(product_id): |
- https://apps.twitter.com/
- https://api.twitter.com/1.1/statuses/user_timeline.json
- https://stackoverflow.com/a/36823840/670433
- https://www.codecademy.com/en/forum_questions/51d4a5a97c82ca640d002714
- http://gettwitterid.com/?user_name=msbgu&submit=GET+USER+ID
- https://developer.twitter.com/en/docs/basics/authentication/overview/application-only
brew install opensc
opensc-tool -n
This file contains 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |