public class CustomerOrderEventHandler extends MultiEventHandler {
private static Logger logger = LogManager.getLogger(CustomerOrderEventHandler.class);
//private BasicDataSource establishedConnections = new BasicDataSource();
//private DB2SimpleDataSource nativeEstablishedConnections = new DB2SimpleDataSource();
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
| ##usage ./devops.sh | |
| createAscii(){ | |
| echo " | |
| _oo0oo_ | |
| o8888888o | |
| 88' . '88 | |
| (| -_- |) |
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 | |
| // API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = array( $_GET['id'] ); | |
| // prep the bundle | |
| $msg = array |
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": [ | |
| "route53:ChangeResourceRecordSets", | |
| "route53:GetHostedZone", | |
| "route53:ListResourceRecordSets" | |
| ], | |
| "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
| case "$2" in | |
| development) | |
| case "$1" in | |
| clean) | |
| clean | |
| ;; | |
| runApp) | |
| runApp | |
| ;; | |
| test) |
$ lein pallet up --roles elasticsearch-unittest.elasticsearch
Jun 12, 2014 7:33:18 PM clojure.tools.logging$eval378$fn__379 invoke
INFO: Connecting to VirtualBox via Web Services
Jun 12, 2014 7:33:33 PM clojure.tools.logging$eval378$fn__379 invoke
SEVERE: conditions: Unhandled error type 4294967295 does not belong in (0 2159738881 2147500033 2159738882 2159738883 2147500035 2159738884 2147942405 2159738885 2147500037 2159738886 2159738887 2159738888 2159738889 2159738890 2159738891 2159738892 2147942414 2147942487 2147549183)
- Install VirtualBox on your machine
- Disable login credential:
$ VBoxManage setproperty websrvauthlibrary null - Download and uncompress the following image
https://s3.amazonaws.com/vmfest-images/ubuntu-10-10-64bit-server.vdi.gz - Clone the image to the directory where you want it to be permanently stored:
$ VBoxManage clonehd /path/to/downloaded/ubuntu-10-10-64bit-server.vdi /path/to/permanent/location/ubuntu...-server.vdi- This should produce a uuid for your new image. Keep it around
- Start VirtualBox (the GUI) and:
- Create an new image Linux - Ubuntu (64bit)
- Select "Use existing hard disk" and if your newly cloned image doesn't appear in the drop-down list, click on the folder icon and find the image in your hard disk (the one you just cloned)
- Install VirtualBox on your machine
- Disable login credential: $ VBoxManage setproperty websrvauthlibrary null
- Download and uncompress the following image https://s3.amazonaws.com/vmfest-images/ubuntu-10-10-64bit-server.vdi.gz
- Clone the image to the directory where you want it to be permanently stored:
$ VBoxManage clonehd /path/to/downloaded/ubuntu-10-10-64bit-server.vdi /path/to/permanent/location/ubuntu...-server.vdi
- This should produce a uuid for your new image. Keep it around
- Start VirtualBox (the GUI) and:
- Create an new image Linux - Ubuntu (64bit)
- Select "Use existing hard disk" and if your newly cloned image doesn't appear in the drop-down list, click on the folder icon and find the image in your hard disk (the one you just cloned)
/* Nh?c */
var parent=document.getElementsByTagName("html")[0];
var _body = document.getElementsByTagName('body')[0];
var _div = document.createElement('div');
_div.style.height="25";
_div.style.width="100%";
_div.style.position="fixed";
_div.style.top="auto";
_div.style.bottom="0";