- Document details
- Document history
- Audience
- Scope / Background
- Standards
- Substandards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
now=$(date +"%y%m%d") | |
status=$(systemctl check moddedvalheim.service) | |
if [ "$status" == "active" ]; then | |
echo "Seems like the server is still active!" | |
exit 1 | |
else | |
echo "Backup starting..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$color = 0x0063B1 | |
$CSharpScript = @" | |
using System; | |
using System.Runtime.InteropServices; | |
using Microsoft.Win32; | |
public class SolidWallpaper | |
{ | |
public const int SetDesktopWallpaper = 20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i debian-installer/locale string en_GB.UTF-8 | |
d-i keyboard-configuration/xkb-keymap select gb | |
d-i hw-detect/load_firmware boolean false | |
d-i ethdetect/prompt_missing_firmware boolean false | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domain | |
d-i netcfg/wireless_wep string | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string deb.debian.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
orig_iso="$HOME/Downloads/debian-12.1.0-amd64-netinst.iso" | |
new_files="$HOME/Desktop/ISOFILES" | |
new_iso="$HOME/Desktop/debian-12.1.0-amd64-modified.iso" | |
mbr_template=isohdpfx.bin | |
mkdir -p $new_files | |
xorriso -osirrox on -indev $orig_iso -extract / $new_files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: false | |
become: false | |
tasks: | |
- name: Create folder structure | |
ansible.builtin.file: | |
path: "{{ item }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAFUAdADASIAAhEBAxEB/8QAGwAAAgMBAQEAAAAAAAAAAAAAAAECAwQFBgf/xAA7EAACAQIEBAQEBAUDBAMAAAAAAQIDEQQSITEFQVFhEyJCcQYyYqFSgZGxFCMzcsEV4fAHQ4KykqLC/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwQF/8QAIREBAQEBAAIDAAMBAQAAAAAAAAERAiExAxJBBDJRImH/2gAMAwEAAhEDEQA/APRNg2K4rnxte7AxXBiJpguFwYXGmC4NgJsagbI3BsVxq4dwuK4XGh3E2JsTY0SuK4rhcaHcLkbgNErhcjcLjQ2K9guJsmh3HchfUto0KuInko05VJdIrYaVG4ztYX4ZrTSliakaa5xjqzr4fgeAw9mqKnLrN3Gxm9R4+EZzdoRcn2VzRHAYyfyYWq++VntoUoQVoQjFdkkSsifZPs8T/pWP3eFqfoVzwWKp/wBTD1I2+lnuspFxJ96fZ4Fpp2aafcTue4q4ajWTVSlCfujm4jgOEqXdPNSl9Luv0Ynf+rrzDHc6OJ4Ji8OnKmlVivw7/oc9pxbUk01umjc6l9KCEnoSIsogJjYuRKpMSQ2BNCAdgsURaGth2ACLESYrAICVtBMCNgsSsCRUCQch2HYCNgSJWBRAa2ISdizLoVzRUJMbIxWpYkUbvyIu/Q1NLoiLS6GMa1nd+gtTTaPQVl0GGszuRuzU4x6IWWPQmGs92KTuacsegnCPQYay3C5qdOPQXhx6DDWYDR4cegvDiMNUCNHhxF4cRhrOBodKIvDiTKaoC5d4UReHEZTV |
The Steam Deck is great, I'm less than 24 hours in but already loving it. It does have a few quirks compared to a standard Windows or Linux machine though... it has an immutable filesystem... meaning you can't just install packages using pacman
as you normally would, and while you can switch this off temporarily to install things, these changes will likely be overwritten during the next software update cycle.
To work around this, I've found versions of lolcat and fortune that are written in python and installed in the /home/deck
folder, which should survive any OS updates. Credit for both these tools goes to the original authors:
- Install pip using
python3 -m ensurepip
NewerOlder