Pastoid

Search Results

March 24, 2009 at 2:10 pm - View

import TableParse im - View

import TableParse import csv html='<table border="1"><tr><th>Heading</th><th>Another Heading</th></tr><tr><td>row 1, cell 1</td><td>row 1, cell 2</td></tr><tr><td>row 2, cell 1</td><td>row 2, cell 2</td></tr></table> ' nodes=TableParse.parse(html)

March 24, 2009 at 12:01 pm - View

import TableParse import urllib import csv &nbsp; html=urllib.urlopen('http://mattread.com/lifestream').read()

March 24, 2009 at 12:00 pm - View

import TableParse import urllib import csv html=urllib.urlopen('http://mattread.com/lifestream').read()

March 24, 2009 at 12:54 am - View

Wait, What? Yeah that's what I thought too. Still no Idea what I'm talking about? Well, let's take a look at the following code. Let's call it "fred". <pre><code class="highlight php"> class foo { function bar( $b = 0 )

March 23, 2009 at 9:35 pm - View

public function connect( $connect_string, $db_user, $db_pass ) { list( $type, $file )= explode( ':', $connect_string, 2 ); if( $file == basename( $file ) ) { if( file_exists( HABARI_PATH . '/' . $file ) ) {

March 23, 2009 at 7:51 pm - View

#page{overflow:hidden;padding-bottom:25px;width:700px;} body.both #page{float:right;margin-left:10px;} body.left #page{float:right;margin-left:10px;} body.right #page{float:left;margin-right:10px;} body.wide #page{width: 100%; }

March 23, 2009 at 7:48 pm - View

function mytheme_bodyclass() { if ($_GET['q'] = 'ascue-sessions/manage/40') { $output = 'wide';

March 23, 2009 at 7:30 pm - View

function mytheme_bodyclass() { if ($_GET['PHP_SELF'] = 'ascue-sessions/manage/40') { return 'wide'; } else {

March 23, 2009 at 1:04 pm - View

#page{overflow:hidden;padding-bottom:25px;width:700px;} body.both #page{float:right;margin-left:10px;} body.left #page{float:right;margin-left:10px;} body.right #page{float:left;margin-right:10px;}

charcoal w/ more - View

public function action_init_theme() { // Apply Format::autop() to post content... Format::apply( 'autop', 'post_content_out' ); // Apply Format::autop() to comment content...

March 22, 2009 at 11:36 pm - View

public function test_has_group() { Cache::expire('*', 'foo', 'glob'); $this->assertFalse(Cache::has_group('foo'), 'The cache has a group that was explicitly expired.'); Cache::set(array('foo', 'bar'), 'a value');

more - View

/* Only triggered by <!--more--> tag, with more text linked to full post */ Format::apply_with_hook_params('more', 'post_content_out', '--More--'); /* Excerpt output. echo $post->content_excerpt */ Format::apply_with_hook_params('more', 'post_content_excerpt', '--More--', 60, 1);

<pre class="error"> - View

<pre class="error"> <b>Notice:</b> Undefined variable: inputFilter in user/sites/drunkenmonkey.org/classes/exechandler.php(28) : eval()'d code line 1 </pre><pre class="error"> <b>Notice:</b> Trying to get property of non-object in user/sites/drunkenmonkey.org/classes/exechandler.php(28) : eval()'d code line 1 </pre>

[div class="twitter- - View

[div class="twitter-tweet">[div class="tweet-text">[a href="http://identi.ca/notice/2358548">[img src="http://avatar.identi.ca/4738-96-20080703173627.png" class="tweet-image">[/a>@michaeltwofish It's just putting words on a frigging Web site. Does it have to use PHP 6.4 (alpha) ?[/div>[div class="tweet-author">[a href="http://identi.ca/notice/2358548">Andy C[/a>[/div>[p>[/div>[!-- /TWEET -->[/p>

Concerts Columbus, OH 3.21.09 - View

March 19, 2009 at 8:17 am - View

March 18, 2009 at 8:35 pm - View

public function connect( $connect_string, $db_user, $db_pass ) { list( $type, $file )= explode( ':', $connect_string, 2 ); if( $file == basename( $file ) ) { if( file_exists( HABARI_PATH . '/' . $file ) ) {

March 18, 2009 at 3:33 pm - View

public function theme_related_posts( $theme, $post = null ) { $post_type= Post::type( 'entry' ); $post_status= Post::status( 'published' ); if(!isset($post)){

Recoverable Error: - View

Recoverable Error: Argument 3 passed to HTMLTokenSet::find_slice() must be an array, null given, called in /var/www/mattread/htdocs/system/classes/htmltokenset.php on line 80 and defined in system/classes/htmltokenset.php line 90 Warning: Invalid argument supplied for foreach() in system/classes/htmltokenset.php line 104

1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30 · 31 · 32 · 33 · 34 · 35 · 36 · 37 · 38 · 39 · 40 · 41 · 42 · 43 · 44 · 45 · 46 · 47 · 48 · 49 · 50 · 51 · 52 · 53 · 54 · 55 · 56 · 57 · 58 · 59 · 60 · 61 · 62 · 63 · 64 · 65 · 66 · 67 · 68 · 69 · 70 · 71 · 72 · 73 · 74 · 75 · 76 · 77 · 78 · 79 · 80 · 81 · 82 · 83 · 84 · 85 · 86 · 87 · 88 · 89 · 90 · 91 · 92 · 93 · 94 · 95 · 96 · 97 · 98 · 99 · 100 · 101 · 102 · 103 · 104 · 105 · 106 · 107 · 108 · 109 · 110 · 111 · 112 · 113 · 114 · 115 · 116 · 117 · 118 · 119 · 120 · 121 · 122 · 123 · 124 · 125 · 126 · 127 · 128 · 129 · 130 · 131 · 132 · 133 · 134 · 135 · 136 · 137 · 138 · 139 · 140 · 141 · 142 · 143 · 144 · 145 · 146 · 147 · 148 · 149 · 150 · 151 · 152 · 153 · 154 · 155 · 156 · 157 · 158 · 159 · 160 · 161 · 162 · 163

<Hide