Skip to content

Instantly share code, notes, and snippets.

View riodw's full-sized avatar

Rio Weber riodw

View GitHub Profile
<!-- Rio Weber
Create Custom HTML Element -->
<html>
<head>
<title>Make Custom HTML Element</title>
</head>
<body>
<hello-element></hello-element>
<script>
<!-- Useing the HTML "template" tag -->
<html>
<head>
<title>Use HTML Template tag</title>
</head>
<body>
<template id="t">
<div>Hello World!</div>
</template>
# BloomU.info
git init --bare
--------
git clone https://github.com/riodw/BloomU.git
------ OR ---------
git remote add origin https://github.com/riodw/BloomU.git
git fetch origin master:master
git reset --hard origin/master
"""Softmax."""
scores = [3.0, 1.0, 0.2]
import numpy as np
def softmax(x):
"""Compute softmax values for each sets of scores in x."""
pass # TODO: Compute and return softmax(x)
return np.exp(x) / np.sum(np.exp(x), axis=0)

How to set up a new Production Server running Node on Ubuntu

START

Always start with an Update:

$ sudo apt-get update

Create folder for project:

$ mkdir production
var keyPairs = [];
var params = window.location.search.substring(1).split('&');
for (var i = params.length - 1; i >= 0; i--) {
keyPairs.push(params[i].split('='));
};
/*
Apple Colors
https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/
*/
/* Blue */
.text-blue {
color: rgb(10, 132, 255);
}
.bg-blue {
background-color: rgb(10, 132, 255);
[
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H",
"I",
# vehicle_detector.py
# https://pythonprogramming.net/introduction-use-tensorflow-object-detection-api-tutorial/
# # Object Detection Demo
# License: Apache License 2.0 (https://github.com/tensorflow/models/blob/master/LICENSE)
# source: https://github.com/tensorflow/models
# https://gpuopen.com/rocm-tensorflow-1-8-release/
# py -m pip install Cython contextlib2 pillow lxml jupyter matplotlib
# http://www.mingw.org/wiki/Getting_Started
# keys.py
# Code by Daniel Kukiela (https://twitter.com/daniel_kukiela)
import ctypes
from threading import Thread
from time import time, sleep
from queue import Queue
# main keys class