Skip to content

Instantly share code, notes, and snippets.

View thoreg's full-sized avatar
:octocat:

Thomas Rega thoreg

:octocat:
View GitHub Profile
@thoreg
thoreg / fix_wordpress_permissions.sh
Created August 16, 2018 19:44
Fix wordpress file permissions
find . -type f -print -exec chmod 644 {} \;
find . -type d -print -exec chmod 755 {} \;
du -sch .[!.]* * |sort -h
DELETE FROM wp_options WHERE option_name LIKE 'wordpress-https%';
@thoreg
thoreg / .screenrc
Created August 13, 2015 14:44
screenrc
########################################################################
# Allgemein
startup_message off # Keine Willkommensnachricht
vbell off # Kein visuelles Blinken
msgwait 1 # Nachrichten für 1 Sekunden anzeigen
defutf8 on # utf8 bei neuen fenstern
autodetach on # on = default
shelltitle 'bash' # Fenstertitel
hardcopydir $HOME # Screenshots ins Homeverzeichnis
defscrollback 10000 # Buffer