I hereby claim:
- I am martinsteel on github.
- I am martinsteel (https://keybase.io/martinsteel) on keybase.
- I have a public key whose fingerprint is 763C E65A 9A47 4A8E 35FF 2A7B C387 95FE D8CA B15D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
private static IKernel CreateKernel() | |
{ | |
var kernel = new StandardKernel(); | |
try | |
{ | |
kernel.Bind<Func<IKernel>>().ToMethod(ctx => () => new Bootstrapper().Kernel); | |
kernel.Bind<IHttpModule>().To<HttpApplicationInitializationHttpModule>(); | |
RegisterServices(kernel); | |
/* | |
+----------------------------------------------------------------------+ | |
| PHP Version 5 | | |
+----------------------------------------------------------------------+ | |
| Copyright (c) 1997-2012 The PHP Group | | |
+----------------------------------------------------------------------+ | |
| This source file is subject to version 3.01 of the PHP license, | | |
| that is bundled with this package in the file LICENSE, and is | | |
| available through the world-wide-web at the following url: | | |
| http://www.php.net/license/3_01.txt | |
<?php | |
get_header(); | |
?> | |
<?php if (have_posts()) : ?> | |
<div id="Intro" class="curve"> | |
<h1>Service Status</h1> | |
<p>How things are running at mediaburst <?php if ( is_day() ) : ?> for <?php get_the_date('jS M Y'); ?> <?php elseif ( is_month() ) : ?> for <?php echo get_the_date('F Y'); ?><?php elseif ( is_year() ) : ?> for <?php echo get_the_date('Y'); ?><?php endif; ?>.</p> | |
</div> | |
<div class="group"> | |
<div class="column column-one" style="font-size: 1.2em"> |
<?php | |
get_header(); | |
?> | |
<div class="group" id="Intro"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<h1>Service Status - <?php the_date("jS M Y"); ?></h1> | |
<p>This update was written by <?php the_author_posts_link(); ?> at <?php echo get_the_date('g:ia'); ?></p> | |
</div> | |
<div class="group"> | |
<div class="column column-one"> |
<?php | |
$options = array( 'ssl' => false ); | |
$clockwork = new Clockwork( $API_KEY, $options ); | |
$message = array( 'to' => '441234567891', 'message' => 'This is a test!' ); | |
$result = $clockwork->send( $message ); | |
?> |