This file contains hidden or 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
<!-- New Post Form --> | |
<div id="postbox"> | |
<form id="new_post" name="new_post" method="post" action=""> | |
<p><label for="submitter">Submitted By</label><br /> | |
<input type="text" id="submitter" value="" tabindex="1" size="20" name="submitter" /> | |
</p> | |
<p><label for="email">Email Address</label><br /> | |
<input type="text" id="email" value="" tabindex="2" size="20" name="email" /> | |
</p> | |
<p><label for="title">Song Title</label><br /> |
This file contains hidden or 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
jQuery(function(){ | |
jQuery('.lcp_catlist li a') | |
//Set up the imgs for the green overlay | |
.find('img').css({ | |
position:'relative', | |
zIndex:'1', | |
height: '120px', | |
width: '120px' | |
}) | |
//Back to the <a>s |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
me@/usr/lib > brew install -v /usr/local/LibraryPHP/Formula/php.rb | |
==> Downloading http://www.php.net/get/php-5.3.10.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php-5.3.10 | |
/usr/bin/tar xf /Library/Caches/Homebrew/php-5.3.10 | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file ext/tidy/tidy.c | |
==> ./configure --prefix=/usr/local/Cellar/php/5.3.10 --disable-debug --with-config-file-path=/usr/local/etc --with-config-file-scan-dir=/usr/local/etc/php5/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-bcmath --enable-calendar --with-openssl=/usr --with-zlib=/usr --with-bz2=/usr --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-libxml-dir=/usr/local/Cellar/libxml2/2.7.8 --with-xsl=/usr - |
This file contains hidden or 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
/** | |
* This method give you a Login URL for Facebook Connect | |
* | |
* @param String callback_URL defaults to MOBILE_WEB_URL | |
* | |
* @return String return URL for facebook authorization dialog | |
*/ | |
public static function facebookConnectURL($callback_URL = MOBILE_WEB_URL) { | |
global $apikey; | |
if (self::isLoggedIn()) { |
This file contains hidden or 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
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
This file contains hidden or 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/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/3073461/hack.sh | sh | |
# |
This file contains hidden or 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
#!/bin/bash | |
# Create the template | |
read -d '' template <<- EOF | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML6 - The Spec That Brings Us Freedom</title> | |
<meta name="description" content="HTML5 was a great leap forward for web developers, however there is a missing void that HTML5 has yet to fix and that void is truly semantic markup."> | |
<link rel="stylesheet" type="text/css" href="style.css" /> |
This file contains hidden or 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
.embed-container { | |
position: relative; | |
padding-bottom: 56.25%; /* 16/9 ratio */ | |
padding-top: 30px; /* IE6 workaround*/ | |
height: 0; | |
overflow: hidden; | |
} | |
.embed-container iframe { | |
position: absolute; | |
top: 0; |