It's new in mongodb 3.6 https://docs.mongodb.com/manual/release-notes/3.6/ 2018/01/10
$ mongod --version
| # 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 |
| # Done by Frannecklp | |
| import cv2 | |
| import numpy as np | |
| import win32gui, win32ui, win32con, win32api | |
| def grab_screen(region=None): | |
| hwin = win32gui.GetDesktopWindow() |
| # 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 |
| [ | |
| "A", | |
| "B", | |
| "C", | |
| "D", | |
| "E", | |
| "F", | |
| "G", | |
| "H", | |
| "I", |
| /* | |
| 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); |
| var keyPairs = []; | |
| var params = window.location.search.substring(1).split('&'); | |
| for (var i = params.length - 1; i >= 0; i--) { | |
| keyPairs.push(params[i].split('=')); | |
| }; |
| /* MongoDB-UserCollection-Data-Change_Send-Change-SocketIO.js */ | |
| 'use strict' | |
| module.exports = function ( | |
| app, | |
| io, | |
| User // Collection Name | |
| ) { | |
| // SET WATCH ON COLLECTION | |
| const changeStream = User.watch(); |
It's new in mongodb 3.6 https://docs.mongodb.com/manual/release-notes/3.6/ 2018/01/10
$ mongod --version
| """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) |
| <?php | |
| /** | |
| * GIT DEPLOYMENT SCRIPT | |
| * | |
| */ | |
| // The commands | |
| $commands = array( | |
| 'echo $PWD', | |
| 'whoami', | |
| 'git reset --hard HEAD', |