Firefox: Disable Auto Update

There are two methods to Disable Auto Update in Firefox:

###Firefox: Disable Auto Update Method 1###

Go to the “Tools” menu (in the menu bar) and choose Preferences / Options. On Mac OS X Go to the “Firefox” menu bar and choose preferences or press `cmd+,`

Choose the “Advanced” tab and the “Update” sub tab, and then choose one of the options:

1. Install updates automatically (recommended)
2. Download update but let me choose whether to install them
3. Check for updates but let me choose whether to download and install them
4. Never check for updates (not recommended)

Firefox: Disable Auto Update

###Firefox: Disable Auto Update Method 2###

In your browser bar type in `about:config` and press return.

Type in `app.update.auto` to filter results, and look for the `boolean` entry. Set this to:

true – firefox will auto update (default setting)
false – firefox will not update automatically

Firefox: Disable Auto Update

Posted in Software, Tech Tips | Tagged , , , , , | 1 Comment

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

###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 , , , | 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 is fairly simple to implement. Just make it sure it easy to add to the WooCommerce plugin and let us, the people, fix them as separate plugins. :)

WorldPay

Payment gateway extension for: http://www.worldpay.com/

Servired [SPAIN]

ServiRed es el esquema de medios de pago líder en España. Su objetivo asistir a las entidades financieras miembro en la sustitución del efectivo por sistemas telemàticos

Offline Credit Card Processing

Enter CC information and securely store/send it. Shopp has a similar plugin they have available for theirs, so you can model after theirs.

Freshbooks

The Fastest Way To Track Time and Invoice Your Clients. Great for teams, small businesses and service providers.

Square

Accept credit card payments anywhere with your iPhone, iPad or Android phone. Download the free Square app to get started.

MoneyBookers / Skrill

Payment gateway extension for: http://www.moneybookers.com/

Dwolla

Payment gateway extension for: https://www.dwolla.com/

NO, NO, move to ALLIED WALLET!!!

Great payment gateway that offers far more services at a cheaper rate then your current 2Checkout processor does!

Authorize.net CIM (PCI Compliance)

Authorize.net allows customers to be PCI compliant with their CIM API. It would be great to have this addon to allow for recurring billing as well. An example would be for Club Memberships that require automatic shipments of the customers product(s).

CCAvenue Payment Gateway (India)

Payment Gateway, Merchant Accounts and Online Credit Card Processing Services offered by CCAvenue, South Asia’s biggest Payment Gateway and Merchant

FirstData

Payment gateway extension for: http://www.firstdata.com/

Realex Payments

Realex payments for Ireland http://www.realexpayments.com/ie – this would be strong for any Irish stores using Woo :)

Payment Express – www.paymentexpress.com

PCI compliant payment gateway for merchants worldwide accepting credit & debit cards in Retail, Online, Call centre, OPT/UPT & Vending environments.

PagBrasil

PagBrasil is an online payment gateway to Brazil designed specifically for international payment service providers and e-commerce platforms.

QuickBooks Merchant Services (QBMS)

Intuit Payment Services for credit card processing, payment processing and merchant accounts for your … Intuit QuickBooks Point of Sale Merchant Service

SecurePay (Australia)

SecurePay’s PCI compliant payment gateway helps over 20000 businesses accept payments with complete solutions for eCommerce and Billing. http://www.securepay.com.au/

quickpay

Quickpay.net is the best and one of the cheapest payment gateway if your market is in Denmark. They have a great API to code with.

docdata e-commerce

Over 40 different payment methods (like Ogone). http://www.docdata.nl Used by V&D, Bijenkorf, Bol.com, ABN-AMRO, Tele2 etc

1ShoppingCart

1ShoppingCart.com is the best shopping cart & ecommerce software solution. Our affordable packages enable you to perform all ecommerce functions in one. http://www.1shoppingcart.com/

alipay

The worlds biggest payment gateway. A must! Especially for China http://www.alipay.com

AlertPay

AlertPay in Montreal Canada is MLM and Affiliate friendly. http://bit.ly/AlertPayAffiliateFriendly

