Skip to content

Instantly share code, notes, and snippets.

View gytisrepecka's full-sized avatar

Gytis Repečka gytisrepecka

View GitHub Profile
@gytisrepecka
gytisrepecka / writefreely.service
Created March 26, 2019 09:07
WriteFreely Systemd service configuration.
[Unit]
Description=Write Freely Instance
After=syslog.target network.target
[Service]
Type=simple
StandardOutput=syslog
StandardError=syslog
WorkingDirectory=/var/www/example.com
ExecStart=/var/www/example.com/writefreely
@gytisrepecka
gytisrepecka / windows_hardware_clock_set_utc.reg
Created April 10, 2018 10:45
Multibooting Windows and Linux on the same device will likely cause hardware clock mismatch. To ensure Windows treats hardware clock as UTC use following Windows Registry script.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001