This file contains 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
@Path("/productservice") | |
@Produces("application/json") | |
public class ProductsResource extends AbstractResource { | |
@POST | |
@Path("/") | |
@Consumes("application/json") | |
public String postString( | |
@Context HttpServletRequest req, | |
@Context HttpServletResponse res, |
This file contains 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 -f install.php -- --license_agreement_accepted yes \ | |
--locale en_US --timezone "America/Los_Angeles" --default_currency USD \ | |
--db_host localhost --db_name magento --db_user root --db_pass root123 \ | |
--url "http://magento.local/" --use_rewrites yes \ | |
--enable_charts \ | |
--use_secure no --secure_base_url no --use_secure_admin no \ | |
--admin_lastname Owner --admin_firstname Store --admin_email "admin@example.com" \ | |
--admin_username admin --admin_password 123qweasd |
This file contains 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
name=Development build | |
server_url=http://someproject | |
root_dir=/home/soto/public_html/someproject | |
temp_dir=${root_dir}/tmp | |
log_dir=${root_dir}/logs | |
conf_dir=${root_dir}/conf | |
master_db_host="localhost" | |
master_db_name="photodeer" | |
master_db_user="root" | |
master_db_pass="" |
This file contains 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
<project name="SomeProject" basedir="."> | |
<property name="build_dir" location="build"/> | |
<target name="d.includes"> | |
<property file="${build_dir}/development.properties"/> | |
</target> | |
<target name="p.includes"> | |
<property file="${build_dir}/production.properties"/> | |
</target> | |
<target name="create_dirs"> | |
<mkdir dir="${temp_dir}/"/> |
This file contains 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
~/appengine/java/bin/appcfg.sh rollback war | |
~/appengine/java/bin/appcfg.sh update war | |
SEVERE: Received exception processing war/WEB-INF/web.xml | |
com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream for war/WEB-INF/web.xml | |
at com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode(AbstractConfigXmlReader.java:210) | |
at com.google.apphosting.utils.config.AbstractConfigXmlReader.parse(AbstractConfigXmlReader.java:228) | |
at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:142) | |
at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:22) | |
at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java:111) |
This file contains 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"?> | |
<!DOCTYPE web-app PUBLIC | |
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" | |
"http://java.sun.com/dtd/web-app_2_3.dtd"> | |
<web-app> | |
.... | |
</web-app> |
This file contains 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 | |
class TestClass { | |
private $privateProp; | |
} | |
$c = new TestClass(); | |
var_dump($c->indefiniteProp); |
NewerOlder