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
####### | |
## StrongLoop Loopback Node.js Production Deployment on Loopback AWS AMI | |
####### | |
#first install npm package | |
npm install -g strong-pm | |
#then install the service | |
#since I'm running loopback's AWS AMI, it's critical to use the --upstart=0.6 command | |
sudo slc pm-install --port 8701 --upstart=0.6 |
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
/** | |
* | |
* Simple jQuery Script to parse credit card data | |
* that was collected via a USB Magnetic Stripe | |
* Credit Card Reader. | |
* | |
* To get this to work, focus your cursor (either | |
* programmatically or via a click, it's your choice) on an input field #credit-card-number | |
* and then with the card reader plugged in, swipe | |
* the card and it will take over from there |