This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search go
You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
This process would likely apply to other Homebrew formula also.
First search for your desired package:
brew search go
You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:
name: pre-commit-ci | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pre-commit-ci: | |
name: Lint changed backend files | |
runs-on: ubuntu-latest | |
steps: |
/// <summary> | |
/// Retrieves selected folder on Project view. | |
/// </summary> | |
/// <returns></returns> | |
public static string GetSelectedPathOrFallback() | |
{ | |
string path = "Assets"; | |
foreach (UnityEngine.Object obj in Selection.GetFiltered(typeof(UnityEngine.Object), SelectionMode.Assets)) | |
{ |
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
Certainly! Here's a step-by-step guide to installing Kubernetes (K8s) on Ubuntu 20.04 from scratch. This guide will walk you through the process of setting up a basic Kubernetes cluster using kubeadm
, kubelet
, and kubectl
.
Prerequisites:
Ubuntu 20.04: You should have a clean installation of Ubuntu 20.04 on the machines where you plan to set up your Kubernetes cluster.
Minimum 2 Nodes: For a basic Kubernetes cluster, you need at least two nodes - one for the master and one or more for worker nodes.
Network Configuration: Ensure that your nodes can communicate with each other over the network. You should have a static IP address for each node.
aka what i did to get from nothing to done.
note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
This guide is how I got a Coral TPU (USB) working in an unprivileged LXC container.
At the end, you should be able to use the Coral TPU for inferencing inside of an unprivileged LXC container as well as Docker containers within the LXC, such as Frigate.
This does NOT require privileged LXC or docker container.
NOTES:
Since PWM is a little fraught with gotchas, this is mostly a message to future me-
(Note to self, rtfm - https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf)
pin | a0 | a3 |
---|---|---|
GPIO19 | PWM0_CHAN3 | |
GPIO18 | PWM0_CHAN2 |
Based on https://github.com/frappe/frappe_docker/blob/main/docs/development.md
Clone git repo
git clone https://github.com/frappe/frappe_docker.git
cd frappe_docker