This file contains 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
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../paper-progress/paper-progress.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../yt-video/yt-search-video.html"> | |
<link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<link rel="import" href="../core-pages/core-pages.html"> |
This file contains 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 # -*- coding: utf-8 -*- | |
/** | |
* Plugin Name: Plugin Class Demo | |
* Description: How I am using the base class in plugins. | |
* Plugin URI: | |
* Version: 2012.09.29 | |
* Author: Thomas Scholz | |
* Author URI: http://toscho.de | |
* License: GPL | |
* Text Domain: plugin_unique_name |
This file contains 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
Index: domain_mapping.php | |
=================================================================== | |
--- domain_mapping.php (revision 694026) | |
+++ domain_mapping.php (working copy) | |
@@ -695,7 +695,7 @@ | |
return; | |
// don't redirect theme customizer (WP 3.4) | |
- if ( isset( $_POST['customize'] ) && isset( $_POST['theme'] ) && $_POST['customize'] == 'on' ) | |
+ if ( isset( $_POST['wp_customize'], $_POST['theme'] ) && $_POST['wp_customize'] == 'on' ) |
This file contains 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
Index: domain_mapping.php | |
=================================================================== | |
--- domain_mapping.php (revision 694026) | |
+++ domain_mapping.php (working copy) | |
@@ -370,7 +370,7 @@ | |
exit; | |
break; | |
} | |
- } elseif( $_GET[ 'action' ] == 'delete' ) { | |
+ } elseif ( isset( $_GET['action'] ) && $_GET['action'] == 'delete' ) { |
This file contains 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
/** | |
* Attempt for Chrome-style progress-indicator with SVG and CSS animations | |
*/ | |
@keyframes spin { | |
to { | |
stroke-dashoffset: -264; | |
} | |
} |
This file contains 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
.hi { | |
width: 50px; | |
height: 72px; | |
background-image: url("http://files.simurai.com/misc/sprite.png"); | |
animation: play .8s steps(10) infinite; | |
} | |
@keyframes play { | |
from { background-position: 0px; } | |
to { background-position: -500px; } |
This file contains 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
.outer { | |
width: 50px; | |
height: 72px; | |
overflow:hidden; | |
} | |
.hi { | |
width: 500px; | |
height: 72px; | |
background-image: url("http://files.simurai.com/misc/sprite.png"); | |
-webkit-animation: play .8s steps(10) infinite; |
This file contains 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
.outer { | |
width: 50px; | |
height: 72px; | |
overflow:hidden; | |
-webkit-transform: translateZ(0); | |
} | |
.hi { | |
width: 500px; | |
height: 72px; | |
background-image: url("http://files.simurai.com/misc/sprite.png"); |
This file contains 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 | |
class chem_expand { | |
protected $multiplier; | |
function compute_bracketed_replacement( $groups ) { | |
// In-case if invalid input, output "<error>" in string. | |
$result = '<error>'; | |
// If we have "(Chem)Multiplier" |
OlderNewer