Skip to content

Instantly share code, notes, and snippets.

How to Setup Syncthings with PC and muOS

Terminology

Name Description
Syncthings Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet.

General Idea

The guide would setup syncthings with a PC and RG35XX Plus running muOS, if your host system is different the concept would be the same however you might need to tweak a few things. I would be syncing my muOS save folder to my PC as a backup method.

@ysheng26
ysheng26 / how-to-compile-retroarch-for-muOS.md
Last active March 16, 2024 21:28
How to compile retroarch for muOS

How to compile retroarch for muOS

Overview

This is a "guide" for people who want to compile retroarch as complete beginners to embedded linux. I hope it would help the next person when they want to cross-compile RetroArch for muOS

Terminology

Name Description
@ysheng26
ysheng26 / keys.go
Created January 23, 2020 19:04 — forked from sdorra/keys.go
Golang RSA Key Generation
/*
* Genarate rsa keys.
*/
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
@ysheng26
ysheng26 / ffmpeg-compress-mp4
Created July 25, 2019 14:27 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\y Open with nvim]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\y Open with nvim\command]
@="C:shengy\\software\\Neovim\\bin\\nvim-qt.exe \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\y Open with nvim]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\y Open with nvim\command]
@="C:\\shengy\\software\\Neovim\\bin\\nvim-qt.exe \"%1\""
class A : class Base {
public:
void doSomething(Visitor& v) {
v.visit(this);
}
};
class B : class Base {
public:
void doSomething(Visitor& v) {
@ysheng26
ysheng26 / foo.log
Created October 17, 2018 01:21 — forked from ibeex/foo.log
Flask logging example
A warning occurred (42 apples)
An error occurred
package main
import (
"net/http"
)
func main() {
http.Handle("/", http.FileServer(http.Dir("./static")))
http.ListenAndServe(":3000", nil)
}
[
{ "keys": ["alt+."], "command": "show_panel", "args": {"panel": "find_in_files"} },
{ "keys": ["f4"], "command": "next_result" },
{ "keys": ["f5"], "command": "prev_result" },
{ "keys": ["alt+-"], "command": "jump_back" },
{ "keys": ["alt+="], "command": "jump_forward" },
// vintage settings
// insert mode