I hereby claim:
- I am androa on github.
- I am androa (https://keybase.io/androa) on keybase.
- I have a public key whose fingerprint is 4690 59F2 FA4E A51C 6F61 C818 49CE 5591 E4DB 9B61
To claim this, I am signing this object:
<?php | |
class ClassWithError { | |
public function multiplyByTen($value = 0) { | |
if (!$value) { | |
trigger_error('Value is missing', E_USER_NOTICE()); | |
return false; | |
} | |
return $value * 10; | |
} |
<style type="text/css"> | |
#warningBox div { display: none; } | |
</style> | |
<div id="warningBox"> | |
<div class="opera"> | |
<h1>Du bruker en eldre versjon av nettleseren Opera</h1> | |
<p>For å få en best mulig opplevelse av våre nettsider, anbefaler vi at du henter <a href="http://www.opera.no/browser/">nyeste versjon av Opera</a>. Bruker du en jobb-PC bør du kontakte IT-ansvarlig.</p> |
<?php | |
/** | |
* Example Zend Framework bootstrap with lazyloading of resources | |
* | |
* @author André Roaldseth <andrer@vg.no> | |
*/ | |
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { | |
/** | |
* Creates a lazyloaded Memcached instance | |
* |
define(function(){ | |
var requireJsConfig = { | |
enforceDefine: true, | |
shim: { | |
jquery: { | |
exports: '$' | |
}, | |
underscore: { | |
exports: '_', | |
deps: ['jquery'] |
#!/bin/bash | |
function complete_remote_paths() { | |
word_to_complete=${COMP_WORDS[COMP_CWORD]} | |
command_line=${COMP_LINE} | |
# If the command line contains ^/ we should start completing | |
if [[ "$command_line" == *^/* ]]; then | |
# Create a base path for svn to use which only contains complete folder | |
# names. Examples: | |
# ^/bra => ^/ |
diff --git a/library/Zend/I18n/Translator/Translator.php b/library/Zend/I18n/Translator/Translator.php | |
index 5b2c156..bd717ac 100644 | |
--- a/library/Zend/I18n/Translator/Translator.php | |
+++ b/library/Zend/I18n/Translator/Translator.php | |
@@ -232,6 +232,18 @@ class Translator | |
} | |
/** | |
+ * Check if the translator has the sufficient configuration to actually | |
+ * perform translations. |
<?php | |
$cnn = new AMQPConnection(); | |
$cnn->connect(); | |
$ch = new AMQPChannel($cnn); | |
$ex = new AMQPExchange($ch); | |
$ex->setName('exchangeName'); | |
$ex->setType(AMQP_EX_TYPE_DIRECT); | |
$ex->declareExchange(); |
#!/bin/bash | |
curl -sS https://getcomposer.org/installer | php | |
php composer.phar create-project -sdev --no-interaction androa/imbo-bootstrap $1 |
# DOCKER-VERSION 1.0.1 | |
FROM ubuntu:14.04 | |
# Install necessary software for Imbo Web servers. | |
RUN apt-get update && apt-get -y install curl php5 apache2 php5-json php5-imagick php5-mongo php5-memcached | |
# Add the source code of Imbo | |
COPY . /imbo | |
# Install necessary Imbo dependencies. |
I hereby claim:
To claim this, I am signing this object: