Adding subdomain to Let's encrypt

Extending the certificate to also cover www.iix.se sudo certbot certonly --standalone -d iix.se,www.iix.se,monit.iix.se,test.iix.se Sat Nov 04 11:14 W44 Saving debug log to /var/log/letsencrypt/letsencrypt.log Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org ------------------------------------------------------------------------------- You have an existing certificate that contains a portion of the domains you requested (ref: /etc/letsencrypt/renewal/iix.se.conf) It contains these names: iix.se, monit.iix.se, test.iix.se You requested these names for the new certificate: iix.se, www.iix.se, monit.iix.se, test.iix.se. Do you want to expand and replace this existing certificate with the new certificate?...

New equipment for home LAN

This is basically scratch-space for my plans (or dreams) of buying new home equipment. I have some smaller problems with my current equipment, and it would be nice to upgrade to something more modern. Current issues Router (which also is modem and access-point) is not wall-mountable and is currently placed in an awkward position. Switch does not support link aggregation (IEEE 802.3ad), which my storage supports. Current plans I have no real need for a new router, as I can just as well run pfsense on a KVM instead....

October 21, 2017  | 

Windows 10 cleanup after install

Both come from reddit Alternative 1 @rem *** Disable Some Service *** sc stop DiagTrack sc stop diagnosticshub.standardcollector.service sc stop dmwappushservice sc stop WMPNetworkSvc sc stop WSearch sc config DiagTrack start= disabled sc config diagnosticshub.standardcollector.service start= disabled sc config dmwappushservice start= disabled REM sc config RemoteRegistry start= disabled REM sc config TrkWks start= disabled sc config WMPNetworkSvc start= disabled sc config WSearch start= disabled REM sc config SysMain start= disabled REM *** SCHEDULED TASKS tweaks *** REM schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /Disable schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentLogOn" /Disable schtasks /Change /TN "Microsoft\Office\OfficeTelemetryAgentFallBack" /Disable schtasks /Change /TN "Microsoft\Office\Office 15 Subscription Heartbeat" /Disable REM schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable REM schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable REM schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable *** Not sure if should be disabled, maybe related to S....

September 30, 2017  | 

Umoria: Farming with Wand of Clone Monster

To farm with a wand of clone monster, you need the following: A wand of clone monster A monster with good drops (optional) A way to refresh your wand As always in moria, things can go wrong. It would be stupid to not carry an escape mechanism like a scroll of teleportation. Wand of Clone Monster The wand begins dropping on 750ft, and is therefore best aquired there. It’s not that rare though, so you will probably find a few every once in a while....

Umoria: General Tips

Umoria General Tips Traps Disarming traps give exp. But only do this if you are fine with the trap possibly springing on you, since sooner or later it will. Invisible monsters A good way to kill invisible monsters is moving into a corridor, waiting until it hits you, and then attacking the way you came from. If this doesn’t work, it’s one of the ghosts which can walk through walls. It’s usually better to just leave than trying to kill those, since they don’t chase much anyways....

Umoria: Guide to Moria Adventuring

Guide to Moria Adventuring (or How to Slay Your Balrog) The information on this page comes from Beej’s moria page, 30 minutes of UMoria, investigating the source code, and simply playing the game. If there’s something you want to know that I don’t mention, it’s likely mentioned in one of the links. Links Beej’s Moria Page 30 minutes of UMoria (walkthrough) Debian moria package The Moria Spoilers (data sheets) Table of Content General Tips Farming with a wand of clone monsters Winning UMoria with a mage

Umoria: Winning with a Mage

This walkthrough is based on my attempt to win the game with an elven mage. Much of this comes from 30 minutes of UMoria, but it’s a very long show, and I prefer text to video. Character Generation A elven mage gets a lot of negative STR and CON, which you need to be aware of. STR INT WIS DEX CON CHA Elf -1 | +2 | +1 | +1 | -2 | +1 Mage -5 | +3 | +0 | +1 | -2 | +1 Total -6 | +5 | +1 | +2 | -4 | +2 My mage started out with 5 STR and >18 INT, which turned out to be a bit problematic because of weight issues....

Docker-Compose Cheatsheet

# Restart single instance and refresh image sudo docker-compose up -d --build backend

Restore after messing up a database

This is an example of doing a quick and dirty restore of a database. Typically happens after doing something stupid, like running UPDATE without a WHERE (oops). In this case, we restore database iix-notes (which by pure coincidence is the same name as this site) from a daily backup. The database is hosted on a postgresql docker container, but it should work the same regardless. Fetch a backup and copy it to the docker container cd $HOME gpg -o iix-notes....

Automatic backup to MEGA cloud with crontab

Backing up stuff to the cloud is all the rage, and I wanted to give it a try. Since I don’t really want to spend any money on it, I decided to go with the best free provider I could find. I haven’t done too much research, but MEGA’s 50 free GB seems to be the best offer around. They also have a simple CLI tool called megatools (manual). Since I couldn’t find megatools in the official debian repo, I decided to use it from docker....