Put flip
somewhere in your $PATH
and chmod a+x
it.
Copy fuck
into ~/.bashrc
.
<form role="form" method="POST" action="/" onsubmit="return false;" class="optin-tk-forms"> | |
<input placeholder="Fullname" id="nombre" name="name" type="text" /> | |
<input placeholder="Email" id="email" name="email" type="text" /> | |
<input autcomplete="off" placeholder="ej. @twitter" name="twitter" type="text" class="optinMonster-twitter"/> | |
<!-- [name=twitter] imput field should be set to display:none or any other technique that makes that imput dissapear (HoneyPot Technique) --> | |
<input type="radio" name="contact_type" value="recruiter" checked/>are you recruiter? <input type="radio" name="contact_type" value="candidate"/> Are you candidateo?<br/> | |
<input type="submit" value="Enviar" /> | |
</form> |
server { | |
listen 80 default_server; | |
server_name domain.tld; | |
access_log /srv/www/domain.tld/logs/access.log; | |
error_log /srv/www/domain.tld/logs/error.log; | |
root /srv/www/domain.tld/public; | |
index index.php index.html index.htm; | |
client_max_body_size 20M; |
http://www.youtube.com/watch?v=-FRm3VPhseI Google's Clean Code Talks | |
http://blog.gordon-oheim.biz/2011-01-17-Why-Singletons-have-no-use-in-PHP/ | |
http://sebastian-bergmann.de/archives/882-Testing-Code-That-Uses-Singletons.html | |
http://eamann.com/tech/making-singletons-safe-in-php/ | |
http://hakre.wordpress.com/2012/06/10/the-missing-patterns-of-the-php-manual/#p2 | |
http://blogs.msdn.com/b/scottdensmore/archive/2004/05/25/140827.aspx | |
http://www.phptherightway.com/pages/Design-Patterns.html ("You should be wary when using the singleton pattern, as by its very nature it introduces global state into your application, reducing testability.") | |
http://www.practicaldesignpatternsinphp.com/ ("The Singleton Pattern is perhaps the most well known - and most often misused - pattern in all of PHP design pattern development. Its simplicity, combined with its seeming benefits makes it a widely-used (and overused) pattern. The Singleton is not so much a recommended pattern, as a pattern I recommend you shy away from.") | |
http://www.sli |
<?php | |
add_action( 'add_meta_boxes', 'tgm_remove_all_the_metaboxes', 100 ); | |
/** | |
* Removes all metaboxes except the ones I WANT ON MY POST TYPE. RAGE. | |
* | |
* This assumes a specific post type. In my case, it is 'envira'. | |
* This function is very aggressive and removes every single metabox minus | |
* the needed submitdiv metabox (which allows you to publish something) and | |
* the metaboxes that I register with my plugin. | |
* |
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
# Capistrano Laravel 4 Deployment Tasks | |
# Watts Martin (layotl at gmail com) | |
# https://gist.github.com/chipotle/5506641 | |
# updated 14-Aug-2013 | |
# Assumptions: | |
# | |
# - You are using a .gitignore similar to Laravel's default, so your | |
# vendor directory and composer(.phar) are *not* under version control | |
# - Composer is installed as an executable at /usr/local/bin/composer |
{ | |
"require": { | |
"monolog/monolog": "1.1.*" | |
} | |
} |
# SnipMate is required to use snippets | |
# Download SnipMate: http://www.vim.org/scripts/script.php?script_id=2540 | |
# Put this file in ~/.vim/snippets/ then restart vim | |
# This snippet file includes many useful snippets for CodeIgniter. Please feel free to fork and contribute! | |
snippet php | |
<?php | |
${1} | |
?> | |
snippet ec | |
echo "${1:string}"${2}; |