Work In Progress, will move to a repo once demo is completed
BSP/sample rootfs
downloads: https://developer.nvidia.com/embedded/jetson-linux-r3640
- Get board into recovery mode (power off, hold reset button, power on and let go after 3s)
Work In Progress, will move to a repo once demo is completed
BSP/sample rootfs
downloads: https://developer.nvidia.com/embedded/jetson-linux-r3640
import io.grpc.ManagedChannelBuilder | |
import io.grpc.stub.StreamObserver | |
import kotlinx.coroutines.Dispatchers | |
import kotlinx.coroutines.GlobalScope | |
import kotlinx.coroutines.launch | |
import org.apache.commons.compress.archivers.tar.TarArchiveEntry | |
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream | |
import java.io.* | |
import java.nio.file.Files | |
import java.nio.file.Path |
--- main.go --- | |
type Lease struct { | |
AccountID string | |
} | |
type PageData struct { | |
Leases []Lease | |
AvailableAccounts []string | |
} |
#!/bin/bash | |
# Directory containing the Go files | |
DIRECTORY="." | |
# Array of paths to exclude from the check | |
EXCLUDE_PATHS=( | |
"./path/to/directory/exclude1" | |
"./path/to/directory/exclude2" | |
) |
func (p *Packager) updateComponentImagesInplace(index int, images []string, cm goyaml.CommentMap) error { | |
component := p.cfg.Pkg.Components[index] | |
for imageIdx, image := range component.Images { | |
commentsPath := fmt.Sprintf("$.components[%d].images[%d]", index, imageIdx) | |
imageComments := cm[commentsPath] | |
left, err := transform.ParseImageRef(image) | |
if err != nil { | |
return err |
My current Brewfile explained. Some entries (like gcc
) are omitted because they are self explanatory,
while others (like helm
) are omitted because they are much more commonly known. This leaves, lesser known and hopefully
helpful programs. Enjoy!
For all my tools I like using the macchiato
color scheme from catpuccin
// Inspired by https://github.com/hugomd/parrot.live | |
// This runs in a Cloudflare worker. | |
const brown = "\u001b[38;5;94m"; | |
const green = "\u001b[38;5;28m"; | |
const reset = "\u001b[0m"; | |
const frames = [ | |
` | |
:::::::::::: |
function Write-Typewriter { | |
[CmdletBinding()] | |
param ( | |
[Parameter(ValueFromPipeline)] | |
[string]$Text, | |
[Parameter()] | |
[ConsoleColor]$Color = [ConsoleColor]::Green, | |
[Parameter()] | |
[int]$Delay = 200, | |
[Parameter()] |
if (!(Test-Path "./profiles.toml")) { | |
New-Item -ItemType File "./profiles.toml" | Out-Null | |
} | |
"#####`n[profiles]" | Out-File -Append -Encoding utf8 "./profiles.toml" | |
(netsh wlan show profiles) | | |
Select-String "\:(.+)$" | | |
ForEach-Object { | |
$name = $PSItem.Matches.Groups[1].Value.Trim() |
#Requires -RunAsAdministrator | |
<# | |
Script made by Noxsios | |
This script displays a GUI for rapidly / easily changing your computer's IP address | |
WARNING: ONLY RUN THIS SCRIPT ON APPROVED CONFIG LAPTOPS | |
Last update: Nov 8 2020 | |
#> |