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
<script type="text/javascript"> | |
/* <![CDATA[ */ | |
jQuery(document).ready(function(){ | |
jQuery.noConflict(); | |
var jq = jQuery; | |
jq.ajax({ | |
url: '/rss', | |
type: 'GET', | |
dataType: 'xml', | |
error: function (xhr, status, e) { |
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 | |
// ... | |
if (!$memcached->connect($_Auth_OpenID_memcache_test_host)) { | |
print "(skipping memcache store tests - couldn't connect)"; | |
$this->pass(); | |
} |
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
this_dir = File.dirname(__FILE__) | |
chef_dir = "#{this_dir}/chef-solo" | |
if !File.exist?(chef_dir) then | |
Dir.mkdir(chef_dir) | |
end | |
file_cache_path "#{chef_dir}" | |
cookbook_path [ "#{chef_dir}/cookbooks" ] | |
role_path "#{chef_dir}/roles" |
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 | |
class Tester | |
{ | |
private static $foo; | |
public function __construct() | |
{ | |
self::$foo = true; | |
} |
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
#!/bin/sh | |
############################ | |
# Author: Till Klampaeckel # | |
# License: New BSD License # | |
############################ | |
version=$1 | |
if [ "x$version" = "x" ]; then | |
echo "Usage: ./$0 5.0|5.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
<?php | |
$foobar = 'dwin r'; | |
if (($foo = apc_fetch('foo', $success))) { // === true < stops working | |
var_dump($foo, $success); | |
} | |
if ($success === false) { | |
echo "STORING"; | |
var_dump(apc_store('foo', $foobar)); | |
} |
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 | |
$_class = ''; | |
if($IDOutsideLoop == $post->ID) { | |
$_class .= ' class="leftcurrent" '; | |
} | |
?> | |
<li> | |
<a href="<?php the_permalink() ?>"<?php echo $_class; ?>rel="bookmark" title="<?php the_title(); ?>"> | |
<?php the_title(); ?> | |
</a> |
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/php -q | |
<?php | |
define("DBHOST", "localhost"); | |
define("DBUSER", "-mydb"); | |
define("DBPASS", ""); | |
define("DEFAULT_DB", "-mydb"); | |
define("MAILER_TABLE", "mail_queue"); | |
define("MAILER_LOCK_FILE", "/tmp/mailer_queue.lock"); |
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
(see the transcript file for additional information) | |
Output written on buch.dvi (45 pages, 161428 bytes). | |
Transcript written on buch.log. | |
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support). | |
Scanning style file ./gp.ist...................done (19 attributes redefined, 0 ignored). | |
Scanning input file buch.idx...done (0 entries accepted, 0 rejected). | |
Nothing written in buch.ind. | |
Transcript written in buch.ilg. | |
buch.dvi -> CouchDB.pdf |
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
Problem: | |
\begin{gpListing} | |
[foo] | |
\end{gpListing} | |
=> [foo] wird nicht angezeigt | |
Loesung: |