Add any links you want in this to the comments and I'll add them.
Generates styleguides from Markdown comments in CSS, SASS and LESS files using Handlebars
| <?php | |
| /** | |
| * WordPress Files Edition Security | |
| * Nobody can be able to edit files within the admin it self | |
| */ | |
| define( 'DISALLOW_FILE_EDIT', true ); | |
| define( 'DISALLOW_FILE_MODS', true ); |
| #!/usr/bin/env bash | |
| # A Script that automates pasting to a number of pastebin services | |
| # relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) and wget | |
| # Copyright (c) 2007-2009 Bo Ørsted Andresen <[email protected]> | |
| # Distributed in the public domain. Do with it whatever you want. | |
| VERSION="2.20" | |
| # don't inherit LANGUAGE from the env | |
| unset LANGUAGE |
| # SSL self signed localhost for rails start to finish, no red warnings. | |
| # 1) Create your private key (any password will do, we remove it below) | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
| // ==UserScript== | |
| // @name MOUSTACHE CHAT | |
| // @author Robert Lemon | |
| // @version 0.1 | |
| // @namespace http://rlemon.com | |
| // @description Makes the chat all moustachy | |
| // @include http://chat.stackexchange.com/rooms/* | |
| // @include http://chat.stackoverflow.com/rooms/* | |
| // ==/UserScript== |
| <?php | |
| /* | |
| Enviar e-mail para o administrador se houver posts para revisão | |
| Dica do @GugaAlves: incluir link para a edição do post no admin, facilitando a vida do admin que receber este email. | |
| Dica do Gustavo Bordoni (@webord): incluir na função o $post (objeto para WP_Query) para não ficar passando o $post_id a cada save. | |
| Dica do Manoel Netto: Incluir a verificação "! wp_is_post_revision( $post )" para não enviar e-mail a cada auto save. | |
| */ |
| <?php | |
| /* | |
| Enviar e-mail para o administrador se houver posts para revisão | |
| Dicas do @GugaAlves (@tudoparawp): | |
| - Adicionar link para enviar e-mail diretamente para o administrador; | |
| - Incluir link para a edição do post no admin, facilitando a vida do admin que receber este email. | |
| Dicas do Gustavo Bordoni (@webord): | |
| - incluir na função o $post (objeto para WP_Query) para não ficar passando o $post_id a cada save; |
| eXtreme Go Horse (XGH) Process | |
| Quelle: http://gohorseprocess.wordpress.com | |
| Übersetzung ursprünglich von https://gist.github.com/Neffez/f8d907ba8289f14e23f3855011fa4e2f | |
| 1. Ich denke, also ist es nicht XGH. | |
| In XGH wird nicht gedacht, es wird das erste gemacht, was in den Sinn kommt. Es gibt auch keine zweite Option, die erste ist schneller. | |
| 2. Es gibt 3 Wege ein Problem zu lösen: den richtigen Weg, den falschen Weg und den XGH Weg, welcher exakt wie der falsche ist, aber schneller. |
| <script language="JavaScript" type="text/javascript"> | |
| // Comcast Cable Communications, LLC Proprietary. Copyright 2012. | |
| // Intended use is to display browser notifications for critical and time sensitive alerts. | |
| var SYS_URL='/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'; | |
| // var image_url='http://servicealerts.comcast.net:8080/images/mt'; | |
| var image_url='http://xfinity.comcast.net/constantguard/BotAssistance/notice/images'; | |
| var headertext1='<strong>Comcast Courtesy Notice</strong>'; | |
| var textline1='You have reached 90% of your <b>monthly data usage allowance</b>.'; | |
| var textline2='Please sign in for more information and to remove this alert.'; | |
| var acknowledgebutton='<a href=\"#\" onClick="document.location.href=\''+SYS_URL+'?dispatch=redirect&redirectName=login¶mName=bmUid\'" title="Sign in to acknowledge" style="color: #FFFFFF;"><img alt="Sign in to acknowledge" src="'+image_url+'/mt_signin.png"/></a>'; |
| // rename existing sections | |
| $wp_customize->add_section( 'section_id' , array( | |
| 'title' => __('Section Title','mytheme'), | |
| 'priority' => 20, | |
| )); |