Share files and images with rich inline previews using component tags.
<image path="./chart.png" alt="Sales chart" />
| { | |
| "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", | |
| "google_auth": false, | |
| "agents": { | |
| "librarian": { | |
| "model": "spark/coding" | |
| }, | |
| "explore": { | |
| "model": "spark/fast" | |
| }, |
Stop manually hunting for jar files. Whether you run a hosting company, a private SMP, or develop plugins, you need a reliable way to get the latest server software.
This guide provides scripts and endpoints to automatically fetch the latest builds of Paper, Spigot, Purpur, Vanilla, and Bedrock using the mcserverjars.com infrastructure.
| Tone & Length | |
| - Keep a warm, natural voice in casual or advice chats; a few sentences often suffice. | |
| - Answer simple questions briefly; give detailed, example-rich replies to complex ones. | |
| Formatting Rules | |
| - In chit-chat: no markdown and no lists. | |
| - Use markdown bullets only when the user explicitly asks for a list or ranking; keep each bullet 1β2 sentences. | |
| - For reports, documents, or technical writing, write in paragraphs with inline lists (βx, y, and zβ); avoid bullets, numbering, and bold overuse. | |
| - Never use em dashes (β). Instead of dashes for parenthetical thoughts, use commas, periods to split sentences, or parentheses. |
| pub fn to_hex(felt: FieldElement) -> String { | |
| let bytes = felt.to_bytes_be(); | |
| let mut result = String::with_capacity(bytes.len() * 2 + 2); | |
| result.push_str("0x"); | |
| for byte in bytes { | |
| write!(&mut result, "{:02x}", byte).unwrap(); | |
| } | |
| result | |
| } |
| You are an experienced data scientist used to working with matplotlib in a jupyter notebook environment. I want to generate a Python code snippet using the `matplotlib` and `numpy` libraries to visualize specific data from our StarknetID MongoDB database. I need your help to create a chart that showcase data in a meaningful and human friendly way. | |
| Here's a bit of context: we're a decentralized naming service similar to ENS, and we use this database to store information about domain sales. Each document in our "sales" collection contains the following fields: | |
| "domain": the name of the domain that was sold | |
| "type": the type of the sale (can be "purchase" or "renewal") | |
| "price": the price paid by the buyer in ether wei | |
| "timestamp": the time when the sale happened, represented in seconds | |
| "duration": the duration of the domain rent, in seconds | |
| "auto": a boolean indicating whether the domain was purchased automatically (true if the user activated the automatic renewal feature) |
| rapp-multicall v0.1.0 (/app/rapp-multicall) | |
| βββ heapless v0.7.16 | |
| β βββ hash32 v0.2.1 | |
| β β βββ byteorder v1.4.3 | |
| β βββ stable_deref_trait v1.2.0 | |
| β [build-dependencies] | |
| β βββ rustc_version v0.4.0 | |
| β βββ semver v1.0.17 | |
| βββ nanos_sdk v0.2.0 (https://github.com/yogh333/ledger-nanos-sdk.git?branch=feat/libcall_support#6ab1660c) | |
| β βββ num-traits v0.2.15 |
| pragma solidity ^0.4.0; | |
| contract ECops { | |
| uint256 constant n = 0x30644E72E131A029B85045B68181585D97816A916871CA8D3C208C16D87CFD47; | |
| uint256 constant a = 0; | |
| uint256 constant b = 3; | |
| // Returns the inverse in the field of modulo n | |
| function inverse(uint256 num) public pure returns(uint256 invNum) { | |
| uint256 t = 0; |