-
Popular Posts
-
Search
-
Recent Posts
Follow for New Updates
Tags
analytics api apple blog browser chrome chromium Design dropbox email error extension facebook firefox google greasemonkey ipad javascript jQuery keyboard linux lion mac Marketing mysql os x osx php plugin project quicksilver scam search SEO social spam ssl themes twitter unix ux video windows woo wordpress
Category Archives: Web Development
WooThemes Graphic Designer
The WooThemes Graphic Designer team consistently does a nice job of getting their message across. They obviously have a strong background in visual communication. Take for example their simple message promoting a new product:
Posted in Design, Web Development
Tagged Design, graphic design, themes, woo, woo themes, wordpress
Leave a comment
WooThemes Community Population
The WooThemes Community Size was approximately 156,000 members as of February 2011. WooThemes Community Population:
Posted in Design, Web Development
Tagged community, population, size, themes, woo, woo themes
Leave a comment
Understanding WordPress’ add_image_size (with examples)
WordPress’s add_image_size function can be a little tricky to master, especially understanding how the cropping and resizing works. I’ve dedicated a blog entry to explaining how the images are cropped on an image that is larger than the maximum size, and below are the results. The WordPress documentation for the add_image_size() function has the following components: Usage < ?php add_image_size( $name, $width, $height, $crop ); ?> Parameters $name (string) (required) The new image size name. Default: None $width (int) (optional) The post thumbnail width in pixels. Default: 0 $height (int) (optional) The post thumbnail height in pixels. Default: 0 $crop (boolean) (optional) Crop the image or not. False – Soft proportional crop mode ; True – Hard crop mode. Default: false Original Image (404w x 1587h) Next, the original image, which is 404w by 1587h. Soft Crop, Very Tall Height This results in a proportional image that is 185w by 726h. In this case the image is limited by it’s width, 185px. add_image_size( ‘feature’, 185, 1200, false ); Soft Crop, Normal Height This results in a proportional image that is 54w by 215h. The image is limited by the height. add_image_size( ‘feature1′, 185, 215, false ); Hard Crop, Very Tall Height This results in a disproportionate image which is exactly 185 x 1200, but the edges of the image are lost. This works semi-ok here but would not be good if we were uploading a logo, something with text, or a person with important features on the edges of the … Continue reading
Posted in Tech Tips, Web Development
Tagged add_image_size, crop, proportions, resize, wordpress
Leave a comment
twttrHubFrame: solved
If you’re seeing a hidden iframe with an ID twttrHubFrame that probably means you’re using a socialize widget such as the twitter platform’s widget. Here is an example as used by the post-types-order plugin for WordPress. <a href=”https://twitter.com/share” class=”twitter-share-button” data-url=”http://www.nsp-code.com” data-text=”Define custom order for your taxonomies terms through an easy to use javascript AJAX drag and drop interface. No theme code updates are necessarily, this plugin will take care of query update.” data-count=”none”>Tweet</a> <script type=”text/javascript” src=”//platform.twitter.com/widgets.js”></script>
Posted in Social Media, Tech Tips, Web Development
Tagged hub, iframe, twitter, twttrHubFrame
Leave a comment
wget: no retries
Wget – is the non-interactive network downloader, and you can set it up to download without retrying / making any retries with the following option: -t number / –tries=number: Set number of retries to number. Specify 0 or ‘inf’ for infinite retrying. The default is to retry 20 times, with the exception of fatal errors like “connection refused” or “not found” (404), which are not retried. It is usually also helpful to set up a timeout for requests which may take a long time: -T seconds / –timeout=seconds: Set the network timeout to seconds seconds. This is equivalent to specifying ‘–dns-timeout’, ‘–connect-timeout’, and ‘–read-timeout’, all at the same time. When interacting with the network, Wget can check for timeout and abort the operation if it takes too long. This prevents anomalies like hanging reads and infinite connects. The only timeout enabled by default is a 900-second read timeout. Setting a timeout to 0 disables it altogether. Unless you know what you are doing, it is best not to change the default timeout settings. All timeout-related options accept decimal values, as well as subsecond values. For example, ‘0.1’ seconds is a legal (though unwise) choice of timeout. Subsecond timeouts are useful for checking server response times or for testing network latency.
Make YSlow work with Firefox 10
Firefox 9, Firebug, and YSlow had some compatibility issues which caused YSlow not to work for many users. The good news is that the Firebug, and YSlow extensions have been updated and now if you are using Firebug 1.9.1 and YSlow 3.0.9 then YSlow will work “Out of the Box” with Firefox 10. If you had these extensions previously disabled make sure re-enable them and you should be good to go.
Firefox: Start with Profile Manager
Firefox: Start with Profile Manager in OS X /Applications/Firefox.app/Contents/MacOS/firefox-bin -profilemanager Firefox: Start with Profile Manager in Linux ./firefox -profilemanager Firefox: Start with Profile Manager in Windows Try one of these commands, either in the run dialog box or in the command line: firefox.exe -profilemanager firefox.exe -P “C:\Program Files\Mozilla Firefox\firefox.exe” -P “C:\Program Files (x86)\Mozilla Firefox\firefox.exe” -P
Posted in Mac, Software, Tech Tips, Web Development
Tagged firefox, firefox 10, mac, profiles
Leave a comment
25 Most Popular Payment Gateways
Did I leave any out? Add them in the comments below! :) PayPal Pro Process credit cards directly on your website with Website Payments Pro, our merchant account and gateway in one. – Clear pricing, no hidden fees (See Pricing) – No long-term commitments or monthly minimums – Works with most popular shopping carts Google Checkout Want a faster, safer, and more convenient way to shop online? You got it. With Google Checkout™ you can quickly and easily buy from stores across the web and track all your orders and shipping in one place. – Our fraud protection policy covers you against unauthorized purchases made through Google Checkout, and we don’t share your purchase history or full credit card number with sellers. – You can keep your email address confidential, and easily turn off unwanted emails from stores where you use Google Checkout. 2Checkout.com 2CO provides a safe and secure hosted checkout process that collects your customers payment information. We handle the PCI Compliance so you can focus on your business! Inspire Commerce Inspire Commerce is a Visa™ / MasterCard™ registered Merchant Service Provider offering enterprise level payment processing solutions with a human touch. Authorize.net Payment gateway enables internet merchants to accept online payments via credit card and e-check. PayPal Express Payment gateway extension for: https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Merchant/merchant/ExpressCheckoutIntro-outside PagSeguro – www.pagseguro.com.br Probably the best gateway from Brazil Payment Gateway API Instead of 50 different payment gateway request, a simple and clear Payment Gateway API may be a better idea. Most payment gateways … Continue reading
Posted in Tech Tips, Web Development
Tagged card processors, gateways, online payments, paypal, visa
2 Comments
LookupException in API_Linux.cpp:98: Could not lookup username “wwwrun”
In order to get suPHP to run you’ll need to edit the config file, which is by default stored in /etc/suphp/suphp.conf If you’re getting the error LookupException in API_Linux.cpp:98: Could not lookup username “wwwrun” it means specifically that you probably have not uncommented the line webserver_user in that config file. If you’re on an Ubuntu server you will probably set that line to www-data but on other systems it perhaps needs to be set to apache or nobody. You can view your list of users by using the command cat /etc/passwd, which will give you several lines in this format: www-data:x:33:33:www-data:/var/www:/bin/sh If you’re on Ubuntu you should see the line above, which shows the entry for the user www-data which has a user id and group id of 33 (the first two numbers). If you see that then you should probably change your suphp.conf file to have the webserver_user set to www-data and also you should change the Minimum UID and Minimum GID to the matching numbers, probably 33 and 33… webserver_user=www-data ; Minimum UID min_uid=33 ; Minimum GID min_gid=33 A decent guide for setting up suPHP on Ubuntu 11 can be found at http://websoftserbia.com/en/ubuntu/66-install-suphp-on-ubuntu-11-04.html I would recommend walking through that guide first, so you know what you’re doing, but I’ll also give you an example of a configured suphp.conf file: [global] ;Path to logfile logfile=/var/log/suphp.log ;Loglevel loglevel=info ;User Apache is running as webserver_user=www-data ;Path all scripts have to be in ;docroot=/var/www:${HOME}/public_html ;Security options allow_file_group_writeable=true allow_file_others_writeable=false allow_directory_group_writeable=true allow_directory_others_writeable=false ;Check wheter … Continue reading
Posted in Linux, Server Admin, Server Administration, Web Development
Tagged apache, config, error, suphp, ubuntu
Leave a comment
Are “A Small Orange” and “Hostnine LLC” the same company?
To me it looks like “A Small Orange” and “Hostnine LLC” are the same company… Addresses for Hostnine and “A Small Orange” mapped: Whois information for Hostnine Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: HOSTNINE.COM Registrar: GODADDY.COM, LLC Whois Server: whois.godaddy.com Referral URL: http://registrar.godaddy.com Name Server: DNS1.HOSTNINE.COM Name Server: DNS2.HOSTNINE.COM Status: clientDeleteProhibited Status: clientRenewProhibited Status: clientTransferProhibited Status: clientUpdateProhibited Updated Date: 10-jan-2011 Creation Date: 08-aug-2006 Expiration Date: 08-aug-2017 Registrant: HostNine LLC 650 Hamilton Ave SE Suite D Atlanta, Georgia 30312 United States Registered through: Go Daddy Domain Name: HOSTNINE.COM Created on: 08-Aug-06 Expires on: 08-Aug-17 Last Updated on: 10-Jan-11 Administrative Contact: Hanna, Douglas domains@hostnine.com HostNine LLC 650 Hamilton Ave SE Suite D Atlanta, Georgia 30312 United States +1.8772514678 Fax — Technical Contact: Hanna, Douglas domains@hostnine.com HostNine LLC 650 Hamilton Ave SE Suite D Atlanta, Georgia 30312 United States +1.8772514678 Fax — Domain servers in listed order: DNS1.HOSTNINE.COM DNS2.HOSTNINE.COM Whois information for “A Small Orange” Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: ASMALLORANGE.COM Registrar: ENOM, INC. Whois Server: whois.enom.com Referral URL: http://www.enom.com Name Server: NS1.ASMALLORANGE.COM Name Server: NS2.ASMALLORANGE.COM Status: clientTransferProhibited Updated Date: 03-aug-2010 Creation Date: 15-jan-2004 Expiration Date: 15-jan-2015 >>> Last update of whois database: Sun, 05 Feb 2012 19:41:48 UTC < << Domain name: asmallorange.com Registrant Contact: … Continue reading
Posted in Server Admin, Tech Opinion, Web Development
Tagged a small orange, hosting, hostnine, whois
Leave a comment

