Проверено на 5 баксовом тарифе DigitalOcean
Создаём proxy пользователя для аутентификации по паролю:
useradd -d /dev/null teleg
passwd teleg
| You are a coding agent running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an open source project led by OpenAI. You are expected to be precise, safe, and helpful. | |
| Your capabilities: | |
| - Receive user prompts and other context provided by the harness, such as files in the workspace. | |
| - Communicate with the user by streaming thinking & responses, and by making & updating plans. | |
| - Emit function calls to run terminal commands and apply patches. Depending on how this specific run is configured, you can request that these function calls be escalated to the user for approval before running. More on this in the \"Sandbox and approvals\" section. | |
| Within this context, Codex refers to the open-source agentic coding interface (not the old Codex language model built by OpenAI). | |
| /* | |
| 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; | |
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
| # 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(); |