Skip to content

Instantly share code, notes, and snippets.

@Jay-Krish
Jay-Krish / gist:6399f185153fd8d4b513
Created February 16, 2015 07:45
Configuring ssh hosts for quick access
1. Set up your .ssh/config file as below
Host myserver
Hostname dnsresolvablename.com
User ecuser
Host anotherserver
Hostname 134.123.23.12
IdentityFile <YoursshKeyLocation>/yourkey-keypair.pem
User root

Installation

$SCALA_HOME

Start using REPL

Start using Scala Doc

Setup Intellij Idea

Find from which branch a tag came from
git branch -a --contains tagname
Find the latest tag
git describe --abbrev=0 --tags
@Jay-Krish
Jay-Krish / MySQL Compare
Created January 13, 2015 10:55
Compare two mysql databases for schema diffs and generate alter scripts accordingly.
mysqldbcompare --server1=user:password@host1 --server2=user:password@host2 host1dbname:host2dbname --changes-for=server2 -a --difftype=sql --skip-data-check --skip-row-count