Skip to content

Instantly share code, notes, and snippets.

View Shiro-Nek0's full-sized avatar

ShiroNeko Shiro-Nek0

View GitHub Profile
@Shiro-Nek0
Shiro-Nek0 / editJson.go
Last active March 24, 2024 04:18
modify elichika config for docker image
package main
import (
"flag"
"fmt"
"os"
"strings"
"github.com/tidwall/gjson"
"github.com/tidwall/sjson"
@Shiro-Nek0
Shiro-Nek0 / autoinstall2.sh
Last active October 18, 2023 19:47
docker autoinstall + unitybridge
#!/bin/bash
cat << EOF
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣴⣶⡶⠯⠙⠻⠛⠛⠛⠛⠛⠻⠿⢿⣟⣒⣶⠤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⡿⠟⣛⣉⣩⠤⠖⠒⠚⠉⠉⠉⠉⠉⢙⣛⡗⠒⠲⠤⢬⣉⠓⠻⢽⣲⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣿⠟⣫⡵⠖⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠏⢰⠂⠀⠈⣧⠀⠈⠉⠓⠦⣌⡙⠿⣿⣶⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⠟⣫⠴⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣦⡘⠳⣤⣤⠟⠀⠀⠀⠀⠀⠀⠙⠲⣬⡙⠿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢀⣴⣿⢟⣥⠞⠁⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢤⣉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠲⣌⠻⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣠⣿⠟⣱⠋⠁⠀⠀⠀⠀⡞⠀⠀⠀⣀⣠⠤⠤⠤⠴⢤⣠⠤⠶⠲⠦⢤⣙⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣄⠀⠈⠷⣄⡙⢿⣦⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⣰⣿⢿⣌⡻⣦⣀⠀⠀⠠⡀⢁⡤⠖⣛⠉⠀⠀⣀⡴⠚⠉⠀⠀⠀⠀⠀⠀⠈⠻⣦⣄⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠉⠉⢳⡔⠻⢿⣮⡻⣷⣄⠀⠀⠀⠀⠀
@Shiro-Nek0
Shiro-Nek0 / Dockerfile
Created October 18, 2023 19:34
unity renderstream dockerfile
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install wget -y
RUN wget https://github.com/Unity-Technologies/UnityRenderStreaming/releases/download/3.1.0-exp.7/webserver
WORKDIR /
RUN chmod +x webserver
EXPOSE 80
@Shiro-Nek0
Shiro-Nek0 / autoinstall.sh
Last active October 16, 2023 17:08
docker autoinstall
#!/bin/bash
cat << EOF
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣤⣴⣶⡶⠯⠙⠻⠛⠛⠛⠛⠛⠻⠿⢿⣟⣒⣶⠤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⡿⠟⣛⣉⣩⠤⠖⠒⠚⠉⠉⠉⠉⠉⢙⣛⡗⠒⠲⠤⢬⣉⠓⠻⢽⣲⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣶⣿⠟⣫⡵⠖⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠏⢰⠂⠀⠈⣧⠀⠈⠉⠓⠦⣌⡙⠿⣿⣶⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⠟⣫⠴⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣦⡘⠳⣤⣤⠟⠀⠀⠀⠀⠀⠀⠙⠲⣬⡙⠿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢀⣴⣿⢟⣥⠞⠁⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⢤⣉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠲⣌⠻⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣠⣿⠟⣱⠋⠁⠀⠀⠀⠀⡞⠀⠀⠀⣀⣠⠤⠤⠤⠴⢤⣠⠤⠶⠲⠦⢤⣙⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣄⠀⠈⠷⣄⡙⢿⣦⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⣰⣿⢿⣌⡻⣦⣀⠀⠀⠠⡀⢁⡤⠖⣛⠉⠀⠀⣀⡴⠚⠉⠀⠀⠀⠀⠀⠀⠈⠻⣦⣄⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠉⠉⢳⡔⠻⢿⣮⡻⣷⣄⠀⠀⠀⠀⠀