The following guide will show you how to deploy a simple microservice written in JavaScript using 𝚫 now.
It uses Open Source tools that are widely available, tested and understood:
- Node.JS
- NPM
- Express
| # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
| # that enables you to choose a character from a menu of options. If you are on Lion | |
| # try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
| # for input. | |
| # | |
| # It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
| # it's a nightmare to deal with in Atom if you're running vim mode, | |
| # as it means you cannot press and hold h/j/k/l to move through your file. You have | |
| # to repeatedly press the keys to navigate. |
| #!/usr/bin/env sh | |
| # checks to see if running | |
| launchctl list | grep mongo | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
| launchctl remove homebrew.mxcl.mongodb | |
| pkill -f mongod |
The following guide will show you how to deploy a simple microservice written in JavaScript using 𝚫 now.
It uses Open Source tools that are widely available, tested and understood:
| /** | |
| 1. Install the Stylish(https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en) extension for Chrome. | |
| 2. Open up extension options and paste the whole CSS mentioned below. | |
| 3. Specify the domain name to be `github.com`. | |
| 4. Add a title and save. | |
| */ | |
| @media (min-height: 850px) { | |
| .header { | |
| padding-top: 10px; |
| { | |
| "1":{ | |
| "name":"Bulbasaur", | |
| "attack":49, | |
| "defense":49, | |
| "evolveLevel":16, | |
| "evolveTo":"2", | |
| "type":"grass", | |
| "moves":[ | |
| "tackle", |
| # works on my machine... OS X 10.8.2, Python v2.7.3 | |
| import sys | |
| import subprocess | |
| wordlist = 'words.txt' | |
| if len(sys.argv) > 1: | |
| wordlist = sys.argv[1] |