Paybox

For european business

Beanstream

Payment gateway extension. http://www.beanstream.com/

Braintree Payments

Braintree allows you to accept payments online. We offer a robust payment gateway, merchant account, secure credit card storage, subscription billing.

DineroMail

gateway for latin american customers. Hope we can have it, since there are millions of internet users in Latam, and they still feel afraid of giving credit card numbers trouh websites, so this offers more options such as payment on seveneleven stores

HSBC

Welcome to the home of the worlds local bank, HSBC

USAEpay

US standard payment gateway. Since 1998 the USA ePay team has been making it possible for businesses to accept credit cards easily, safely and securely. – http://www.usaepay.com

Sips – Atos

Atos is widely used by French banks (I don’t know if anywere else)

See http://www.sips-atos.com/fr/1/Accueil.html for details :)

FastSpring

FastSpring provides a comprehensive e-commerce solution for companies that sell downloadable products and subscription-based services.

Monsterpay

MonsterPay allows you to securely accept credit card, debit card, bank transfer and MonsterPay balance. No sign-up or monthly fees.

*Online Payment Processing in multiple currencies
*Trusted by over 100,000 customers worldwide
*Available in 200 countries
*World class support

http://www.monsterpay.com/

PSIGate (Canada)

PSiGate Merchant Services provides Merchant accounts, credit card processing and eCommerce transaction services for businesses in Canada and USA.

Payjunction

PayJunction – Virtual Terminal, Payment Gateway, Wireless, and …
www.payjunction.com/Simple, Secure Credit Card Processing. Virtual Terminal, Merchant Account, and Gateway. Start processing credit card transactions in your office http://payjunction.com/

Paypoint.net

Online payments, merchant accounts & credit card processing for all businesses. Get a Payment Gateway & Merchant Account in 24 hours & accept payments http://www.paypoint.net/

Gestpay by Banca Sella

Most used payment gateway in ITALY. Now you too can start selling your products online. Discover the new way of doing E-Commerce! GestPay the system is safe and easy to implement on the Internet to accept payments by credit card and PayPal.

https://www.sella.it/ecommerce/gestpay/gestpay.jsp

merchee

merchee makes it easy for non-developers to accept credit cards and charge for recurring subscriptions.

Here are some others that might also be helpful:

  • Authorize.net
  • Braintree
  • Chase Paymentech (Orbital)
  • CyberSource
  • E-xact
  • Efsnet
  • Elavon MyVirtualMerchant
  • EPaymentPlans
  • FirstData US
  • Garanti Sanal POS
  • Inspire Commerce
  • InstaPAY
  • Merchant e-Solutions
  • MerchantWARE by Merchant Warehouse
  • Modern Payments
  • NELiX TransaX
  • NETbilling
  • Optimal Payments
  • PayJunction
  • PaymentExpress
  • PayPal Payflow Pro
  • Plug’n Pay
  • QuickBooks Merchant Services (Intuit)
  • Sage Payment Solutions
  • SecurePay
  • Skip Jack
  • Stripe
  • TransFirst
  • Trust Commerce
  • Verifi
  • ViaKLIX
  • WorldPay (Direct)
  • Barclays ePDQ (MPI)
  • Beanstream
  • CardStream
  • Chronopay
  • DataCash
  • DirecPay
  • DIRECTebanking (Payment Network AG)
  • ePay
  • eWAY
  • GestPay
  • HiTRUST
  • Iridium
  • Moneris
  • Moneybookers
  • NetRegistry
  • Nochex
  • Ogone DirectLink
  • Paybox Direct
  • PaySecure
  • Psigate
  • PSL Payment Solutions
  • Quickpay
  • Realex
  • SagePay
  • SagePay Form
  • SecurePay (Australia)
  • SecurePayTech
  • USA ePay
  • Valitor
  • Wirecard
  • WorldPay (Offsite)
Posted in Tech Tips, Web Development | Tagged , , , , | 7 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 script is within DOCUMENT_ROOT
; !! only change this to FALSE if your site files are outside of the standard directories
; !! specified above in the docroot declaration. or change it for debugging but
; !! dont forget to change it back! :)
check_vhost_docroot=false

