Create the file factory_reset.txt
with 1
value inside on a FAT32 USB drive and booting the Link with it plugged in.
Create the /steamlink/config/system/enable_ssh.txt
empty file on a FAT32 USB drive and booting the Link with it plugged in.
// Zed settings | |
// | |
// For information on how to configure Zed, see the Zed | |
// documentation: https://zed.dev/docs/configuring-zed | |
// | |
// To see all of Zed's default settings without changing your | |
// custom settings, run the `open default settings` command | |
// from the command palette or from `Zed` application menu. | |
{ | |
"ui_font_size": 16, |
#!/usr/bin/env bash | |
# Using Docker on TrueNAS SCALE 23+ (no Kubernetes) | |
# | |
# Don't setup Apps via the TrueNAS Web GUI (don't choose a pool for Apps when asked). | |
# Make a dedicated docker dataset on one of your data pools. | |
# | |
# Store this script somewhere else on your pool (not in the Docker dataset). | |
# Download binaries archive from https://download.docker.com/linux/static/stable/x86_64/ and unarchive them in a `docker' folder in the same directory. | |
# Make a daemon.json file in the same directory with the following contents: |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
seed := uint64(time.Now().UnixNano()) | |
p := make([]byte, 128) |
# build stage | |
FROM golang:1.13-alpine as build-env | |
MAINTAINER mdouchement | |
# Set the locale | |
ENV LANG c.UTF-8 | |
# Install build dependencies | |
RUN apk upgrade | |
RUN apk add --update --no-cache \ |
// This Go script will disable annoying GVM GOPATH management. | |
// Based on https://github.com/e-nikolov/gvm repository | |
// | |
// MIT License | |
package main | |
import ( | |
"bytes" | |
"fmt" |
package main | |
import ( | |
"fmt" | |
"unicode" | |
) | |
func main() { | |
for _, v := range []string{"target_prob1", "target_prob_1", "_target_prob_1", "target_prob_1_"} { | |
fmt.Printf("%s => %s\n", v, ToCamel(v)) |
alias gco='git checkout' | |
alias gb='git branch' | |
alias gd='git diff' | |
alias glgg='git log --graph --max-count=10' | |
alias glgga='git log --graph --decorate --all' | |
alias gst='git status' | |
alias gss='git status --short' | |
alias ga='git add' | |
alias gc='git commit' | |
alias ggpull='git pull origin $(git rev-parse --abbrev-ref HEAD)' |
package main | |
import ( | |
"bytes" | |
"compress/gzip" | |
"errors" | |
"fmt" | |
"io" | |
) |
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' *.go
map[string]interface{}
struct conversion.github.com/fatih/structs