Проверено на 5 баксовом тарифе DigitalOcean
Создаём proxy пользователя для аутентификации по паролю:
useradd -d /dev/null teleg
passwd teleg
| /* | |
| A single-file JavaScript class to draw candlestick charts. | |
| Use at your own risk. | |
| https://twitter.com/pingpoli | |
| https://pingpoli.de | |
| */ | |
| function pingpoliCandlestick( timestamp , open , close , high , low ) | |
| { | |
| this.timestamp = parseInt(timestamp); | |
| this.open = parseFloat(open); |
Проверено на 5 баксовом тарифе DigitalOcean
Создаём proxy пользователя для аутентификации по паролю:
useradd -d /dev/null teleg
passwd teleg
| #!/usr/local/bin/node --max_old_space_size=1024 | |
| "use strict"; | |
| const fs = require('fs'); | |
| /* eslint-disable */ | |
| class StreamBuffer { | |
| constructor() { | |
| this.blocks = []; |
Python is the primary language in which TensorFlow models are typically developed and trained. TensorFlow does have bindings for other programming languages. These bindings have the low-level primitives that are required to build a more complete API, however, lack much of the higher-level API richness of the Python bindings, particularly for defining the model structure.
This file demonstrates taking a model (a TensorFlow graph) created by a Python program and running the training loop in C++.
| PROJECT := $(notdir $(CURDIR)) | |
| EXCECUTABLE = $(BUILDDIR)/$(PROJECT) | |
| # Directories specification | |
| SRCDIRS := src | |
| INCDIRS := include | |
| BUILDDIR := build | |
| # @note: to add another source extension, add to herer AND make sure to | |
| # write the " $(BUILDDIR)/%.o: %.ext " rule for this extention in order to work |
| module logger; | |
| /* | |
| - Supported types: string, int, float, bool | |
| - License CC0, URL: https://creativecommons.org/publicdomain/zero/1.0/ | |
| Using logger.d: | |
| ------------------- | |
| import logger; | |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| #!/usr/bin/env node | |
| // Reads JSON from stdin and writes equivalent | |
| // nicely-formatted JSON to stdout. | |
| var stdin = process.stdin, | |
| stdout = process.stdout, | |
| inputChunks = []; | |
| stdin.resume(); |
| import std.traits; | |
| /** | |
| * Detect whether $(D X) is a type or not. | |
| */ | |
| template isType(X...) if (X.length == 1) | |
| { | |
| enum isType = is(X[0]); | |
| } |