Sunday, July 12, 2026

Hibernate on Ubuntu 26

How to Enable Hibernate on Ubuntu 26.04 LTS

Enable Hibernate Function in Ubuntu 26.04, 24.04 or 22.04 LTS


u-admin@ubuntu-server:~$ cat /proc/swaps
Filename                                Type            Size            Used            Priority
/swapfile                               file            524284          0               -1

u-admin@ubuntu-server:~$ sudo swapoff /swapfile
sudo rm -f /swapfile /swap.img
sudo fallocate -l 20G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Setting up swapspace version 1, size = 20 GiB (21474832384 bytes)
no label, UUID=612c8171-f10a-4fe9-8ed7-d0d3a5f3d4d0
u-admin@ubuntu-server:~$ cat /proc/swaps
Filename                                Type            Size            Used            Priority
/swapfile                               file            20971516        0               -1


u-admin@ubuntu-server:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=A259-7FE0                            /boot/efi      vfat    defaults   0 2
UUID=af9fa36a-afed-4638-ab57-6f4c9788e08e /              ext4    defaults   0 1
# UUID=424C5B5E4C5B4C33 /media/gamedisk ntfs uid=1000,gid=1000,rw,user,exec,umask=000 0 0
/swapfile                                 swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0


u-admin@ubuntu-server:~$ findmnt -no UUID -T /swapfile
af9fa36a-afed-4638-ab57-6f4c9788e08e

u-admin@ubuntu-server:~$ sudo filefrag -v /swapfile | head -5
Filesystem type is: ef53
File size of /swapfile is 21474836480 (5242880 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..       0:   98529265..  98529265:      1:
   1:        1..   36863:   98529281..  98566143:  36863:             unwritten


u-admin@ubuntu-server:~$ sudo nano /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR='Kubuntu'
GRUB_CMDLINE_LINUX_DEFAULT='quiet splash resume=UUID=af9fa36a-afed-4638-ab57-6f4c9788e08e resume_offset=98529265'
GRUB_CMDLINE_LINUX=""

u-admin@ubuntu-server:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-7.0.0-27-generic
Found initrd image: /boot/initrd.img-7.0.0-27-generic
Found linux image: /boot/vmlinuz-7.0.0-22-generic
Found initrd image: /boot/initrd.img-7.0.0-22-generic
Found linux image: /boot/vmlinuz-7.0.0-14-generic
Found initrd image: /boot/initrd.img-7.0.0-14-generic
Found memtest86+ 64bit EFI image: /boot/mt86+x64
Found memtest86+ 32bit EFI image: /boot/mt86+ia32
Found memtest86+ 64bit image: /boot/mt86+x64
Found memtest86+ 32bit image: /boot/mt86+ia32
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

u-admin@ubuntu-server:~$ sudo nano /etc/initramfs-tools/conf.d/resume
resume=UUID=af9fa36a-afed-4638-ab57-6f4c9788e08e resume_offset=98529265

u-admin@ubuntu-server:~$ sudo update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-7.0.0-27-generic
cryptsetup: ERROR: Couldn't resolve device /swapfile
update-initramfs: Generating /boot/initrd.img-7.0.0-22-generic
cryptsetup: ERROR: Couldn't resolve device /swapfile
update-initramfs: Generating /boot/initrd.img-7.0.0-14-generic
cryptsetup: ERROR: Couldn't resolve device /swapfile

Debloat Windows handheld - Chris Titus

 GitHub - ChrisTitusTech/winutil: Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates · GitHub


irm https://christitus.com/win | iex











Monday, April 20, 2026

Ayn Thor


AYN Thor (and other Dual-Screen Android Handheld) Guide – Retro Game Corps

Android Emulation Starter Guide – Retro Game Corps




Summary from Techdweeb:
1. Install ES-DE - This will create a ROMs folder

2.Manually create these folders:
- BIOS
- Saves
- States

3. Retroarch
- Settings > User Interface > Appearance > Color Theme (follow device theme)
- On-Screen Notifications > Scale Graphics Widgets Automatically: OFF
- Graphics Widgets Scale Override: 0.75x
- On-Screen Overlay: OFF
- File Browser: Build-in Image Viewer: OFF

- Input > RetroPad Binds > Port 1 Controls > Analog to Digital Type: Left Analog
- Input > Bind Hold: 0
- Input > Confirm Quit: OFF

- Hotkeys > Hotkey Enable: Select
- Menu Toggle (Controller Combo): L3 + R3 (Quick Menu)
- Menu Toggle: B
- Fast Forward (Toggle): R2
- Rewind: L2
- Slow-Motion: L3
- Load State: L1
- Save State: R1
- Next Save State: D-Pad RIGHT
- Previous Save State: D-Pad LEFT
- Screenshot: Y
- Input > Input Block Timeout: 1 (for Android device)
- Saving > Auto Save State: ON 
- Saving > Auto Load State: ON 
- Saving > Increment Save State Automatically: ON

- Achivement > Hardcore Mode: OFF (If ON, save state won't work)
- Directory > System/BIOS (if on SDCard it will show numbers like 0090-1830)
- Directory > Save Files
- Directory > States


Friday, December 19, 2025

Debloat Windows 10 and 11

 On Admin Powershell:

Run:

irm christitus.com/win | iex

or

iwr -useb https://christitus.com/win | iex


Video:

Debloat Windows in Seconds With This Command


Remember to Disable Hybernation

Thursday, May 12, 2022

Setting up HTTPS Apache webser on Ubuntu

 Create self signed certificate

https://linuxize.com/post/creating-a-self-signed-ssl-certificate/


Follow this guide:

https://www.arubacloud.com/tutorial/how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04.aspx


Remove: 

'SSLSessionTickets'vfrom /etc/apache2/conf-enabled/ssl-params.conf

CN name can set to server's IP.