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
if( heroBounces.intersects(play.enemy.getBounds(play)) || heroBounces.intersects(play.enemy1.getBounds(play))) | |
{ | |
play.over(); | |
} |
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
public function update():void | |
{ | |
if( _isJumping ) | |
{ | |
this.y -= ( jumpPower - gravity); | |
jumpPower -= 2; | |
if(this.y + gravity > groundBase) | |
{ | |
this.y = groundBase; |
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 | |
function ec_mail_name( $email ){ | |
return 'Joe Doe'; // new email name from sender. | |
} | |
add_filter( 'wp_mail_from_name', 'ec_mail_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
<?php | |
function ec_mail_from ($email ){ | |
return 'joe@doe.com'; // new email address from sender. | |
} | |
add_filter( 'wp_mail_from', 'ec_mail_from' ); |
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
.section-menu-voyant .voyant-mobile-nav .voyant-menu-holder{ | |
width: 100%; | |
margin-left: 0; | |
} | |
.section-menu-voyant .voyant-mobile-nav .voyant-menu-holder:before{ | |
/*Replace with your logo URL*/ | |
background: url('http://3z6cyh36dph41r69gi2tjn07r24.wpengine.netdna-cdn.com/wp-content/uploads/2014/04/voyant4.png') no-repeat; | |
background-size: contain; | |
background-position-y: 5px; |
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
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--restrict-file-names=windows \ | |
--domains domain.com \ | |
--no-parent \ | |
http://domain.com |
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
$(function(){ | |
function secSetCookie(cname, cvalue, exdays) { | |
var d = new Date(); | |
d.setTime(d.getTime() + (exdays*24*60*60*1000)); | |
var expires = "expires="+d.toUTCString(); | |
document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/"; | |
} | |
function secGetCookie (cname) { | |
var name = cname + "="; |
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
$(function(){ | |
var fileRef = document.createElement('script'); | |
fileRef.setAttribute("type","text/javascript"); | |
fileRef.setAttribute("src", "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); | |
document.body.appendChild(fileRef); | |
/*Change the SELECTOR-HERE for the one you want to add */ | |
$("SELECTOR-HERE").append('<br/><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4429314952077491" data-ad-slot="8849066704" data-ad-format="auto"></ins>'); | |
$("SELECTOR-HERE").append('<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>'); | |
}); |
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 | |
register_activation_hook( __FILE__, 'my_cron_activation' ); | |
function my_cron_activation() { | |
wp_schedule_event( time(), 'hourly', 'my_cron_action' ); | |
} |
OlderNewer