Skip to content

Instantly share code, notes, and snippets.


Claudio Sanches claudiosanches

Block or report user

Report or block claudiosanches

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View template-print-processing-orders.php
Template Name: Print Processing Orders :)
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.');
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
View compass-retina-sprites.scss
$sprites: sprite-map("sprites/*.png");
$sprites-retina: sprite-map("sprites-retina/*.png");
@mixin sprite-background($name) {
background-image: sprite-url($sprites);
background-position: sprite-position($sprites, $name);
background-repeat: no-repeat;
display: block;
height: image-height(sprite-file($sprites, $name));
width: image-width(sprite-file($sprites, $name));
claudiosanches / gist:fa02e18296e5a1a7ecf6
Last active Aug 29, 2015 — forked from ezimuel/gist:9135151
Tesing SimpleXML and DOMDocument to prevent XXE attacks on XML
View gist:fa02e18296e5a1a7ecf6
// The libxml entity loader is disabled by default
// even setting the libxml_disable_entity_loader to false doesn't works!
// @see
// @see
$dir = __DIR__;
$content = 'This is a remote content!';
file_put_contents('content.txt', $content);
You can’t perform that action at this time.