This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum SourceType { | |
"""Use this for a shop, nursery, etc.""" | |
PROPAGATOR | |
"""Use this option for websites, books, databases, etc.""" | |
INFO | |
} | |
enum PropagatorType { | |
SEED | |
BULB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; php-doc.el --- doc block generator/extractor for php | |
;; Copyright (C) 2010, 2013 Stefan Siegl <stesie@brokenpipe.de> | |
;; Maintainer: Stefan Siegl <stesie@brokenpipe.de> | |
;; Author: Stefan Siegl <stesie@brokenpipe.de> | |
;; Keywords: php docblock | |
;; Created: 2010 | |
;; Modified: 2013-09-14 | |
;; X-URL: https://gist.github.com/stesie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: BackupDB | |
Description: Makes a backup of your database in wp-content. | |
Version: 1.0 | |
Author: Anca I/O | |
Author URI: http://anca.io | |
License: DWUWWI (Do whatever you want with it) | |
*/ | |
//Get going! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist | |
sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist | |
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true /> | |
<key>Label</key> | |
<string>com.mysql.mysqld</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/mysql/bin/mysqld_safe</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory "/projects"> | |
Options Indexes MultiViews FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Virtualhost *:80> | |
VirtualDocumentRoot "/Users/YOUR_USERNAME/projects/home/wwwroot" | |
ServerName home.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apachectl restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory /> | |
AllowOverride none | |
Require all denied | |
</Directory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#LoadModule php5_module libexec/apache2/libphp5.so | |
#LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so | |
#LoadModule rewrite_module libexec/apache2/mod_rewrite.so | |
#Include /private/etc/apache2/extra/httpd-vhosts.conf |
NewerOlder