Skip to content

Instantly share code, notes, and snippets.

@rodrigobdz
rodrigobdz / fix-wordpress-permissions.sh
Last active March 21, 2019 10:49 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
#
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=/var/www/html # <-- wordpress root directory
@rodrigobdz
rodrigobdz / import_bash_aliases.fish
Last active July 17, 2024 16:03 — forked from HiR0GeN/import_bash_aliases.fish
Fish function to import bash aliases to fish abbreviations
# Fish function to import bash aliases v0.2
# Copyright (C) 2016 Malte Biermann
# Copyright (C) 2017 Rodrigo Bermudez Schettino
# Released under the GPL
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#