Skip to content

Instantly share code, notes, and snippets.

Vladimir Simović Perun

Block or report user

Report or block Perun

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
kirstenschelper / sharpen-images.php
Last active Oct 3, 2017
Sharpen small images sizes generated by WP
View sharpen-images.php
// Zu diesem Code gibt es einen Artikel im Blog
function ks_sharpen_resized_files( $resized_file ) {
$image = imagecreatefromstring( file_get_contents( $resized_file ) );
if ( !is_resource( $image ) )
return new WP_Error( 'error_loading_image', $image, $file );
lukehedger / browserBorder.css
Created Jan 22, 2014
Border around browser viewport - with scrollbars inside
View browserBorder.css
.page-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 700; /* must be the higher than all other elements */
overflow: auto; /* moves scrollbars inside border */
background: #fff;
border: 5px solid #ff9900;
jonschlinkert /
Last active Oct 13, 2019
A better markdown cheatsheet.
You can’t perform that action at this time.