- Download
- Install
- Run Ghost
- ERROR - Node was out dated.
- Update Node
- Run Ghost
- ERROR - The DB didn't get created
- Run the installer again
- ERROR - The DB still was not created
- Delete Ghost
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 syntax for TABLE 'extension' | |
CREATE TABLE `extension` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`extension_name` text NOT NULL, | |
`extension_slug` varchar(200) NOT NULL, | |
`extension_type` text NOT NULL, | |
`repo_name` varchar(200) DEFAULT NULL, | |
`revision` int(11) DEFAULT '0', | |
`count` int(11) DEFAULT NULL, | |
`description` longtext, |
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
{ | |
"name": "project-name", | |
"version": "0.0.1", | |
"dependencies": { | |
"grunt-cli": "latest", | |
"grunt-contrib-concat": "latest", | |
"grunt-contrib-uglify": "latest", | |
"grunt-contrib-less": "latest", | |
"grunt-contrib-watch": "latest", | |
"grunt-recess": "latest", |
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
module.exports = function(grunt) { | |
grunt.registerTask('watch', [ 'watch' ]); | |
grunt.initConfig({ | |
recess: { | |
options: { | |
compile: true, | |
}, |
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
$mp->identify( $info['id'] ); | |
if ( $stats['is_install'] == 'true' ) | |
$mp->track("Install"); | |
else | |
$mp->track("Update"); | |
$mp->track("Server Stats", array( | |
"is_install" => $stats['is_install'], | |
"prev_version" => $stats['prev_version'], |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap version="1" name="TextMate" parent="Mac OS X 10.5+"> | |
<action id="$Delete"> | |
<keyboard-shortcut first-keystroke="DELETE" /> | |
</action> | |
<action id="Back"> | |
<keyboard-shortcut first-keystroke="meta alt LEFT" /> | |
<mouse-shortcut keystroke="button4" /> | |
</action> | |
<action id="Console.Jpa.GenerateSql" /> |
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
var surl = "http://tentaclecms.com/api/feed/json/"; | |
$.ajax({ | |
url: surl, | |
dataType: "jsonp", | |
jsonp : "callback", | |
jsonpCallback: "jsonpcallback", | |
success: function jsoncallback(json) { |
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
// Load this as part of your Bootstrap mixins.less make sure to also compile the responsive.less if needed. | |
// Adds centered columns. | |
/* | |
<div class="row"> | |
<div class="center6"> | |
<div class="span3">3</div> | |
<div class="span3">3</div> | |
</div> | |
</div> |
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
<?php | |
/* | |
Plugin Name: Next Post | |
Plugin URI: http://adampatterson.ca | |
Description: Provides shortcodes and template tags for next/previous navigation in custom post types. | |
Version: 1 | |
License: GPLv2 | |
Author: Adam Patterson | |
Author URI: http://adampatterson.ca | |
*/ |
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
.container { | |
display: block; | |
width: 80%; | |
margin: 60px auto; | |
} | |
.clearfix { | |
*zoom: 1; | |
&:before, | |
&:after { |