;Send minor error messages to browser
errors_to_browser=false

;PATH environment variable
env_path=/bin:/usr/bin

;Umask to set, specify in octal notation
umask=0077

; Minimum UID
min_uid=33

; Minimum GID
min_gid=33

[handlers]
;Handler for php-scripts
x-httpd-php=php:/usr/bin/php5-cgi

;Handler for CGI-scripts
x-suphp-cgi=execute:!self

;Path to chroot() to before executing script
;chroot=/mychroot

Posted in Linux, Server Admin, Server Administration, Web Development | Tagged , , , , | 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:

Are “A Small Orange” and “Hostnine LLC” the same company?

###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 [email protected]
HostNine LLC
650 Hamilton Ave SE
Suite D
Atlanta, Georgia 30312
United States
+1.8772514678 Fax —

Technical Contact:
Hanna, Douglas [email protected]
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: A Small Orange Douglas Hanna () Fax: 650 Hamilton Ave SE Suite D Atlanta, GA 30312 US Administrative Contact: A Small Orange Douglas Hanna ([email protected]) +1.4046277789 Fax: +1.11 650 Hamilton Ave SE Suite D Atlanta, GA 30312 US Technical Contact: A Small Orange Douglas Hanna ([email protected]) +1.4046277789 Fax: +1.11 650 Hamilton Ave SE Suite D Atlanta, GA 30312 US Status: Locked Name Servers: NS1.ASMALLORANGE.COM NS2.ASMALLORANGE.COM Creation date: 15 Jan 2004 20:15:00 Expiration date: 15 Jan 2015 20:15:00 Hostnine "new" billing address: Are “A Small Orange” and “Hostnine LLC” the same company?

A Small Orange company info:

A Small Orange company info

Posted in Server Admin, Tech Opinion, Web Development | Tagged , , , | Leave a comment

Google Docs: Share Outside My Organization (solved)

If you’re facing the problem with Google Docs where the “Users can share documents outside this domain” option doesn’t work, or the following issues, see the solution below on how to fix this.

These are the problems reported by others about Share Google Docs Outside Your Organization:

> When I’m in the sharing settings in the document there is NO option to share out of organization.
> I disabled the option “Users can share documents outside this domain” several time ago and now, I reactivated it in order to share documents with users outside my domain.

> When I want to share any document with people outside the domain I am not able to get the option to do that.
>
> * When viewing document share options, I can’t see the toolbar where I am asked to allow people outside the domain to view or edit the document.
> * When I try to get a public link to the document, I only have the option to get it for people inside the domain.

> Control panel options are set properly but no change is performed in Google Docs.
>
> * I have another google apps domain account where I’m able to do that. In that account I’ve never disabled the share with people outside the domain.
> * I suspect the problem comes when you disable public sharing for the very first time and then you want to reactivate it again.

> I don’t have the option ‘Users can publish documents to the public internet’ available.
>
> * I have multiple Google Domains, to compare. It I can’t find a way out of this problem.
> * In my other domains I have the ‘Users can publish documents to the public internet’ option available. But the domain I initially disabled sharing I don’t have the option at this point…
>
> So it seems that once the option ‘Users cannot share documents outside this domain’ has been set there is no way back.

How Google Docs Allows you to Share Documents
===

Google offers the following levels of sharing

###Public on the web###

Anyone on the Internet can find and access. No sign-in required.

###Anyone with the link###

Anyone who has the link can access. No sign-in required.

###My Organization###

People at My Organization can find and access.

###People at My Organization with the link###

People at My Organization who have the link can access.

###Private###

Only people explicitly granted permission can access. Sign-in required.

Users can share documents outside this domain

How to Fix Google Docs and allow “Share Outside My Organization”

The top two options, “Public on the web” and “Anyone with the link” are only available if you have the preference set for “Users can share documents outside this domain”

You can change that preference in your Google Apps control panel, choose Settings, then Docs, then Users can share documents outside this domain.

