My Recent Pastes (35 and counting)
All Pasties (over 35 and counting)
Below are summaries of the 15 most recent pasties by Sam DeVore.
July 03, 2007
7:48PM EDT
by Sam DeVore
View more (451 lines)
1 2 3 4 5 |
<Categories>
<Category>
<accountId>237</accountId>
<categoryId>570</categoryId>
<description>Abdomen</description>
|
June 05, 2007
7:26PM EDT
by Sam DeVore
View more (43 lines)
1 2 3 4 5 |
dim i,ct as integer dim n as XmlNode dim s as string ct = categoryNode.ChildCount - 1 subcategories = new Dictionary |
May 09, 2007
10:34PM EDT
by Sam DeVore
View more (6 lines)
1 2 3 4 5 |
<dict>
<key>pixels</key>
<integer>125</integer>
<key>type</key>
<string>maxWidth</string>
|
May 09, 2007
5:18PM EDT
by Sam DeVore
1 2 3 4 5 |
else
{
last_start = cur_pos - 1;
cur_pos = last_start;
}
|
April 30, 2007
7:06PM EDT
by Sam DeVore
View more (38 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
|
April 27, 2007
1:24AM EDT
by Sam DeVore
View more (9 lines)
1 2 3 4 5 |
<?php
$flNorthAmerica = false;
foreach ($Tour['TourCategory'] as $category) {
if ($Category['Name'] == 'North America') {
$flNorthAmerica = true;
|
April 26, 2007
12:05AM EDT
by Sam DeVore
View more (14 lines)
1 2 3 4 5 |
var $belongsTo = array(
'Subject' =>
array('className' => 'Subject',
'conditions' => '',
'order' => '',
|
March 23, 2007
6:40PM EDT
by Sam DeVore
View more (12 lines)
1 2 3 4 5 |
<?php e('<?xml version="1.0" encoding="utf-8" ?>');
if (isset($order) and !empty($order)) : ?>
<rsp stat="ok" />
<?php else: ?>
<rsp stat="fail">
|
March 22, 2007
7:20PM EDT
by Sam DeVore
View more (17 lines)
1 2 3 4 5 |
<?php e('<?xml version="1.0" encoding="utf-8" ?>');
if (isset($order) and !empty($order)) : ?>
<rsp stat="ok">
<order type='struct'>
<?php foreach ($order as $key=>$item): ?>
|
March 20, 2007
5:02PM EDT
by Sam DeVore
View more (8 lines)
1 2 3 4 5 |
//from this
$this->set('frames', $this->PaperType->Frame->generateList());
$this->set('sizes', $this->PaperType->Size->generateList());
//to this
|
March 12, 2007
3:55PM EDT
by Sam DeVore
View more (9 lines)
1 2 3 4 5 |
function __construct ()
{
if ($_SERVER['SERVER_NAME'] == 'wingsbirds.scid.is-a-geek.com') {
$this->default = $this->devSam;
}
|
March 07, 2007
11:42PM EDT
by Sam DeVore
View more (31 lines)
1 2 3 4 5 |
var $emailPattern = '/^[^@\s<&>]+@([-a-z0-9]+\.)+[a-z]{2,}$/i';
function _cleanParams ($data, &$clean) {
if (isset($data['Contact']['name'])) {
|
March 07, 2007
11:40PM EDT
by Sam DeVore
View more (236 lines)
1 2 3 4 5 |
/* ** ANTI-SPAM script ** ** Licencing: script is being distributed for free, can be used and modified if needed. ** It would be great, if you could put |
February 27, 2007
6:37PM EDT
by Sam DeVore
View more (12 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server.userException</faultcode>
|
Pastie