This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" ?> | |
<remote> | |
<site id="1"> | |
<name>Example Site</name> | |
<url>http://example.com</url> | |
<ftp> | |
<host>example.com</host> | |
<username>someuser</username> | |
<password>password</password> | |
</ftp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$xml = simplexml_load_file('registry.xml'); | |
$sites = $xml->xpath('/remote/site'); | |
foreach($sites as $site){ | |
print($site->name); | |
} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.child_block{ | |
position: static; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.child_block #sub_block{ | |
position: relative; | |
top: -100px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- sqlite_adapter (LoadError) | |
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/adapters.rb:123:in `load_adapter' | |
from /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/adapters.rb:101:in `adapter_class' | |
from /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/adapters.rb:13:in `new' | |
from /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core.rb:175:in `setup' | |
from finito.rb:19 | |
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- sqlite_adapter (LoadError) | |
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/adapters.rb:123:in `load_adapter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Finito | |
* A social lifestreaming application. | |
* Revision 0.1.1 | |
* | |
* system/includes/models.php | |
*/ | |
# This file prepares all the database interaction for the views (/system/views/.). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$list = mysql_query('SELECT feedURI FROM networks'); | |
for($i in $list){ | |
echo $list[1]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Finito | |
* A social lifestreaming application. | |
* Revision 0.1.1 | |
* | |
* system/includes/models.php | |
*/ | |
# This file prepares all the database interaction for the views (/system/views/.). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 3.2.4 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Jan 01, 2010 at 02:43 PM | |
-- Server version: 5.1.37 | |
-- PHP Version: 5.2.10-2ubuntu6.3 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Hello | |
def wave | |
puts "Hello *waves*" | |
end | |
end | |
go = new Hello.wave |
OlderNewer