Fixing Google Docs: Share Outside My Organization

However the key here, the “gotcha”, is that after changing this setting you may have to wait up to 6 hours for this to take effect. See the note from Google Support via email:

> Hello,
>
> Thank you for your message. I understand you are experiencing an issue when sharing documents outside your organization.
>
> Please ensure you have the checked ‘Users can share documents outside this organization’ checked in the Document settings section of your control panel. Be advised that changes to these settings can take up to six hours to take effect in your account.
>
> Once this time has passed, click on the blue Share button at the top right of the document in question. Clicking on the text ‘Change…’ under ‘Who has access’ and you should have the options ‘Anyone with the link’ and ‘Public on the web’ in order to share this document outside of your organization.
>
> If your issue persists, and you have waited the appropriate time after making changes in the control panel, please reply to this message with the following screenshots:
>
> – The Docs settings in the control panel showing that you have allowed sharing outside the organization.
> – The visibility options, showing that ‘Public on the web’ and ‘Anyone with the link’ are not available options.
>
> If you have any other related queries you can include them in your response and I’ll be happy to assist you further. I look forward to hearing from you.
>
>
> Sincerely,
>
> Enterprise Support

Posted in Security, Software, Web Development | Tagged , , , , , , , | 11 Comments

ec2 server create syntax (man page)

This is the knife create syntax page. I was trying to launch an instance of Chef with the “knife create” command that chef’s knife provides. The documentation page gives this example for how to launch a web server on Amazon’s EC2 server, but without much explanation of the terms:

knife ec2 server create -r “role[webserver]” -I ami-2d4aa444 –flavor m1.small -G www,default -x ubuntu -N server01

After doing some searching I just ended up digging into the code and found this information quite helpful, and so I am sharing it:

-f FLAVOR ( or –flavor FLAVOR )
The flavor of server (m1.small, m1.medium, etc)
default: m1.small

-I IMAGE ( or –image IMAGE )
The AMI for the server

-G X,Y,Z ( or –groups X,Y,Z )
The security groups for this server
default: “default”

-Z ZONE ( or –availability-zone ZONE )
The Availability Zone
default: us-east-1b

-N NAME ( or –node-name NAME )
The Chef node name for your new node

-S KEY ( or –ssh-key KEY )
The AWS SSH key id

-x USERNAME ( or –ssh-user USERNAME )
The ssh username
default: root

-P PASSWORD ( or –ssh-password PASSWORD )
The ssh password

-i IDENTITY_FILE ( or –identity-file IDENTITY_FILE )
The SSH identity file used for authentication

–prerelease
Install the pre-release chef gems

–bootstrap-version VERSION
The version of Chef to install

-d DISTRO ( or –distro DISTRO )
Bootstrap a distro using a template
default: ubuntu10.04-gems

–template-file TEMPLATE
Full path to location of template to use

–ebs-size SIZE
The size of the EBS volume in GB, for EBS-backed instances

–ebs-no-delete-on-term
Do not delete EBS volume on instance termination

-r RUN_LIST ( or –run-list RUN_LIST )
Comma separated list of roles/recipes to apply

-s SUBNET-ID ( or –subnet SUBNET-ID )
create node in this Virtual Private Cloud Subnet ID (implies VPC mode)

–no-host-key-verify
Disable host key verification

–user-data USER_DATA_FILE (or -u USER_DATA_FILE )
The EC2 User Data file to provision the instance with

There is also the `knife –help` command:

Usage:

knife sub-command (options)

flags

-s, –server-url URL Chef Server URL
-k, –key KEY API Client Key
–color Use colored output
-c, –config CONFIG The configuration file to use
–defaults Accept default values for all questions
-e, –editor EDITOR Set the editor to use for interactive commands
-E, –environment ENVIRONMENT Set the Chef environment
-F, –format FORMAT Which format to use for output
–no-color Don\’t use colors in the output
-n, –no-editor Do not open EDITOR, just accept the data as is
-u, –user USER API Client Username
–print-after Show the data after a destructive operation
-V, –verbose More verbose output. Use twice for max verbosity
-v, –version Show chef version
-y, –yes Say yes to all prompts for confirmation
-h, –help Show this message

