Skip to content

Instantly share code, notes, and snippets.

View pardeike's full-sized avatar
💭
Innovating 🛠

Andreas Pardeike pardeike

💭
Innovating 🛠
View GitHub Profile

Rimionship Mod

The Rimionship mod (for RimWorld) is used for the "Rimionship", a German tournament event. The following steps are necessary to install the mod correctly:

  • Alternative 1
  • Alternative 2
  • Common

Rimionship Mod

Die Rimionship Mod (RimWorld) wird für die Rimionship, einem deutschsprachigen Event, benötigt. Folgende Schritte werden gebraucht um die Mod korrekt zu installen.

  • Alternative 1
  • Alternative 2
  • Gemeinsam
@pardeike
pardeike / gist:d161baa4586476f0a25c21c5f84db550
Last active May 31, 2022 19:53
Useful Rasberry Pi setup and maintainance scripts and commands
# install Raspberry Pi OS
https://www.raspberrypi.com/software/
- download Raspberry Pi Imager
- Choose OS: Raspberry Pi OS (other) > Raspberry Pi OS (64bit)
- Choose Storage: use SDCard
- Select Prefs Icon: set up wifi, ssh, login etc
# Connect
- ssh user@raspberrypi.local
@insidegui
insidegui / lsremovearchives.sh
Created December 21, 2021 18:28
Remove Xcode app archives from macOS LaunchServices database
#!/bin/bash
# Recursivelly removes all apps from your Xcode archives from the LaunchServices database, preventing them from being used for widgets, launch at login, etc.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -R -f -u $HOME/Library/Developer/Xcode/Archives
@preble
preble / AssertUnwrap.swift
Created September 16, 2020 23:55
This is Nate's idea, something I use on every project. Sometimes you need to accommodate an optional that shouldn't be optional.
public extension Optional {
/// Stop in the debugger in debug builds if self is `.none`.
///
/// Example usage:
///
/// guard let value = maybeValue.assertUnwrap() else { return "bogus value" }
///
func assertUnwrap(_ message: @autoclosure () -> String? = nil, file: StaticString = #file, function: String = #function, line: UInt = #line) -> Wrapped? {
switch self {
@jdleslie
jdleslie / citrix_ctrl_alt_win.json
Last active February 9, 2024 18:41
Map Apple modifiers (Ctrl, Option, Command) to Windows modifiers (Ctrl, Win, Alt) in Citrix Workspace using Karabiner Elements, with working Alt+Tab and Windows key shortcuts
{
"title": "Citrix Receiver/Workspace modifiers for Ctrl, Alt, Windows order",
"rules": [
{
"description": "In Citrix, add fn modifier to tab so it is forwarded",
"manipulators": [
{
"from": {
"key_code": "tab",
"modifiers": { "optional": [ "any" ] }
using System;
public static class Program {
public static void Main() {
Console.WriteLine(DynamicHarmonyWrapper());
}
public static string DynamicHarmonyWrapper() {
string result = default;
@sid24rane
sid24rane / net.js
Last active February 7, 2024 08:05
Simple TCP Client and Server in Node.js (Covering all useful Properties & Methods)
var net = require('net');
// creates the server
var server = net.createServer();
//emitted when server closes ...not emitted until all connections closes.
server.on('close',function(){
console.log('Server closed !');
});