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
source loppis_posts | |
{ | |
type = mysql | |
sql_host = localhost | |
sql_user = user | |
sql_pass = pass | |
sql_db = loppis_dev | |
sql_port = 3306 # optional, default is 3306 |
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 | |
$host = strtolower($_SERVER['HTTP_HOST']); | |
$file['local'] = '/etc/dokuwiki/'.$host.'/local.php'; | |
require_once($file['local']); | |
$prefix = '/var/lib/dokuwiki/'.$host.'/'; | |
$conf['olddir'] = $prefix.'attic'; | |
$conf['cachedir'] = $prefix.'cache'; | |
$conf['lockdir'] = $prefix.'locks'; |
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
--- wp-lists.dev.js.orig 2009-11-29 11:29:12.000000000 +0100 | |
+++ wp-lists.dev.js 2012-05-28 21:56:43.000000000 +0200 | |
@@ -62,7 +62,7 @@ | |
if ( !s ) { return false; } | |
- if ( !e.is("[class^=add:" + list.id + ":]") ) { return !wpList.add.call( list, e, s ); } | |
+ if ( !e.is("[class^='add:" + list.id + ":']") ) { return !wpList.add.call( list, e, s ); } | |
if ( !s.element ) { return 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
public class Result | |
{ | |
public static final Result SUCCESS = new Result(true, ""); | |
private boolean success; | |
private String message; | |
private Result(boolean success, String message) | |
{ | |
this.success = success; |
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
import static org.testng.Assert.*; | |
public class AssertResult | |
{ | |
static public void assertSucceeded(Result result) | |
{ | |
assertTrue(result.succeeded(), result.getMessage()); | |
} | |
static public void assertFailed(Result result) |
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
#include "double_fork.hh" | |
#include <cstdlib> | |
#include <cerrno> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
int double_fork()/*{{{*/ |
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
'view_helpers' => array( | |
'invokables' => array( | |
'userIdentity' => 'Application\View\Helper\UserIdentity', | |
) | |
), |
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
$('label').click(function () { | |
$(this).next().focus(); | |
}); |
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/bash | |
# This is a simple build script and will be executed on your CI system if | |
# available. Otherwise it will execute while your application is stopped | |
# before the deploy step. This script gets executed directly, so it | |
# could be python, php, ruby, etc. | |
WP_CONTENT=$OPENSHIFT_REPO_DIR/php/wp-content | |
for SUBDIR in plugins themes uploads blogs.dir; do |
OlderNewer