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
| <Manager className="org.apache.catalina.session.PersistentManager"> | |
| <Store className="com.yourcompany.JedisStore" redisAddress="redis://localhost:6379" /> | |
| </Manager> |
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
| import com.codahale.metrics.Histogram; | |
| import com.codahale.metrics.MetricRegistry; | |
| import com.codahale.metrics.Timer; | |
| import com.codahale.metrics.jmx.JmxReporter; | |
| import org.apache.catalina.Context; | |
| import org.apache.catalina.Globals; | |
| import org.apache.catalina.LifecycleException; | |
| import org.apache.catalina.Session; | |
| import org.apache.catalina.session.StandardSession; | |
| import org.apache.catalina.session.StoreBase; |
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
| { | |
| "Statement":[ | |
| { | |
| "Action":[ | |
| "iot:Receive", | |
| "iot:Subscribe", | |
| "iot:Connect" | |
| ], | |
| "Effect":"Allow", | |
| "Resource":[ |
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
| Download the certificate with: | |
| `wget -O config/rds-combined-ca-bundle.pem http://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem` | |
| Then connect with: | |
| `postgres://user:password@amazon-host/db_name?sslmode=require&sslrootcert=config/rds-combined-ca-bundle.pem` | |
| References: | |
| http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts.General.SSL | |
| https://github.com/jeremyevans/sequel/issues/897 | |
| http://www.postgresql.org/docs/9.3/static/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT | |
| http://dba.stackexchange.com/questions/77811/how-to-connect-to-an-amazon-postgresql-database-using-ssl |
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
| <script type="text/javascript" src="http://www.boxit.co.il/exmp/js/dropdown.js"></script> | |
| <script type="text/javascript">Boxit.create();</script> | |
| <a href="#" onclick="openMap(); return false;">מפה</a> |
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
| <html> | |
| <head> | |
| <title>דוגמא</title> | |
| </head> | |
| <body> | |
| <form> | |
| <script type="text/javascript" src="http://www.boxit.co.il/exmp/js/dropdown.js"></script> | |
| <script type="text/javascript">Boxit.create();</script> | |
| <a href="#" onclick="openMap(); return false;">מפה</a> | |
| <input type="submit" value="הזמן"> |
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
| <html> | |
| <head> | |
| <title>דוגמא</title> | |
| </head> | |
| <body> | |
| <form> | |
| <script type="text/javascript" src="http://www.boxit.co.il/exmp/js/dropdown.js"></script> | |
| <script type="text/javascript">Boxit.create();</script> | |
| <input type="submit" value="הזמן"> | |
| </form> |