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 | |
| /* | |
| 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. | |
| */ |
| // ==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== |
| # 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 |
| #!/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 |
| <?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 ); |
| <?php | |
| /** | |
| * Main Query for the Front Page | |
| * | |
| * Display the latest post per category. The latest sticky post goes to the | |
| * top. It's category is then excluded as we only want 1 post per category. | |
| * | |
| * @param object $query WP_Query | |
| */ | |
| function sh_pre_get_posts_front_page( $query ) { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Feed</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <script> | |
| jQuery(document).ready(function($) { | |
| var url = 'http://claudiosmweb.com/feed/', |
| <?php | |
| function cs_last_posts_json() { | |
| $json = array(); | |
| $last_posts = get_posts( array( | |
| 'posts_per_page' => 5, | |
| 'post_type' => 'post' | |
| ) ); | |
| foreach ( $last_posts as $post ) { |
| <?php | |
| /* setup custom general settings */ | |
| function ts_theme_settings () { | |
| register_setting( 'general', 'homepage_slider_wide' ); | |
| add_settings_field( | |
| 'homepage_slider_wide', | |
| 'Homepage Slider (Wide)', | |
| 'homepage_slider_wide_callback', |