Skip to content

Instantly share code, notes, and snippets.

View 5idereal's full-sized avatar
🎨

5idereal 5idereal

🎨
View GitHub Profile
@mayankchourasia
mayankchourasia / analyze-image.py
Created May 17, 2021 10:05
Integrate with Machine Learning APIs: Challenge Lab
# Dataset: image_classification_dataset
# Table name: image_text_detail
import os
import sys
# Import Google Cloud Library modules
from google.cloud import storage, bigquery, language, vision, translate_v2
if ('GOOGLE_APPLICATION_CREDENTIALS' in os.environ):
if (not os.path.exists(os.environ['GOOGLE_APPLICATION_CREDENTIALS'])):
print ("The GOOGLE_APPLICATION_CREDENTIALS file does not exist.\n")
exit()
@ekoyudhi
ekoyudhi / gsp344_serverless-firebase-development-challenge-lab.sh
Created March 14, 2021 03:51
Serverless Firebase Development: Challenge Lab
gcloud config set project $(gcloud projects list --format='value(PROJECT_ID)' --filter='qwiklabs-gcp')
git clone https://github.com/rosera/pet-theory.git
# 1. Firestore Database Create
Go to Firestore > Select Naive Mode > Location: nam5 > Create Database
# 2. Firestore Database Populate
cd pet-theory/lab06/firebase-import-csv/solution
npm install
node index.js netflix_titles_original.csv
@myjian
myjian / collect-score.js
Last active March 17, 2024 16:36
Collect score from maimai dx net
/*
收集並複製 maimai 成績
Collect score from maimai dx net.
使用方法:
1. 登入 maimai dx net
2. 畫面停留在首頁就行
3. 按下 F12 開啟網頁開發者工具
4. 切換到開發者工具的 Console 分頁
5. 複製並貼上以下程式碼到 Console 內
@bmaupin
bmaupin / free-database-hosting.md
Last active June 22, 2024 14:17
Free database hosting