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
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></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
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<!-- 300x250_sidebar --> | |
<ins class="adsbygoogle" | |
style="display:inline-block;width:300px;height:250px" | |
data-ad-client="ca-pub-1XXXXXXXXXXXXXXX" | |
data-ad-slot="4XXXXXXXXX"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</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
function my_theme_remove_optins() { | |
if ( is_user_logged_in() ) { | |
wp_enqueue_script( 'remove-optin', 'remove-optin.js', array( 'jquery' ), wp_get_theme()->get( 'Version' ) ); | |
} elseif ( wp_script_is( 'remove-optin', 'enqueued' ) ) { | |
// This check is needed to show the Optin. | |
wp_dequeue_script( 'remove-optin' ); | |
} | |
} | |
add_action( 'wp_enqueue_scripts', 'my_theme_remove_optins' ); |
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
function my_theme_remove_optins() { | |
wp_enqueue_script( 'remove-optin', 'remove-optin.js', array( 'jquery' ), wp_get_theme()->get( 'Version' ) ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_theme_remove_optins' ); |
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
$( document ).ready(function() { | |
$( document ).on("OptinMonsterBeforeShow", function(a, b, c) { | |
// Remove all optins whose ID begins with 'om-' | |
$( "[id^='om-']" ).remove(); | |
}); | |
}); |
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
# Check for Brew related problems | |
mariadanieldeepak@Marias-MacBook-Pro ~ $ brew doctor | |
# Update Homebrew and all new forumulae | |
mariadanieldeepak@Marias-MacBook-Pro ~ $ brew update | |
# Install MySQL | |
mariadanieldeepak@Marias-MacBook-Pro ~ $ brew install mysql | |
# Secure MySQL installation |
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
$( document ).ready(function() { | |
// Remove multiple attributes | |
$( 'input.multiple-attr-remove' ).removeAttr( 'id name' ); | |
// Add multiple attributes | |
$( 'input.multiple-attr-add' ).attr( {'id': 'useremail', 'name': 'useremail' } ); | |
}); |
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
UserName <br /> | |
<input type="text" id="username" name="username" class="multiple-attr-remove" /> | |
<br /><br /> | |
UserEmail <br /> | |
<input type="text" class="multiple-attr-add" /> |
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
sudo apt install sublime-text_bulid-3083_amd64.deb |