Skip to content

Instantly share code, notes, and snippets.

View fabiotatsuo's full-sized avatar

Fabio Tatsuo fabiotatsuo

View GitHub Profile
@fabiotatsuo
fabiotatsuo / gist:5387805
Created April 15, 2013 12:48
Workbench Amazon AWS
Host = RDS > Endpoint
@fabiotatsuo
fabiotatsuo / gist:5387811
Created April 15, 2013 12:49
Workbench, local db java app
Query > name
default collation = utf8_general_ci
@fabiotatsuo
fabiotatsuo / gist:5394706
Created April 16, 2013 09:44
filezilla amazon aws
host ec2
user ec2-user
key > edit > settings > sftp
@fabiotatsuo
fabiotatsuo / gist:5394878
Created April 16, 2013 10:24
Erlang command shell
command shell
ctrl-A (^A) cursor begin of the line
crrl-E (^E) cursor end of the line
li press tab... lists:... tab again... suggest function
help ()
q() -- quit - shorthand for init:stop()
ctrl-G (^G) then type h to get help
type k N, N is a job number... terminate that shell and all code running
type i N, stop code withou killing shell
@fabiotatsuo
fabiotatsuo / gist:5403269
Last active December 16, 2015 08:08
Debug java web app
Right click on server > Debug
Toogle breakpoint
Execute
@fabiotatsuo
fabiotatsuo / gist:5403600
Last active December 16, 2015 08:09
Revistas digitais 3DIssue - EC2
Terminal
Pasta arquivo PEM > Amazon AWS
# Caminho = EC2 > Right click > Standalone SSH Cliente
ssh -i nomedachave.pem user@endereçodamáquinaamazon
cd /
@fabiotatsuo
fabiotatsuo / gist:5403953
Created April 17, 2013 12:46
Amazon AWS Server
EBS > Restart
EC2 > Load Balander > Remove > + > Add
@fabiotatsuo
fabiotatsuo / gist:5408881
Created April 18, 2013 00:22
Create AMI Amazon AWS
AMI > EC2
Create Image > File Name
Then go to
EBS > Edit Configuration
Custom AMI ID = AMI ID (EC2)
@fabiotatsuo
fabiotatsuo / gist:5429509
Last active July 13, 2020 11:40
Install Erlang
sudo apt-get install build-essential libncurses5-dev openssl libssl-dev
wget http://erlang.org/download/otp_src_R15B01.tar.gz
tar zxvf otp_src_R15B01.tar.gz
cd otp_src_R15B01
./configure && make && sudo make install
http://docs.basho.com/riak/latest/tutorials/installation/Installing-Erlang/#Installing-on-GNU-Linux
https://sites.google.com/site/comptekkia/erlang/how-to-install-erlang-on-ubuntu-10-10
@fabiotatsuo
fabiotatsuo / gist:5431085
Last active December 16, 2015 11:59
Link ifresh nstall Ubuntu 12.04
http://grosser.it/2012/04/28/a-fresh-start-with-ubuntu-precise-pangolin-12-04/
Git sudo apt-get install git
Dropbox install + start syncing
dotfiles
cd ~ && git clone git://github.com/grosser/dotfiles.git
ruby dotfiles/install.rb
Rubymine to /opt/rubymine
Command key
If you like OSx like shortcuts e.g. Cmd+T, choose "meta is mapped to left win" in advanced keyboard layout options and you can use your windows key for them.