See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| name: Build | |
| on: | |
| push: | |
| jobs: | |
| # Build job. Builds app for Android with Buildozer | |
| build-android: | |
| name: Build for Android | |
| runs-on: ubuntu-latest |
| # HOST="1.tcp.ngrok.io" PORT=12345 python server.py | |
| import os | |
| import socket | |
| from pyngrok import ngrok | |
| host = os.environ.get("HOST") | |
| port = int(os.environ.get("PORT")) |
| # Delete all firestore composite indexes | |
| gcloud firestore indexes composite list --uri | xargs -I{} gcloud firestore indexes composite delete {} --quiet |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| [RequireComponent(typeof(Image))] | |
| [RequireComponent(typeof(AspectRatioFitter))] | |
| public class CameraImage : MonoBehaviour { | |
| private WebCamTexture cameraTexture; | |
| private Image image; | |
| private AspectRatioFitter fit; |
| //Setup: | |
| // Create a sheet with the first sheet called 'TrafficData'. Cell Values are: | |
| // A1: Repo Traffic Collector | |
| // A3: Organization B3: <org value> | |
| // A4: Repo B4: <repo name> | |
| // A7: Date, B7: Views, C7: Uniques, D7: Weeknumber | |
| //Tools -> Script Editor | |
| //Add this script, fill in your GitHub TOKEN (https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line) | |
| //Run the onOpen script - you will be warned it is insecure, but accept anyway. This should add a menu item to your sheet | |
| //Use the Custom GitHub menu to run the getRepoTrafficStats function |
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| from __future__ import print_function | |
| import numpy as np | |
| import cv2 | |
| import time | |
| np.set_printoptions(formatter={'float': '{: 0.3f}'.format}) | |
| def triangulate_nviews(P, ip): | |
| """ |