Latest Audioboo

My SuperUser.com Stats

Posts by Date

June 2015
S M T W T F S
« Mar    
 123456
78910111213
14151617181920
21222324252627
282930  

Test, please ignore

Testing out a new code syntax highlighter plugin

MPRemoteCommandCenter *commandCenter = [MPRemoteCommandCenter sharedCommandCenter];
[commandCenter.togglePlayPauseCommand addTarget:self action:@selector(playPauseButtonPressed:)];
[commandCenter.skipBackwardCommand addTarget:self action:@selector(skipBackward:)];
commandCenter.skipBackwardCommand.preferredIntervals = @[@(30)];
[commandCenter.skipForwardCommand addTarget:self action:@selector(skipForward:)];
commandCenter.skipForwardCommand.preferredIntervals = @[@(30)];

require_once('../PKPass.php');</p>

<p>if($_SERVER['REQUEST_METHOD'] == 'POST' &amp;&amp; isset($_POST['passenger'])){
  // User has filled in the flight info, so create the pass now</p>

<p>// Predefined data
  $labels = array(
    'SFO' => 'San Francisco',
    'LAX' => 'Los Angeles',
    'LHR' => 'London'
  );
  $gates = array('F12','G43','A2','C5','K9');

import feedparser
import PyRSS2Gen
import datetime
import re
import cgi
import cgitb; cgitb.enable()</p>

<p>entry_no = 1</p>

<h1>get val</h1>

<p>try:
  f = open('/tmp/rss_feed_count.txt', 'r')
  try:
    num = f.readline()
    entry_no = int(num)
  finally:
    f.close()
except:
  pass

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>