A lightweight Bash script to create and manage secure systemd-nspawn containers.
Designed for isolating AI Agents and LLM scripts while giving them controlled access to specific project directories on your host.
This script is designed for Arch Linux (or derivatives).
List of mathematical symbols with their JavaScript equivalent.
Of course. Here is the completed table with the added "Python" and "Go" columns.
| Symbol | Name | Since | Example | JavaScript | Python | Go |
|---|---|---|---|---|---|---|
― |
Horizontal bar for division | ~1300 | a / b |
a / b |
a / b |
|
+ |
Plus sign | 1360 | a + b |
a + b |
a + b |
|
- |
Minus sign | 1489 | a - b |
a - b |
a - b |
|
√ |
Radical symbol | 1525 | Math.sqrt(x) |
import math math.sqrt(x) |
import "math" math.Sqrt(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| meta: | |
| id: zim | |
| title: ZIM file format | |
| file-extension: | |
| - zim | |
| - zimaa | |
| xref: | |
| justsolve: ZIM | |
| wikidata: Q2474324 | |
| license: CC-BY-SA-3.0 |
tags: #zig #wasm-4 #gamedev
Of course! Here is a detailed tutorial for learning Zig by creating a small game for the WASM-4 fantasy console. This tutorial is designed to be followed sequentially, introducing Zig concepts as they become necessary for building the game. We'll be making a classic Snake game.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM uigen-t2-7b-3600-q8_0.gguf | |
| # Model information | |
| PARAMETER stop <|end_of_solution|> | |
| PARAMETER temperature 0.7 | |
| PARAMETER top_p 0.9 | |
| SYSTEM """You are Tesslate, a helpful assistant specialized in UI generation.""" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- source https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html | |
| -- https://www2.census.gov/geo/tiger/GENZ2018/shp/cb_2018_us_state_5m.zip | |
| LOAD spatial; | |
| LOAD geography; | |
| CREATE TABLE wkbstates AS | |
| SELECT | |
| name, | |
| ST_AsWKB(geom) as geom_wkb -- Convert GEOMETRY to WKB_BLOB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "regexp" | |
| "strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http: | |
| enabled: true | |
| address: 0.0.0.0:8095 | |
| root_path: /api | |
| debug_endpoints: false | |
| input: | |
| label: webhook_server | |
| http_server: | |
| path: "/webhook/github" |
NewerOlder