- 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
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
<?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
$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
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
{ | |
"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
-- 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, |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
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
<? | |
if ( have_posts() ): | |
echo '<!-- '.$post->post_name.'-->'; | |
if ( is_front_page() ): | |
get_template_part('templates/content', 'home'); | |
else: | |
if ( file_exists(get_template_directory().'/templates/content-'.$post->post_name.'.php')) | |
get_template_part('templates/content', $post->post_name); | |
else | |
get_template_part('templates/content', 'page'); |
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
(function($) { | |
var o = $( {} ); | |
$.each({ | |
trigger: 'publish', | |
on: 'subscribe', | |
off: 'unsubscribe' | |
}, function( key, val ) { | |
jQuery[val] = function() { | |
o[key].apply( o, arguments ); |