Skip to content

Instantly share code, notes, and snippets.

View leonardorb's full-sized avatar
Shipping.

Leo leonardorb

Shipping.
View GitHub Profile
2012/05/14 17:40:13 - - FATAL - Pixily::Log::CustomLogger - /!\ FAILSAFE /!\ Mon May 14 17:40:13 -0300 2012
Status: 500 Internal Server Error
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (fe80::1) and accepting
2012/05/14 15:41:39 - - FATAL - Pixily::Log::CustomLogger - /!\ FAILSAFE /!\ Mon May 14 15:41:39 -0300 2012
Status: 500 Internal Server Error
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (fe80::1) and accepting
http://screencast.com/t/JEUE9LNimLLs
<?php $recent = new WP_Query("cat=4&showposts=3"); $count=1; while($recent->have_posts()) : $recent->the_post();?>
<?php if($count==1): the_post_thumbnail('thumbnail'); endif; ?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php $count++; endwhile; ?>
<?php if ($wp_query->max_num_pages > 1) : ?>
<div class="pagination">
<ul>
<li class="older"><?php previous_comments_link(__('Previous Comments', 'leonardorb')); ?></li>
<li class="newer"><?php next_comments_link(__('Newest Comments', 'leonardorb')); ?></li>
</ul>
</div>
<?php endif; ?>
MacBook-Air-de-Leonardo:jobs leonardorb$ ant run
Buildfile: /Users/leonardorb/Sites/_officedrop/jobs/build.xml
resolve:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = /Users/leonardorb/Sites/_officedrop/jobs/ivysettings.xml
[ivy:retrieve] DEPRECATED: 'checkUpToDate' is deprecated, use the 'overwriteMode' on the 'ivy:retrieve' task instead (file:/Users/leonardorb/Sites/_officedrop/jobs/ivysettings.xml)
[ivy:retrieve] :: resolving dependencies :: com.officedrop#jobs;[email protected]
[ivy:retrieve] confs: [default]
[ivy:retrieve] found commons-cli#commons-cli;1.2 in ibiblio
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,"localhost:8888/2012/leonardorb.net/website","leonardorb.net")
.fan_box .full_widget {height:270px; border:0 !important; background:none !important;}
.fan_box .full_widget .connect_top {background:none !important;}
.fan_box .connect_action .name_block {font-size:15px !important; font-weight:bold !important;}
.fan_box .connect_action .name {color:#666 !important; font-size:15px !important;}
.fan_box .connections {border:none !important; padding:0 0 0 10px !important;}
@leonardorb
leonardorb / footer.php
Created February 23, 2012 23:39
wordpress footer
@leonardorb
leonardorb / header.php
Created February 23, 2012 23:37
wordpress header
<!doctype html>
<html lang="pt-br" dir="ltr" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">