Skip to content

Instantly share code, notes, and snippets.

View llamakc's full-sized avatar
🏠
Working from home

K L Clark llamakc

🏠
Working from home
View GitHub Profile
@llamakc
llamakc / Wordpress on OpenBSD issues
Last active July 20, 2023 11:28
Wordpress on OpenBSD issues
I run Worpress (current) on OopenBSD with httpd, MySQL, and php74_fpm. Often after any sysadmin work, point release upgrades,
or reboots (soft, hard) Wordpress becomes unresponsive. Front page may display but any admin function ceases to work.
doas mysqladmin shutdown
doas rcctl restart php74_fpm
doas mysqld_safe &
doas restart httpd

Linux:

timedatectl set-local-rtc 1 --adjust-system-clock

Windows:

  • Navigate to the following key in the left pane of the registry editor:
@llamakc
llamakc / oh-my-zsh
Created August 8, 2021 12:57 — forked from dynax60/oh-my-zsh
Oh-my-zsh on OpenBSD
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.0/packages/i386
$ sudo pkg_add -v zsh-4.3.12 git-1.7.6p0
$ chsh -s /usr/local/bin/zsh
$ git clone git://github.com/robbyrussell/oh-my-zsh.git
$ mv oh-my-zsh .oh-my-zsh
$ cp .oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
@llamakc
llamakc / gist:2ddef18114f9cdd4e7759a7e8531ac40
Last active March 1, 2022 18:52
Arch AUR WindowMaker WPrefs Correct path
As of 2/16/2021 the AUR windowmaker package results in the following: when first attempting to CONFIGURE WINDOWMAKER
from the menu, the path to WPrefs is incorrect.
From a terminal call WPrefs manually to fix its menu location problem. Correct path is:
/usr/lib/GNUstep/Applications/WPrefs.app/WPrefs
Now navigate to the menu editing sction and correct "CONFIGURE WINDOWMAKER" to point to the correct location.
Restart WindowMaker.
@llamakc
llamakc / xfce4-terminal-inner-window-gap
Created November 6, 2020 21:26
How to add padding (inner window border/gap) to xfce4-terminal
If you're using a GTK3 build (uses vte3), you can put this in ~/.config/gtk-3.0/gtk.css:
VteTerminal, vte-terminal {
padding: 16px;
}