Search Results for: {search_term_string}

WordPress Query Object Properties

…NNER JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) WHERE 1=1 AND wp_term_taxonomy.taxonomy = ‘category’ AND wp_term_taxonomy.term_id IN (‘5’) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘future’ OR wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘private’) AND post_date < NOW() /* HERE 1 */ GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10 [post_coun…

Continue reading

Posted in Web Development | 3 Comments

PHP rjust

…the syntax: string.rjust(padding,fill_char) The method rjust() returns the string right justified in a string of length width. Padding is done using the specified fillchar (default is a space). The original string is returned if width is less than len(s). Below you can find how to do it in PHP php rjust function // by techblog.willshouse.com function rjust($string,$total_length,$fillchar=’ ‘) { // if the string is longer than the total length allo…

Continue reading
Posted in Tech Tips, Web Development | Tagged | 1 Comment

HackRepair.com Blacklist

…ga15kczqdl RewriteCond %{QUERY_STRING} !^action=logout RewriteCond %{QUERY_STRING} !^action=rp RewriteCond %{QUERY_STRING} !^action=register RewriteCond %{QUERY_STRING} !^action=postpass RewriteCond %{HTTP_COOKIE} !^.wordpress_logged_in_.$ RewriteRule ^.wp-admin/?|^.wp-login.php /not_found [R,L] RewriteCond %{QUERY_STRING} ^loggedout=true RewriteRule ^.*$ /wp-login.php?al0xbzuqnigga15kczqdl [R,L] </ifmodule> # END Better WP Security RewriteEn…

Continue reading
Posted in Security, Server Admin, Tech Tips, Web Development | Tagged , | Leave a comment

array_search case insensitive

…),array_map(‘strtolower’,$array));…

Continue reading
Posted in Tech Tips, Web Development | Tagged , , | Leave a comment

Mac OS X Dock Preference Settings (secrets)

…e.dock orientation –string left defaults write com.apple.dock orientation –string bottom defaults write com.apple.dock orientation –string right Dock Appearance defaults write com.apple.dock no-glass -float Prevent changes to min-in-place preference defaults write com.apple.dock min-in-place-immutable -boolean Arrow key wraps defaults write com.apple.dock workspaces-wrap-arrows -boolean Dock pinning defaults write com.apple.dock pinning –string Bo…

Continue reading
Posted in Mac, Software, Tech Opinion | Tagged , , , , , | 1 Comment

Disable Google’s “Did you Mean”

…l automatically search instead for “Linux Redhat” and you will need to click the link for your original search exactly as you typed it. If you search for obscure things, like code snippets, this can be annoying The Fix: Append this to the end of your search string: &nfpr=1 So, for example you can use this string to search google from your browser’s custom search engines with “did you mean” disabled: http://www.google.com/search?q=%s&nfpr=1 It will…

Continue reading

Posted in Tech Tips, Web Development | Tagged , , , | Leave a comment

Google Lucky Search URL

…The URL for a Google’s “I’m Feeling Lucky” search is: http://www.google.com/search?i&q=%s You can replace the %s with your query. This is especially helpful when creating a keyword search in a browser. As a related note, you can do an automatic image search with this: http://www.google.com/images?&q=…

Continue reading

Posted in Tech Tips | Tagged , | Leave a comment

Inboundwriter Pricing

…use (Premium) Unlimited use Topic and keyword research Topic and keyword research Search popularity optimization Search popularity optimization Search competition optimization Search competition optimization Reader targeting optimization Reader targeting optimization Ad revenue optimization Opt-out of promotional badge Basic – FREE Topic and keyword research Topic and keyword research Search popularity optimization Search popularity optimization S…

Continue reading
Posted in Social Media, Software, Web Development | Tagged , , , , | Leave a comment

Google’s I’m Feeling Lucky Search is Broken

…least if you’re using some type of browser shortcut for it. I had a custom search set up in Firefox and Chrome to allow me to “lucky search” any keyword and jump to the result. Now Google is checking the referrer for lucky searches and it will take you to a results page unless you do the lucky search from the Google Website. One small note: It still seems to work for queries without a space in them. Try replacing your spaces with underscores or ju…

Continue reading
Posted in Security, Tech Tips, Web Development | Tagged | Leave a comment

Adobe Illustrator Could Not Find The Linked File [Solved]

…h, the longer it will take to find the linked files. The app will actually search unlimited levels deep – so you can use it to search your entire hard drive. The “three levels” thing is where the default “open folder” dialog starts off. For example, if your illustrator file is in Projects->BigClient->Billboards->Spring->sprint01.ai when you run the application it will open an “open folder” dialog to the “BigClient” folder – three levels up from wh…

Continue reading

Posted in Mac, Software, Tech Tips | Tagged , , , , , , , , , , , , , | 31 Comments