This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get PNGOUT from here: http://www.jonof.id.au/kenutils | |
| find . -regex ".*\.\(png\)" | while read FILE; do | |
| pngout -y "$FILE" | |
| done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Copyright 2012 Christoph Jerolimov, Dominik Schilling | |
| # | |
| # 0) No, i did not developed this for myself/my server. ;-) | |
| # 1) I strongly recommend you to reinstall all your server software, | |
| # inclusive the whole operating system like linux, unix, etc. If you | |
| # use a web hosting service, backup your data and request your | |
| # provider for a fresh system. If this is not possible feel free to | |
| # try this script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Filename-based cache busting | |
| * Version: 0.3 | |
| * Description: Filename-based cache busting for WordPress scripts/styles. | |
| * Author: Dominik Schilling | |
| * Author URI: https://dominikschilling.de/ | |
| * Plugin URI: https://gist.github.com/ocean90/1966227/ | |
| * | |
| * License: GPLv2 or later |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Remove Comment Author IPs | |
| * Version: 0.1.0 | |
| * Description: Removes the IP addresses of comment authors on a scheduled time. | |
| * Author: Dominik Schilling | |
| * Author URI: http://wphelper.de/ | |
| * Plugin URI: https://gist.github.com/1836266 | |
| * | |
| * License: GPLv2 or later |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Plugin Name: wpSEO Monitor Addon: Google+ Kennzahl | |
| * Plugin URI: https://plus.google.com/101675293278434581718/posts/2E88QNTcXjE | |
| * Description: Ergänzt den wpSEO Monitor um Google+ Einkreisungen. In wpSEO 3.0.3 bereits fester Bestandteil des Plugin. | |
| * Version: 0.3 | |
| * Author: Dominik Schilling | |
| * Author URI: http://wpgrafie.de | |
| * License: GPLv2 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Entfernt das Gravatar aus der Toolbar. | |
| * @link: http://talkpress.de/artikel/wordpress-admin-bar-datenkrake-missbrauch | |
| */ | |
| /* < PHP 5.3 */ | |
| function ds_add_hide_avatar_filter() { | |
| add_filter( 'pre_option_show_avatars', '__return_zero' ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Hook into the backend and load scripts and | |
| * init metabox. | |
| */ | |
| function ds_gist2wordpress_admin() { | |
| add_action( 'wp_ajax_gist', 'ds_gistify' ); | |
| add_action( 'admin_print_scripts-post.php', 'ds_gist_js' ); | |
| add_action( 'admin_print_scripts-post-new.php', 'ds_gist_js' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Default font size | |
| $base-font-size: 16px; | |
| // px2em | |
| // Use: font-size: px2em( 12px, 14px ); | |
| @function px2em( $target, $context: $base-font-size ) { | |
| @if $target == 0 { | |
| @return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Custom Border Radius | |
| @mixin _border-radius($radius: 5px, $vertical-radius: false) { | |
| @if $vertical-radius { | |
| // Webkit doesn't understand the official shorthand syntax for specifying | |
| // a vertical radius unless so in case there's several we only take the first. | |
| @include experimental(border-radius, first-value-of($radius) first-value-of($vertical-radius), | |
| not -moz, | |
| -webkit, | |
| not -o, |