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
# File "/usr/lib/python2.6/site-packages/awscli/customizations/s3/s3.py", line 746, in check_region | |
if not region and not parsed_region and parsed_endpoint_url is None: | |
raise Exception("A region must be specified --region or " | |
"specifying the region\nin a configuration " | |
"file or as an environment variable.\n" | |
"Alternately, an endpoint can be specified " | |
"with --endpoint-url") |
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
# | |
# This is the Apache server configuration file providing SSL support. | |
# It contains the configuration directives to instruct the server how to | |
# serve pages over an https connection. For detailing information about these | |
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html> | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure | |
# consult the online docs. You have been warned. | |
# |
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
files: | |
"/etc/nginx/conf.d/custom.conf" : | |
content: | | |
server { | |
listen 8080; | |
server_name foo.chief-motp.com; | |
location / { | |
proxy_pass http://nodejs/foo/; | |
proxy_set_header Connection ""; | |
proxy_http_version 1.1; |
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
/usr/lib/jvm/jre/bin/java -DAWS_ACCESS_KEY_ID= -DAWS_SECRET_KEY= -DJDBC_CONNECTION_STRING= -DPARAM1= -DPARAM2= -DPARAM3= -DPARAM4= -DPARAM5= -Xms256m -Xmx256m -XX:MaxPermSize=64m -classpath :/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.awt.headless=true -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat7/temp -Djava.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start |
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
sudo mkdir -p /usr/share/fonts/truetype/ttf-microsoft | |
sudo cp msjh.ttc msjhbd.ttc /usr/share/fonts/truetype/ttf-microsoft | |
sudo apt-get install fontconfig | |
sudo fc-cache -f -v |
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
<%@ page contentType="text/html;charset=UTF-8" language="java" %> | |
<%@ page import="twitter4j.Twitter"%> | |
<html> | |
<head> | |
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> | |
<title>Sign in with Twitter example</title> | |
</head> | |
<body> | |
<% |
NewerOlder