A Pen by Dang Van Thanh on CodePen.
A Pen by Chris Coyier on CodePen.
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
<h1>Click Me</h1> | |
<div class="pen"> | |
<div id="point"></div> | |
<div class="sheen"></div> | |
<div id="clicker"></div> | |
<div id="drop"> | |
<div class="center"></div> | |
</div> | |
</div> |
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
<h1>Click Me</h1> | |
<div class="pen"> | |
<div id="point"></div> | |
<div class="sheen"></div> | |
<div id="clicker"></div> | |
<div id="drop"> | |
<div class="center"></div> | |
</div> | |
</div> |
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
# ??? | |
RedirectMatch 301 |
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
// Spam comments with super long URLs | |
function rkv_url_spamcheck( $approved , $commentdata ) { | |
return ( strlen( $commentdata['comment_author_url'] ) > 50 ) ? 'spam' : $approved; | |
} | |
add_filter( 'pre_comment_approved', 'rkv_url_spamcheck', 99, 2 ); |
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 | |
$src = '<iframe src="http://player.vimeo.com/video/68302803" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; | |
$matches = preg_match('/player\.vimeo\.com\/video\/(\d+)/', $src, $match); | |
if ($matches) { | |
$id = $match[1]; | |
$apiurl = 'http://vimeo.com/api/v2/video/' . $id . '.json'; | |
$response = file_get_contents($apiurl); | |
$json = json_decode($response, true); |
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
<form accept-charset="UTF-8" action="#" class="pro-form" id="pro-form" method="post"> | |
<h1>Progress Form</h1> | |
<div class="progress-wrap"> | |
<progress max="100" value="0" id="progress"></progress> | |
<div class="progress-message" id="progress-message">The form, it wants you.</div> | |
</div> | |
<input id="subscription_plan_id" name="subscription[plan_id]" type="hidden" value="1"> |