Available subcommands: (for details, knife SUB-COMMAND –help)

** BOOTSTRAP COMMANDS **

knife bootstrap FQDN (options)

** CLIENT COMMANDS **

knife client list (options)
knife client reregister CLIENT (options)
knife client edit CLIENT (options)
knife client bulk delete REGEX (options)
knife client create CLIENT (options)
knife client show CLIENT (options)
knife client delete CLIENT (options)

** CONFIGURE COMMANDS **

knife configure client DIRECTORY
knife configure (options)

** COOKBOOK COMMANDS **

knife cookbook test [COOKBOOKS…] (options)
knife cookbook create COOKBOOK (options)
knife cookbook download COOKBOOK [VERSION] (options)
knife cookbook list (options)
knife cookbook delete COOKBOOK VERSION (options)
knife cookbook metadata from FILE (options)
knife cookbook show COOKBOOK [VERSION] [PART] [FILENAME] (options)
knife cookbook bulk delete REGEX (options)
knife cookbook metadata COOKBOOK (options)
knife cookbook upload [COOKBOOKS…] (options)

** COOKBOOK SITE COMMANDS **

knife cookbook site show COOKBOOK [VERSION] (options)
knife cookbook site share COOKBOOK CATEGORY (options)
knife cookbook site search QUERY (options)
knife cookbook site download COOKBOOK [VERSION] (options)
knife cookbook site list (options)
knife cookbook site unshare COOKBOOK
knife cookbook site install COOKBOOK [VERSION] (options)

** DATA BAG COMMANDS **

knife data bag show BAG [ITEM] (options)
knife data bag edit BAG ITEM (options)
knife data bag list (options)
knife data bag from file BAG FILE (options)
knife data bag create BAG [ITEM] (options)
knife data bag delete BAG [ITEM] (options)

** EC2 COMMANDS **

knife ec2 instance data (options)
knife ec2 server list (options)
knife ec2 server create (options)
knife ec2 server delete SERVER [SERVER] (options)

** ENVIRONMENT COMMANDS **

knife environment list (options)
knife environment show ENVIRONMENT (options)
knife environment edit ENVIRONMENT (options)
knife environment create ENVIRONMENT (options)
knife environment from file FILE (options)
knife environment delete ENVIRONMENT (options)

** EXEC COMMANDS **

knife exec [SCRIPT] (options)

** HELP COMMANDS **
]knife help [list|TOPIC]

** INDEX COMMANDS **
]knife index rebuild (options)

** NODE COMMANDS **

knife node from file FILE (options)
knife node create NODE (options)
knife node show NODE (options)
knife node edit NODE (options)
knife node delete NODE (options)
knife node list (options)
knife node run_list remove [NODE] [ENTRY] (options)
knife node run_list add [NODE] [ENTRY] (options)
knife node bulk delete REGEX (options)

** RECIPE COMMANDS **

knife recipe list [PATTERN]

** ROLE COMMANDS **

knife role from file FILE [FILE..] (options)
knife role show ROLE (options)
knife role edit ROLE (options)
knife role list (options)
knife role delete ROLE (options)
knife role create ROLE (options)
knife role bulk delete REGEX (options)

** SEARCH COMMANDS **

knife search INDEX QUERY (options)

** SSH COMMANDS **

knife ssh QUERY COMMAND (options)

** STATUS COMMANDS **

knife status QUERY (options)

** TAG COMMANDS **

knife tag list NODE
knife tag delete NODE TAG …
knife tag create NODE TAG …

And also the `knife create –help` command:

