Skip to content

Instantly share code, notes, and snippets.

View LunaCodeGirl's full-sized avatar

Luna Comerford LunaCodeGirl

View GitHub Profile
@LunaCodeGirl
LunaCodeGirl / wp-config-sample.php
Created September 11, 2013 23:41
Wordpress sample config file
<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, WordPress Language, and ABSPATH. You can find more information by
* visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
* wp-config.php} Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
@LunaCodeGirl
LunaCodeGirl / Git config
Created September 10, 2013 23:55
Git initial global configuration
git config --global user.name "Your Name"
git config --global user.email your.email@example.com
@LunaCodeGirl
LunaCodeGirl / permissions.sh
Created September 10, 2013 07:26 — forked from aristath/permissions.sh
Script to fix permissions in wordpress directory.
#!/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=root # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory