Trainings: learnyounode, freecodecamp, codebuffon, simplifynodejs
- Installing Node help
Trainings: learnyounode, freecodecamp, codebuffon, simplifynodejs
| // Node.js CheatSheet. | |
| // Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
| // Download: http://nodejs.org/download/ | |
| // More: http://nodejs.org/api/all.html | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
This is a collection of the most common commands I run while administering Postgres databases. The variables shown between the open and closed tags, "<" and ">", should be replaced with a name you choose. Postgres has multiple shortcut functions, starting with a forward slash, "". Any SQL command that is not a shortcut, must end with a semicolon, ";". You can use the keyboard UP and DOWN keys to scroll the history of previous commands you've run.
http://www.postgresql.org/download/linux/ubuntu/ https://help.ubuntu.com/community/PostgreSQL
| // Return JSON without Jackson mapping classes | |
| @RequestMapping("/users") | |
| public @ResponseBody Map<String, String> getUsers () { | |
| Map<String, String> map = new HashMap<String, String>(); | |
| map.put("user", "Clark Kent"); | |
| return map; | |
| } |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
| FROM ubuntu:16.04 | |
| RUN apt-get update -qq | |
| RUN apt-get install -y postgresql-client |
| FROM java:8-alpine | |
| MAINTAINER Your Name <[email protected]> | |
| ADD abc.jar /opt/app/app.jar | |
| EXPOSE 3000 | |
| CMD ["java", "-jar", "/opt/app/app.jar"] |