knife ec2 server create (options)
-Z, –availability-zone ZONE The Availability Zone
-A, –aws-access-key-id KEY Your AWS Access Key ID
-K SECRET Your AWS API Secret Access Key
–aws-secret-access-key
–user-data USER_DATA_FILE The EC2 User Data file to provision the instance with
–bootstrap-version VERSION The version of Chef to install
-N, –node-name NAME The Chef node name for your new node
–server-url URL Chef Server URL
-k, –key KEY API Client Key
–color Use colored output
-c, –config CONFIG The configuration file to use
–defaults Accept default values for all questions
-d, –distro DISTRO Bootstrap a distro using a template
–ebs-no-delete-on-term Do not delete EBS volumn on instance termination
–ebs-size SIZE The size of the EBS volume in GB, for EBS-backed instances
-e, –editor EDITOR Set the editor to use for interactive commands
-E, –environment ENVIRONMENT Set the Chef environment
-f, –flavor FLAVOR The flavor of server (m1.small, m1.medium, etc)
-F, –format FORMAT Which format to use for output
-i IDENTITY_FILE The SSH identity file used for authentication
–identity-file
-I, –image IMAGE The AMI for the server
–no-color Don\’t use colors in the output
-n, –no-editor Do not open EDITOR, just accept the data as is
–no-host-key-verify Disable host key verification
-u, –user USER API Client Username
–prerelease Install the pre-release chef gems
–print-after Show the data after a destructive operation
–region REGION Your AWS region
-r, –run-list RUN_LIST Comma separated list of roles/recipes to apply
-G, –groups X,Y,Z The security groups for this server
-S, –ssh-key KEY The AWS SSH key id
-P, –ssh-password PASSWORD The ssh password
-x, –ssh-user USERNAME The ssh username
-s, –subnet SUBNET-ID create node in this Virtual Private Cloud Subnet ID (implies VPC mode)
–template-file TEMPLATE Full path to location of template to use
-V, –verbose More verbose output. Use twice for max verbosity
-v, –version Show chef version
-y, –yes Say yes to all prompts for confirmation
-h, –help Show this message

Hope these will be helpful.

These are some of the terms I was trying to use to find information about the syntax of the knife create (ec2) manual / page.

  • knife flavor group
  • knife ec2
  • knife ec2 g group
  • knife ec2 g group man
  • knife ec2 server flavor g n x
  • knife ec2 server flavor g n x
  • knife ec2 server flavor g n x man
Posted in Linux, Server Admin, Server Administration, Tech Tips, Web Development | Tagged , , , , , , | Leave a comment

jQuery: Change Doctype

There are a few things you might want to know if you’re looking to change the document type (doctype) using jQuery or Javascript. First, doctype is listed as a property in the W3C documentation, and is defined as read-only:

