Skip to content

Instantly share code, notes, and snippets.

@marcosarce
marcosarce / wp.sh
Last active August 29, 2015 14:19 — forked from bgallagh3r/wp.sh
WordPress Bash install script for dev environment. Downloads the latest version of WordPress into the current directory, sets database user/pass in wp-config and then removes itself.
#!/bin/bash
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
echo "Database Name: "
read -e dbname
echo "Database User: "
read -e dbuser
echo "Database Password: "
@marcosarce
marcosarce / .gitignore
Last active August 29, 2015 14:07 — forked from salcode/.gitignore
.gitignore file for Wordpress
# -----------------------------------------------------------------
# .gitignore for WordPress
# Based on Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20141014m
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@marcosarce
marcosarce / redis-server
Last active December 17, 2015 18:09 — forked from tessro/redis-server
CentOS initscript for Redis
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid