Skip to content

Instantly share code, notes, and snippets.

View Martinligabue's full-sized avatar
🍇
I like trains

Martin Ligabue Martinligabue

🍇
I like trains
View GitHub Profile
#!/bin/bash
# -----------------------------------------------------------------------------
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#!/bin/bash
read -p "Please enter the game directory: " game_dir
# Execute the command with the input
./decima repack --backup "--project=$game_dir" "$game_dir/data/59b95a781c9170b0d13773766e27ad90.bin" mod_files
# Pause equivalent in Linux, you can delete this
read -p "Press any key to continue..."
@Martinligabue
Martinligabue / Caddyfile
Last active July 5, 2024 10:15
this Caddy config file can be used if you have already a server (ie. nextcloud) exposed to the internet, and you want a second server (ie. a webserver) to exit with the same ip. they are filtered based on the url used to connect to the ip
# Main domain and all subdomains, proxying to the other server in the local network
<url>, *.<url> {
reverse_proxy https://192.168.1.<ip> {
header_up Host {host}
header_up X-Real-IP {remote}
transport http {
tls_insecure_skip_verify
}
}
}
@Martinligabue
Martinligabue / ipfs-linux-iso-collection.md
Last active June 22, 2021 09:56 — forked from i5heu/ipfs-linux-iso-collection.md
ipfs linux .iso collection
file ipfs hash
debian-10.4.0-amd64-netinst.iso QmSQXa22nRKddx4cojKHpco8du1bBdk3dzDZ5QK2WHjtQY
ubuntu-20.04-live-server-amd64.iso QmXknmssT6gef1tyTxXAtTMuHyE1bid3Thhq5ooRGAt6if
archlinux-2020.05.01-x86_64.iso QmbCNtXFfA2cKvQ5Ncnh3s9ZscdvqA1eZCPUB1qiU4ZuSk
debian-10.4.0-amd64-xfce-CD-1.iso QmaQmb4j9XMVFXv574FpTwnz4R8fLRqPfucd8Mz8c93Qyt
latest-nixos-plasma5-x86_64-linux.iso QmXyRpSxdd67Yo2m4sRTnf8McFy7yPjUN5knonyJPjpq24
tails-amd64-4.6.img QmP5pf2vUEKG3dxAJdfhj4TaoecrZCRQnVQxsk4j7xaxrX
ubuntu-20.04-desktop-amd64.iso QmY7nvn8BLJ8pNCQv1fK31YgfqdXtcMUaf3jqd5ap5ZJMW
Bionic pup 32bit 8.0 uefi QmZfS1RtWpJujBzYPH4Ez3HskuMEgJrUFwb8iyapnFcdTt