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
package TestPlugin::App; | |
use strict; | |
use MT::Entry; | |
use MT::ObjectTag; | |
sub _hdlr_test { | |
my $term = { blog_id => 1, status => MT::Entry::RELEASE() }; | |
my $arg = { | |
limit => 10, | |
join => [ 'MT::Placement', 'entry_id', |
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
<style> | |
#drop-handler { | |
height: 150px; | |
background-color: #DFDFDF; | |
border-radius: 10px; | |
border: dotted 2px #6f6f6f; | |
margin-bottom: 1em; | |
} | |
#drop-handler p{ |
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
/*! | |
* getLayerText | |
* Ver. 1.0.0 | |
* Author: Hideki Abe | |
*/ | |
// Reference: | |
// http://stackoverflow.com/questions/4066108/photoshop-jsx-how-do-i-copy-arbitrary-text-to-the-clipboard#answer-13983268 | |
function copyTextToClipboard(txt) { | |
const keyTextData = app.charIDToTypeID("TxtD"); |
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
/** | |
* BxSlider v4.1.2 - Fully loaded, responsive content slider | |
* http://bxslider.com | |
* | |
* Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com | |
* Written while drinking Belgian ales and listening to jazz | |
* | |
* Released under the MIT license - http://opensource.org/licenses/MIT | |
*/ |
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 ($) { | |
"use strict"; | |
// コンテンツのフェードインアニメーション | |
// Todo: IE9対策 | |
// jQuery or ajl Plugin化 | |
var $window = $(window); | |
var $contents; | |
var nContents; | |
var prevPos = -1; |
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
#!/usr/bin/env python | |
#!coding: utf-8 | |
import sys, os, re, shutil | |
from optparse import OptionParser | |
parser = OptionParser(usage= | |
'''%prog [options] <target-dir> | |
Example: |
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 ($) { | |
var jqXHR, | |
domContentLoaded = $.Deferred(), | |
imgLoaded = -1, | |
timer; | |
$(function () { | |
$appendTarget = $("#shop_recommend"); | |
domContentLoaded.resolve($appendTarget); | |
}); |
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 ($) { | |
var id; | |
var blogId; | |
var magicToken; | |
var api; | |
var config = MT.Editor.TinyMCE.config; | |
var base_url = StaticURI + 'plugins/ExtendTinyMCE/'; | |
// TinyMCEで利用するプラグイン |
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 ($) { | |
"use strict"; | |
var dfd; | |
function getHolidayData() { | |
return $.ajax({ | |
url: "xml/data-201409.xml" | |
}); | |
} |