| Provider | Singleton | Instantiable | Configurable |
|---|---|---|---|
| Constant | Yes | No | No |
| Value | Yes | No | No |
| Service | Yes | No | No |
| Factory | Yes | Yes | No |
| Decorator | Yes | No? | No |
| Provider | Yes | Yes | Yes |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <soapenv:Header/> | |
| <soapenv:Body> | |
| <freightRate:FreightRateResponse xmlns:freightRate="http://www.ups.com/XMLSchema/XOLTWS/FreightRate/v1.0"> | |
| <common:Response xmlns:common="http://www.ups.com/XMLSchema/XOLTWS/Common/v1.0"> | |
| <common:ResponseStatus> | |
| <common:Code>1</common:Code> | |
| <common:Description>Success</common:Description> | |
| </common:ResponseStatus> |
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
| <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
| class FreightRatesAndService { | |
| protected $username = ''; | |
| protected $password = ''; | |
| protected $accessKey = ''; | |
| protected $sandbox = ''; | |
| protected $endpointUrl = ''; | |
| protected static $endpointUrls = array( |
-
download eclipse Luna from eclipse.org
-
if you need to install java 1.7, run
sudo apt-get install openjdk-7-jdk openjdk-7-jre, then, edit youreclipse.ini, including the path to java 1.7, mine looked like this, you may want to tweak memory limits:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
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
| # in .htaccess file | |
| AuthType Basic | |
| AuthName "Restricted Access" | |
| AuthUserFile /path/to/passwords/.htpasswd | |
| Require valid-user | |
| # sh | |
| sudo htpasswd -c /path/to/passwords/.htpasswd username |
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
| # thanks to: http://kvz.io/blog/2013/02/12/too-many-authentication-failures-for-root/ | |
| ssh -o PubkeyAuthentication=no ... |
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
| find . -name .svn -exec rm -rf '{}' \; |
NewerOlder