- Create the start and stop scripts of your application.
- Example:
#!/bin/bash
cd /home/ubuntu/myapp/
java -jar myapp.jar --server.port=8888 &| Install Java JDK 6.0 update 31 on Ubuntu 12.04 LTS | |
| Introduction | |
| The first question is why are we installing an old JDK. The answer is that Oracle JDK 6.0 update 31 is the JDK recommended by Cloudera when installing CDH4 (Cloudera Distribution Hadoop v4). | |
| This is an update to an older version of this post. Mainly I have changed the JDK from 1.6.0_26 to 1.6.0_31 as this is the recommended JDK for CDH4 . | |
| Install Java | |
| I have a 64 bit version of Ubuntu 12.04 LTS installed, so the instructions below only apply to this OS. |
| http://www.emoji-cheat-sheet.com/ | |
| (*) (^) (~) (abe) (access) (angel) (anger) (bandit) (bartlett) (beer) (bell) (bhangra) (bike) (bing) (blackwidow) (bollylove) (bomb) (bow) (bowled) (brb) (bucky) (bug) (call) (camera) (canyoutalk) (captain) (car) (cash) (celebrate) (chai) (chappal) (cheese) (chuckle) (clap) (coffee) (computer) (confidential) (cwl) (d) (devil) (disco) (disgust) (diwali) (dog) (doh) (donkey) (donttalk) (drunk) (e) (ek) (emo) (envy) (excel) (F) (facepalm) (fear) (finger) (fireworks) (fistbump) (flex) (footballfail) (fubar) (games) (ghost) (gift) (golmaal) (goodluck) (gottarun) (handshake) (happy) (headbang) (heidy) (highfive) (holdon) (hollest) (hug) (internetexplorer) (island) (joy) (kaanpakadna) (kya) (laddu) (ladyvamp) (lalala) (learn) (letsmeet) (lips) (lips) (makeup) (malthe) (man) (microsoft) (mm) (monkey) (mooning) (movember) (mp) (muscleman) (music) (n) (nahi) (nazar) (neil) (nickfury) (ninja) (nod) (o) (ok) (oliver) (onedrive) (onenote) (outlook) (oye) (pi) (plane) (poke) (poolparty) ( |
| $(document).ready(function() { | |
| // convert all a/href to a#href | |
| $("body").delegate("a", "click", function(){ | |
| var href = $(this).attr("href"); // modify the selector here to change the scope of intercpetion | |
| // Push this URL "state" onto the history hash. | |
| $.bbq.pushState(href,2); | |
| // Prevent the default click behavior. |
| // === Arrays | |
| var [a, b] = [1, 2]; | |
| console.log(a, b); | |
| //=> 1 2 | |
| // Use from functions, only select from pattern | |
| var foo = () => [1, 2, 3]; |
| postgres: | |
| image: postgres:9.4 | |
| volumes: | |
| - ./init.sql:/docker-entrypoint-initdb.d/init.sql |
| π | π | π | π |
π© | π | π | π | π¨ | π° | π£ | π’ | π | π | π² | π± |
| π« | π | π‘ | π€ | πͺ | π | π·
π | π΅ | πΏ | π | π | πΆ | π | π½ | π | π | π | β€οΈ | π | π | π | π | π | π | π | β¨
You can use this diagram as a template to create your own git branching diagrams. Here's how:
https://gist.githubusercontent.com/bryanbraun/8c93e154a93a08794291df1fcdce6918/raw/0378fda86483def0a9680270c02907a9cbaf7615/template-data.xml| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |