Install required tools
brew install fzf
brew install kubectx
brew install stern
brew install kube-ps1
brew install kubecolor/tap/kubecolor
const std = @import("std"); | |
pub fn build(b: *std.build.Builder) void { | |
const target = b.standardTargetOptions(.{ .default_target = .{ .abi = .gnu } }); | |
const mode = b.standardReleaseOptions(); | |
const exe = b.addExecutable("hello-gamedev", "src/main.zig"); | |
exe.setTarget(target); | |
exe.setBuildMode(mode); |
input: | |
label: input_geojson | |
stdin: | |
codec: all-bytes | |
max_buffer: 1e+06 | |
pipeline: | |
processors: | |
- mapping: root = this.features | |
- unarchive: | |
format: json_array |
-- load the extension (usually mod_spatialite) | |
select load_extension("/opt/homebrew/lib/mod_spatialite.dylib"); | |
-- display the current version to prove it's loaded | |
select spatialite_version(); | |
-- Transform the geometry to st_astext in your queries | |
select st_astext(GEOM) as geom from not_enabled_airspace; | |
-- or as binary |
apiVersion: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: tempo | |
namespace: tempo | |
spec: | |
selector: | |
matchLabels: | |
app: tempo | |
serviceName: "tempo" |
package main | |
import ( | |
"fmt" | |
"math/bits" | |
) | |
func main() { | |
c := combinations([]string{"A", "B", "C"}, 2) | |
fmt.Println(c) |
#!/bin/bash | |
DATE=`date +%F` | |
for NS in `kubectl get ns --no-headers -o custom-columns=":metadata.name"` | |
do | |
kubectl get all -n $NS -o yaml > ${DATE}-${NS}.yaml | |
done |
# Bye Docker on M1 | |
# don't do anything as root | |
brew install lima | |
brew uninstall --ignore-dependencies qemu | |
# Install necessary packages for building | |
brew install libffi gettext glib pkg-config autoconf automake pixman ninja | |
# Clone qemu |