Skip to content

Instantly share code, notes, and snippets.

View webplantmedia's full-sized avatar

Chris Baldelomar webplantmedia

View GitHub Profile
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
set guifont=Courier\ New:h16
nnoremap <silent> <F5> :set lines=999 columns=999<CR>
colorscheme desert
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" MacVIM user interface
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set guioptions=
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Pathogen
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
call pathogen#infect()
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
@webplantmedia
webplantmedia / main.cf
Created February 8, 2014 02:55
Mail Relay Using postfix and Rackspace Email
relayhost = secure.emailsrvr.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_mechanism_filter = AUTH LOGIN
smtp_sasl_security_options =
smtp_use_tls = yes
@webplantmedia
webplantmedia / sasl_passwd
Created February 8, 2014 02:56
Save Credentials so You Send Email Relay with Rackspace and postfix
secure.emailsrvr.com user@domain.com:secretpassword
/*
----------------------------------------------------------------
Gravity Forms Front End Form Styles
Version 1.8
http: //www.gravityforms.com
updated: January 31, 2014 3:35 PM
Gravity Forms is a Rocketgenius project
copyright 2008-2014 Rocketgenius Inc.
@webplantmedia
webplantmedia / gist:11401074
Created April 29, 2014 13:54
Here is how to change the link in your header for your WP Canvas theme
<a class="home-link" href="http://your-domain.com" rel="home">
<?php if ( $logo_image = get_option( WORDPRESSCANVAS_PREFIX . 'logo_image' ) ) : ?>
<h1 class="site-logo">
<img src="<?php echo $logo_image; ?>" alt="<?php bloginfo( 'name' ); ?> - <?php bloginfo( 'description' ); ?>" />
</h1>
<?php endif; ?>
<?php if ( get_option( WORDPRESSCANVAS_PREFIX . 'show_site_text' ) ) : ?>
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
<?php endif; ?>
/**
* ${1:{{name}}}{{?func: vmustache#InitCounter("params", 1)}}
*
* @since 4.0
* @access public
*{{#parameters}}
* @param ${{{?func: vmustache#IncrementCounter("params")}}:{{type}}{{^type}}mixed{{/type}}} ${{name}}${{{?func: vmustache#IncrementCounter("params")}}}{{/parameters}}
* @return void
*/
/**
* Class: ${1:{{name}}}
*{{#interfaces}}
* @see {{name}}{{/interfaces}}{{#parent}}
* @see {{name}}{{/parent}}{{#abstract}}
* @abstract{{/abstract}}{{#final}}
* @final{{/final}}
*/
/**
* ${1:{{name}}}
*
* @var ${2:{{type}}{{^type}}mixed{{/type}}}
*/