Skip to content

Instantly share code, notes, and snippets.

View juarezpaf's full-sized avatar

Juarez Filho juarezpaf

  • Dublin City, Ireland
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Label test</title>
<!--CSS-->
<style type="text/css">
body { font:12px/1.3 Arial, Sans-serif; }
form { width:380px;padding:0 90px 20px;margin:auto;background:#f7f7f7;border:1px solid #ddd; }
# simple capistrano task for wordpress deploy
# just replace the content to fit your app path and names
# and run cap deploy:setup && cap deploy
# you can also run a cap wordpress:upload_config to copy the local config-sample.php to remote shared folder
# warning: this recipe don't create the database
# APP SETTINGS
set :application, "your_app_name"
set :domain_name , "yourdomain.com.br"
if ( !function_exists('fb_AddThumbColumn') && function_exists('add_theme_support') ) {
// for post and page
add_theme_support('post-thumbnails', array( 'post', 'page' ) );
function fb_AddThumbColumn($cols) {
$cols['thumbnail'] = __('Thumbnail');
return $cols;
<?php
//Custom nav menu support
add_theme_support('nav-menus');
//Usage: wp_nav_menu(array('sort_column' => 'menu_order', 'container_class' => 'menu-header'));
//Automatically add Feed links
add_theme_support('automatic-feed-links');
//Post thumbnails (was available in v2.9)
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
article, aside, figure, footer, header, hgroup,
$('[placeholder]').focus(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
input.val('');
input.removeClass('placeholder');
}
}).blur(function() {
var input = $(this);
if (input.val() == '') {
input.addClass('placeholder');
/* Stylesheet generated from TextMate theme
*
* GitHub
*
*
*/
/* Mostly to improve view within the TextMate HTML viewer */
body {
margin: 0;
Macintosh-2:local juarezpaf$ brew install -v node
Warning: It appears you have Macports or Fink installed
Although, unlikely, this can break builds or cause obscure runtime issues.
If you experience problems try uninstalling these tools.
==> Build Environment
CC: /usr/bin/cc
CXX: /usr/bin/c++
LD: /usr/bin/cc
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
/* margin values */
p { margin: 1em; } - order not critical
p { margin: 1em 2em; } - order critical (top/bottom left/right)
p { margin: 1em 2em 4em; } - order critical (top left/right bottom)
p { margin: 1em 2em 4em 3em; } - order critical (top right bottom left)
/* padding values */
p { padding: 1em; } - order not critical
p { padding: 1em 2em; } - order critical (top/bottom left/right)
p { padding: 1em 2em 4em; } - order critical (top left/right bottom)
[16:13] trevorgerzen: I had a piece of pizza just for you @ryancarson
[16:13] davearel: me hungry
[16:13] frankielaguna: Thanks trev! You're a trooper!
[16:13] urbenkeach: Ooo pizza. That's just cruel.
[16:13] nanoamp: Mmm. Pizza.
[16:13] trevorgerzen: Then my wife came home, brought me a sandwich and made me coffee
[16:13] trevorgerzen: Holy crap
[16:13] inkdotmedia: Pizza Hut isn't Pizza
[16:14] frankielaguna: Yeah I know it's not. But i want Dominos!
[16:14] frankielaguna: They'r ein the UK they don't know better.