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 | |
/** | |
* まだ途中. とりあえずCSSをセレクタとプロパティに大ざっぱに分割したとこ | |
*/ | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
$resourse = <<< DOC_END |
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 | |
// http://code.google.com/intl/ja/apis/chart/docs/gallery/new_map_charts.html | |
// detectColorメソッドを実装して,値に対して色(16進数)を割り振る | |
abstract class JapanMapChart | |
{ | |
private | |
$_baseUrl, | |
$_params, |
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
// ==UserScript== | |
// @name Trash Hotentry | |
// @namespace http://havelog.ayumusato.com/ | |
// @description くずかごフィルター | |
// @include http://www.google.com/reader/view* | |
// @version 0.1 | |
// ==/UserScript== | |
(function(doc) { | |
setInterval(function() { |
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
テンプレートはこんなかんじで | |
<!-- BEGIN_MODULE Sample_KyonenNoOmoide --> | |
<p>去年のおもいで</p> | |
<ul><!-- BEGIN omoide:loop --> | |
<li><a href="{url}">{title}</a></li><!-- END omoide:loop --><!-- BEGIN notFound --> | |
<li>おもいでなかった・・・</li><!-- END notFound --> | |
</ul> | |
<!-- END_MODULE Sample_KyonenNoOmoide --> |
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
#!/usr/bin/ruby -Ku | |
require 'fileutils' | |
# つかいかた | |
if ARGV.length == 0 | |
print "[Usage?] % git_diff_export [from revesion] [export dirpath]\n" | |
exit(false) | |
end |
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 | |
/* | |
loadEntryField関数は,カスタムフィールドをFieldオブジェクトとして返します | |
buildFieldメソッドは,Fieldオブジェクトを自動で展開します | |
これで展開すると,<!-- BEGIN key:touch -->のようなブロックや, | |
{selected:key#var}みたいな変数が自動でループ内につくれます. | |
*/ |
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
<!-- BEGIN_MODULE Sample_FormCount --> | |
{count} | |
<!-- END_MODULE Sample_FormCount--> |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>わくわくjQuery編</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script > | |
<script type="text/javascript"> | |
$(function() | |
{ | |
// ★ 画像の読み込みをテキトーに待つよ |
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 | |
require_once ACMS_LIB_DIR.'GET.php'; | |
class ACMS_GET_User_Messanger extends ACMS_GET | |
{ | |
function get() | |
{ | |
if ( !sessionWithAdministration() ) die; |
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
uu.ready(function() { | |
var socket, notify, enable; | |
// デスクトップ通知をサポートしているかを判定しておく | |
if ( window.webkitNotifications ) { | |
notify = true; | |
uu("#detect").add('<p>READY: your browser is supported webkitNotifications.</p>'); | |
} else { | |
notify = false; | |
uu("#detect").add('<p>ERROR: your browser does not support webkitNotifications.</p>'); |
OlderNewer