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 highlight(text, words, tag) { | |
// Default tag if no tag is provided | |
tag = tag || 'span'; | |
var i, len = words.length, re; | |
for (i = 0; i < len; i++) { | |
// Global regex to highlights all matches | |
re = new RegExp(words[i], 'g'); | |
if (re.test(text)) { |
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
var getMaxHeight = function ($elms) { | |
var maxHeight = 0; | |
$elms.each(function () { | |
var height = $(this).height(); | |
if (height > maxHeight) { | |
maxHeight = height; | |
} | |
}); | |
return maxHeight; | |
}; |
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
DELETE from wp_comments WHERE comment_approved = '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
#outer-barG{ | |
height:37px; | |
width:299px; | |
border:2px solid steelblue; | |
overflow:hidden; | |
background-color:khaki; | |
margin 0 auto 0 auto; | |
} | |
.bar-lineG{ |
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
<body> | |
<p> | |
<span class="foo">T</span>his page is built for you. It’s where you and I can leave links and documents to communicate regarding your Budget Tool App. For now, most links will not work, since the majority of the site is still being developed. So I received the application from the Indian Company, and I am less than happy with the end result. You can see what they produced at this link here. This page is built for you. It’s where you and I can leave links and documents to communicate regarding your Budget Tool App. For now, most links will not work, since the majority of the site is still being developed. So I received the application from the Indian Company, and I am less than happy with the end result. You can see what they produced at this link here. | |
</p> | |
<p> | |
<span class="bar dropcap">T</span>his page is built for you. It’s where you and I can leave links and documents to communicate regarding your Budget Tool App. For now, most links will not work, since the majority of the s |
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
<body> | |
<div>Registration closes in <span id="time">05:00</span> minutes!</div> | |
</body> |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://olddomain.com', 'http://newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://olddomain.com','http://newdomain.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://olddomain.com', 'http://newdomain.com'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://olddomain.com', 'http://newdomain.com'); |
NewerOlder