Think of a LogsQL query as a way to apply a series of filters to all your logs to find exactly what you need.
The easiest query is just typing a word. This will search for that word in the main log message field (_msg).
| 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.
| 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.""" | |
| -- 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 |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "os" | |
| "path/filepath" | |
| "regexp" | |
| "strings" |
| http: | |
| enabled: true | |
| address: 0.0.0.0:8095 | |
| root_path: /api | |
| debug_endpoints: false | |
| input: | |
| label: webhook_server | |
| http_server: | |
| path: "/webhook/github" |
| theme = "solarized_dark" | |
| [editor] | |
| true-color = true | |
| bufferline = "multiple" | |
| cursorline = true | |
| color-modes = true | |
| [editor.cursor-shape] | |
| insert = "bar" |
Note to quickly deploy Envoy Gateway for experiment on a Mac using Colima (or a Linux)
# clean up colima install BEWARE!! older version of colima sometimes are failing
rm -rf ~/.colima ~/.lima
# start colima with kubernetes option and disable Traefik
colima start --kubernetes --kubernetes-disable=traefik --arch aarch64 --vm-type=vz --vz-rosetta --cpu 2 --memory 4