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
# Uncrustify 0.60 | |
# | |
# General options | |
# | |
# The type of line endings | |
newlines = auto # auto/lf/crlf/cr | |
# The original size of tabs in the input |
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"?> | |
<code_scheme name="AndroidStyle"> | |
<option name="JAVA_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="4" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="8" /> | |
<option name="TAB_SIZE" value="8" /> | |
<option name="USE_TAB_CHARACTER" value="false" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> |
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 | |
/** | |
* Open Graph protocol for WordPress | |
* @version 0.9.2 | |
* @author makoto_kw | |
* @link https://gist.github.com/3399585 | |
*/ | |
// key into custom fields for description. Default is for All in One SEO Pack | |
define('WP_OGP_POST_DESCRIPTION_KEY', '_aioseop_description'); |
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
(function($){ | |
if ($.jQTouch) { | |
$.jQTouch.addExtension(function ReplaceLoad(jQT){ | |
function load($anchor, $replace) { | |
if ($anchor.hasClass('loading')) return; | |
$anchor.addClass('loading active'); | |
$.get($anchor.attr('href'), function(data) { | |
$replace.after(data).remove(); | |
}); | |
} |
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
/* | |
* Sencha touch for Chrome Extension | |
* Copyright(c) 2010 makoto_kw | |
* @license GNU GPL license v3 | |
*/ | |
if (Ext) { | |
Ext.apply(Ext.is, { | |
ChromeExtension: true | |
}); | |
Ext.apply(Ext.Ajax, { |
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: Syntaxhighlighter for Legacy | |
Description: apply code highlight to the Syntaxhighlighter 1.5 style by Syntaxhighlighter Evolved. | |
Version: 1.0 | |
Author: makoto_kw | |
Author URI: http://www.makotokw.com/ | |
*/ | |
function SyntaxhighlighterEvolvedForPlaneHtml($text) { | |
global $SyntaxHighlighter; |
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: Syntaxhighlighter For Movable Type to Evolved | |
Description: Convert 'SyntaxHighlighter for Movable Type' style to SyntaxHighlighter Evolved style | |
Version: 1.0 | |
Author: makoto_kw | |
Author URI: http://www.makotokw.com/ | |
*/ | |
function SyntaxhighlighterForMovableType2Evolved($text) { | |
return preg_replace('/\[code:([\w#+-]+)\]/s','[code lang="$1"]', $text); |
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 | |
// PukiWiki 2 Evernote | |
// | |
// @version 1.00 | |
// | |
// this script is freely distributable under the terms of new BSD license. | |
// Copyright (c) 2009, makoto_kw All rights reserved. | |
// | |
// How to Use |
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 | |
/** | |
* gist.inc.php - embed gist | |
* | |
* Usage: | |
* #gist(231844) | |
* &gist(231844); | |
* | |
* @author makoto_kw | |
* @licence http://www.gnu.org/licenses/gpl.html GPLv2 |
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
/** | |
* Ubiquity Commands | |
* @author makoto_kw | |
* @see http://gist.github.com/180114 | |
*/ | |
Cu.import("resource://ubiquity/modules/oauth.js"); | |
(function($){ | |
var author = { name: 'makoto_kw', email: '[email protected]'}; |