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
diff --git a/loudblog/inc/accesscheck.php b/loudblog/inc/accesscheck.php | |
index 01f43f9..457eb0e 100644 | |
--- a/loudblog/inc/accesscheck.php | |
+++ b/loudblog/inc/accesscheck.php | |
@@ -68,15 +68,15 @@ else { | |
//compare with the login-data from session and from post | |
foreach ($result as $row) { | |
if ((isset($_SESSION['nickname'])) | |
- AND ($row['nickname'] == $_SESSION['nickname']) | |
- AND ($row['password'] == $_SESSION['password'] OR $row['password'] == md5($_SESSION['password'])) |
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 | |
/* ..snip.. */ | |
/* ここでは df_social として関数を定義していますけど適当な名前でOKです */ | |
function df_social() { | |
?> | |
<div class="socialLink"> | |
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-via="{あなたのアカウント}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> | |
<a href="http://b.hatena.ne.jp/entry/<?php the_permalink(); ?>" class="hatena-bookmark-button" data-hatena-bookmark-title="<?php the_title(); ?>" data-hatena-bookmark-layout="standard" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a><script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script> | |
<iframe src="http://www.facebook.com/plugins/like.php?href=<?= urlencode(get_permalink()) ?>&layout=button_count&show_faces=true&wi |
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
<!-- ..snip.. --> | |
<?php if (Configure::read('AprilFool')) : ?> | |
fool content write here! | |
<?php endif; ?> | |
<?php __('Any Message'); ?> | |
<!-- ..snip.. --> |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.macports.zabbix_agent</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/local/share/zabbix/zabbix_agentd.init</string> |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>UserName</key> | |
<string>jenkins</string> | |
<key>Label</key> | |
<string>org.jenkins-ci.jenkins</string> | |
<key>EnvironmentVariables</key> | |
<dict> |
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
#!/bin/bash | |
# help print | |
function print_usage { | |
echo "" | |
echo "$0 <extension_name>" | |
} | |
if [ $# != 1 ]; then | |
print_usage |
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 | |
/** | |
* Automatic generation of HTML FORMs from given data. | |
* | |
* Used for scaffolding. | |
* | |
* PHP versions 4 and 5 | |
* | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) |
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
[\x00-\x08]|[\x0B\x0C]|[\x0E-\x1F]|\x7F|[\x{2028}\x{2029}] |
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
class Stagehand_TestRunner_CakeSkipTest extends CakeTestCase | |
{ | |
public function skip() | |
{ | |
$this->skipIf(true, 'This is an skip message.'); | |
} | |
public function testPass() | |
{ | |
$this->assertTrue(true); |