Skip to content

Instantly share code, notes, and snippets.

@rfvgyhn
rfvgyhn / 1. Train_Control_Signals_1.0.6_se.patch
Last active February 25, 2023 15:10
Patch file + patched files to add space exploration support to train control signals
diff -Naur Train_Control_Signals_1.0.6/info.json Train_Control_Signals_1.0.6_modified/info.json
--- Train_Control_Signals_1.0.6/info.json 2021-07-31 14:01:08.000000000 -0600
+++ Train_Control_Signals_1.0.6_modified/info.json 2023-02-10 14:37:40.250786040 -0700
@@ -6,6 +6,9 @@
"contact": "",
"homepage": "",
"description": "Simple ways of controlling trains.",
- "dependencies": ["base >= 1.1.7"],
+ "dependencies": [
+ "base >= 1.1.7",
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Mono.Cecil" Version="0.11.4" />
@rfvgyhn
rfvgyhn / list-proton-usage.fsx
Created July 1, 2021 03:17
Lists versions of proton that have been manually specified for steam games
#!/usr/bin/env -S dotnet fsi
#r "nuget: Gameloop.Vdf"
#r "nuget: Ply"
#r "nuget: Oryx"
open System
open System.IO
open System.Net.Http
open System.Text.Json
#r "nuget: FSharp.Data"
open FSharp.Data
open System
open System.Collections.Generic
open System.Linq
module Async =
let ParallelThrottle throttle tasks = Async.Parallel(tasks, throttle)
#!/bin/bash
action=${1:-resume}
case "$action" in
resume) action_past_tense="resumed" ;;
suspend) action_past_tense="suspended" ;;
*) echo "Invalid argument. Specify resume (default) or suspend" ; exit 2
esac
docker cp provisioning/dashboards/teslamate.yml teslamate-grafana:/etc/grafana/provisioning/dashboards
version: '2'
services:
'factorio':
image: 'rfvgyhn/factorio:latest'
container_name: 'factorio_mega_base_v0.15'
ports:
- '34197:34197/udp'
volumes:
- '/home/rfvgyhn/factorio/mega-base_v0.15/config:/config'
- '/home/rfvgyhn/factorio/mega-base_v0.15/saves:/saves'
@rfvgyhn
rfvgyhn / password.txt
Created May 25, 2018 04:52
Keep talking and nobody explodes organized password module
about after again
below
could
every
first found
great
house
large learn
never
other
@rfvgyhn
rfvgyhn / PKGBUILD
Created March 22, 2018 05:09
Rider-2018.1-EAP3 AUR PKGBUILD
# Maintainer: Giampaolo Mancini <mancho at trmpln dot com>
# Contributor: wenLiangcan <boxeed at gmail dot com>
# Contributor: Dustin Falgout <dustin@falgout.us>
# Contributor: Gifts <gifts.antichat@gmail.com>
# Contributor: Andrey Vlasovskikh <andrey.vlasovskikh@gmail.com>
pkgname=rider-eap
_buildver=181.4035.533
_pkgver=2018.1-EAP3
_eap="True"