- Release date: September 22nd 2022
- System: 32-bit
- Kernel version: 5.15
- Debian version: 11 (bullseye)
- Size: 338MB
Linux pi 5.15.61-v7+ #1579 SMP Fri Aug 26 11:10:59 BST 2022 armv7l
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
'use strict'; | |
(function () { | |
var Global = function () { | |
// GETTER elements: navbar | |
/** | |
* @return {[ElementFinder]} [Returns the regisration button located in the navbar] |
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 | |
#<[email protected]> | |
# http://dummyimage.com/600x400/000/fff&text=100000 | |
BASE_URL="http://dummyimage.com/" | |
DEFAULT_SIZE="600X400" | |
DEFAULT_BG_COLOR="000" | |
DEFAULT_COLOR="fff" | |
START=1001 | |
END=4000 |
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
# Copyright (c) 2013 Georgios Gousios | |
# MIT-licensed | |
# [tundo91] | |
# * Edited to import local XML files | |
# * Updated creat table procedures to support Sept.-12-2016 dataset dump version | |
create database cooking_stackexchange_com DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; | |
use cooking_stackexchange_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
create_default_packages: | |
- pip | |
- ipykernel | |
- pyopenssl | |
envs_dirs: | |
- $HOME/miniconda3/envs |
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
#!/usr/bin/env bash | |
# Setup conda config | |
wget https://gist.githubusercontent.com/enricorotundo/65218b399bc7bb1c749e2f5cfd571434/raw/e6dc4e80f7894c544b43621d849555233e484f91/.condarc | |
cp .condarc $HOME/.condarc | |
# Install Jupyter and JupyterLab | |
conda install -c conda-forge -y jupyter ipywidgets ipykernel jupyterlab | |
# Enable extensions |
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
#!/usr/bin/env bash | |
jupyter lab --ip=* --port=8888 --no-browser --notebook-dir=$HOME --allow-root --NotebookApp.token='' |
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
#!/usr/bin/env bash | |
jupyter lab --ip=* --port=8888 --no-browser --notebook-dir=$HOME --allow-root --NotebookApp.token='' |
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
""" | |
Run this with | |
cd research/object_detection | |
python export_inference_graph_unfrozen.py --input_type encoded_image_string_tensor --pipeline_config_path samples/configs/ssd_mobilenet_v1_coco.config --trained_checkpoint_prefix ssd_mobilenet_v1_coco_2017_11_17/model.ckpt --output_directory /Users/erotundo/HAL24K/Projects/dockerfiles-tf-serving/ssd_mobilenet_v1_coco/models | |
Make sure you add object_detection in PYTHONPATH | |
Credits to original gist by @dnlglsn: | |
https://gist.github.com/dnlglsn/c42fbe71b448a11cd72041c5fcc08092 | |
References: |
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
import os | |
import urllib | |
from pymongo import MongoClient | |
def get_conn_string() -> str: | |
conn_string = "mongodb://{}:{}@{}/{}".format( | |
os.getenv("DB_USER"), | |
urllib.parse.quote(os.getenv("DB_PWD")), # escapes invalid chars | |
os.getenv("DB_URI"), |
OlderNewer