interface Document : Node {
readonly attribute DocumentType doctype;
readonly attribute DOMImplementation implementation;
readonly attribute Element documentElement;
Element createElement(in DOMString tagName)
raises(DOMException);
DocumentFragment createDocumentFragment();

While it may be possible to insert a doctype with javascript / jquery above the HTML tag, it is not advisable to do so. Sample code which would do this might look like:




via

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

10 Amazon EC2 Alternatives

Amazon EC2

10 Amazon EC2 AlternativesAmazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is dersigned to make web-scale computing easier for developers.

Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.

[http://aws.amazon.com/ec2/](http://aws.amazon.com/ec2/)

Digital Ocean

10 Amazon EC2 Alternatives Deploy an 512MB RAM and 20GB SSD cloud server in 55 seconds for $5/month. Simple, fast, scalable SSD cloud virtual servers. This competitor was recently featured on *Uncrunched* and the site boasted, “Digital Ocean v. AWS: 10x Performance For 1/3 Cost”.

I am floored at how fast their servers are (if you know linux try doing something like `du` or `updatedb` or even `find / -iname “*firefox*”` – each command takes about 1 second!

[https://www.digitalocean.com/](https://www.digitalocean.com/)

Slicehost / Rackspace

10 Amazon EC2 AlternativesCreate Cloud Virtual Servers in minutes and pay per usage. Get a Windows or Linux Cloud Server with root access. 1 to 50 servers in minutes. Choose a server size and pay for what you use. Accessible via online control panel and open API. Easily Control Your DNS. Fully customizable with root access. Fanatical Support always included. No long-term contracts, pay for what you use. Up to 30 GB servers.

http://www.rackspace.com/

Clouder

10 Amazon EC2 AlternativesClouder has adopted the latest innovations in cloud virtualization and storage to give early access to industry-leading technologies. Not exactly a 1:1 for Amazon EC2, they work to eliminate the “middle layers” of the virtualization of cloud computing. They propose that by eliminating the need of a “hypervisor” and by sharing a common layer of OS, that their container technology gives Fast Provisioning, Better Elasticity ( container resources can be easily scaled up without reboot ), and Higher Performance due to the efficiency of each container. They are currently offering 3 months of free hosting as they are currently in beta.

http://www.getclouder.com/

MediaTemple

10 Amazon EC2 AlternativesMedia Temple hosts web sites. Big and Small. For years we’ve taken complex technology and simplified it for the everyday web site owner. Our products are designed to be powerful, affordable and relevant. Please take a look around; perhaps (mt) is a good choice for your next project.

http://mediatemple.net/webhosting/dv/pricing.php

Linode

10 Amazon EC2 AlternativesInstantly deploy and manage an SSD server in the Linode Cloud. Get a server running in seconds with your choice of Linux distro, resources, and node location.

https://www.linode.com/

JoyentCloud

10 Amazon EC2 AlternativesThe Fastest and Easiest Way to Deploy and Scale Node.js Apps in the Cloud

http://www.joyentcloud.com/lpages/node/

Google Compute Engine

10 Amazon EC2 AlternativesPart of the Google Cloud Platform, Google Compute Engine provides cloud computing & IaaS. Run large-scale computing easily with Google’s Compute Engine. Our Compute Engine is an IAAS that allows for scalable and efficient hosting configurations.

https://cloud.google.com/products/compute-engine/

Slicify

10 Amazon EC2 AlternativesSlicify – Crowd-sourced Compute. Not exactly a 1:1 alternative, Slicify is a marketplace where individuals and businesses can buy high-performance compute power from anyone with a Windows PC. As a result, they can offer CPU power for batch processing, heavy calculations and online workloads (such as CGI/rendering, data analysis, scientific computing and more) at a fraction of the price of traditional cloud compute providers.

https://secure.slicify.com/

Windows Azure

10 Amazon EC2 AlternativesWindows Azure is an open and flexible cloud platform built for you.

http://www.windowsazure.com/

Terremark / vCloud Express

10 Amazon EC2 AlternativesTerremark brings the power of the cloud to the enterprise with solutions built to integrate seamlessly into your existing I.T. infrastructure, compatible with your existing applications, and conforming to your policies and compliance needs, helping you move faster, respond quicker, and accelerate innovation. Terremark’s Enterprise Cloud gives you precise, dynamic allocation of computing resources with the scale, performance and security to handle enterprise-wide applications. Large organizations, IT executives and multi-site teams will appreciate the robust solution for its multi-user capacity, dedicated resource pool architecture and role-based security model as well as private network connectivity and physical device integration.

http://vcloudexpress.terremark.com/

Xen Cloud Computing

10 Amazon EC2 AlternativesCambridge University started the Xenoservers project, aiming to develop public infrastructure for wide-area distributed computing, in the late 1990s. In 1999, The Cambridge team published a Hot Topics in Operating Systems paper that described Xenoservers as “A new distributed computing paradigm, termed global public computing, which allows any user to run any code anywhere. Such platforms price computing resources, and ultimately charge users for resources consumed.”
http://www.xenproject.org/users/cloud.html

Eucalyptus

10 Amazon EC2 AlternativesEucalyptus is the world’s most widely deployed cloud computing software platform for on-premise (private) Infrastructure as a Service clouds. It uses existing infrastructure to create scalable and secure AWS-compatible cloud resources for compute, network and storage.

http://www.eucalyptus.com/

DuraCloud

10 Amazon EC2 AlternativesDuraCloud makes it easy to store and do more in the cloud. Our service makes the preservation of your content simple and cost effective. DuraCloud is the only service that makes it easy to move copies of your content into the cloud and store them with several different providers, all with just one click. We eliminate the risk of storing content with a single cloud provider by making it easy to move and copy files of any shape or size.

http://www.duracloud.org/

SoftLayer

10 Amazon EC2 AlternativesDeployed in hours, not days, each dedicated server comes with the industry’s most complete selection of services with the opportunity to choose additional hardware upgrades and service options.

http://www.softlayer.com/cloudlayer/computing/

GoGrid

10 Amazon EC2 AlternativesGoGrid cloud hosting allows you to build scalable cloud infrastructure in multiple data centers using dedicated and cloud servers, elastic F5 hardware load balancing, and cloud storage with total control through automation and self-service.

http://www.gogrid.com/cloud-hosting/cloud-hosting-pricing.php

AT&T Cloud Architech

10 Amazon EC2 AlternativesNow, complicated configurations are a thing of the past. With AT&T Cloud Architect, there’s an automated, standardized and fast way to pick, provision and deploy servers over the web within minutes or hours, not days. There’s no need to buy or build out your own on-premises infrastructure.

http://cloudarchitect.att.com

IBM Cloud Computing

10 Amazon EC2 AlternativesMore for companies than individuals, IBM offers a cloud “IBM SmartCloud is our family of enterprise-class cloud computing technologies and services for securely building and using private, public and hybrid clouds.”

http://www.ibm.com/cloud-computing/

IBM Cloud Pricing Calculator:
http://www-935.ibm.com/services/us/en/cloud-enterprise/tab-pricing-licensing.html

OVH (uk based)

10 Amazon EC2 AlternativesISO 27001 dedicated virtual datacentres, unlimited resources. Create your secure Public, Dedicated or Hybrid Cloud – get the best value and performance

https://www.ovh.co.uk/cloud/

OpenStack

10 Amazon EC2 AlternativesOpen source software for building private and public clouds. OpenStack Software delivers a massively scalable cloud operating system. A global collaboration of developers and cloud computing technologists producing the ubiquitous open source cloud computing platform for public and private clouds. The project aims to deliver solutions for all types of clouds by being simple to implement, massively scalable, and feature rich.

http://www.openstack.org/

LeaseWeb

10 Amazon EC2 AlternativesLeaseWeb is an industry leader in hosted IT infrastructure, specialized in dedicated servers, colocation, cloud hosting and custom solutions.

[http://www.leaseweb.com/en](http://www.leaseweb.com/en)

Nirvanix

10 Amazon EC2 AlternativesNirvanix offers a fully managed cloud storage service designed from the ground up for the enterprise.
http://www.nirvanix.com

PSSC Labs

10 Amazon EC2 AlternativesPSSC Labs has delivered over 1500 High Performance Computing or HPC clusters, Linux clusters and clouds on high density, eco friendly and energy efficient platforms.

[http://www.pssclabs.com/](http://www.pssclabs.com/)

Earthlink Cloud

10 Amazon EC2 AlternativesCloud computing company powering today’s IT with cloud hosting, dedicated server, cloud server backup, hosted exchange & other cloud IT services.

[http://www.earthlinkcloud.com/](http://www.earthlinkcloud.com/)

HPCC Systems

HPCC (High Performance Computing Cluster) is a massive parallel-processing computing platform that solves Big Data problems. The platform is Open Source. Enterprise Edition is a subscription-based offering of the HPCC technology for developers. It includes software, services and support to deliver the highest levels of reliability, security, and uptime proven over the years in mission-critical industrial settings. Prices are per year, per node with up to 8 CPU cores installed.

http://hpccsystems.com/

Google Storage

10 Amazon EC2 AlternativesMore of an S3 alternative than an EC2 alternative, there is Google Storage. “Google Storage is based on the company’s own infrastructure. Pricing is calculated on usage of space and bandwidth.” Also check our their [other cloud platform tools](https://cloud.google.com/)

https://developers.google.com/storage/





Posted in Server Admin, Server Administration, Tech Opinion, Tech Tips, Web Development | Tagged , , , , , , , | 8 Comments