This file contains hidden or 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
| FROM centos:centos6 | |
| MAINTAINER [email protected] | |
| # Apache | |
| RUN yum install -y httpd httpd-devel | |
| RUN chkconfig httpd on | |
| RUN apachectl start | |
| # Dependencies | |
| RUN yum groupinstall -y "Development tools" |
This file contains hidden or 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
| /** | |
| * Create Custom Meta Boxes for WooCommerce Product CPT | |
| * | |
| * Using Custom Metaboxes and Fields for WordPress library from | |
| * Andrew Norcross, Jared Atchinson, and Bill Erickson | |
| * | |
| * @link http://blackhillswebworks.com/?p=5453 | |
| * @link https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress | |
| */ | |
This file contains hidden or 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
| CREATE TABLE `makers` ( | |
| `id` int(10) unsigned NOT NULL, | |
| `name` varchar(255) NOT NULL, | |
| `description` varchar(255) NOT NULL, | |
| `created_at` datetime NOT NULL, | |
| `updated_at` datetime NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
| -- |
This file contains hidden or 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
| Video on this Gist: https://www.youtube.com/watch?v=zvpLDuRY4ss&feature=c4-overview&list=UUj8_147vA3FQ1quI_CjciIQ | |
| #Initialize a bare repo on the webserver. This would preferably be outside of your public website dir but if you are on a shared host you may not have that option. I like to make a folder just outside of the live folder called git. So for me it would look like this… | |
| $ cd /var/www | |
| $ mkdir git && cd git | |
| $ git init –-bare | |
| #Now you need to create a post-receive hook that will check out the latest tree from the Git repo you just setup into the /var/www/html folder where you want your website to be. You can make this whatever folder you want your code to end up in. | |
| #This will create a file called post-receive in the hooks dir of the git repo. |
This file contains hidden or 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
| // | |
| // extract_youtube_id.m | |
| // TestRegex | |
| // | |
| // Created by zdk on 1/8/2013 BE. | |
| // Copyright (c) 2013 zdk. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
NewerOlder