This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is redash? | |
Redash is database viewer included BI tool inside. Redash has support for querying multiple databases, including: Redshift, Google BigQuery, PostgreSQL, MySQL, Graphite, Presto, Google Spreadsheets, Cloudera Impala, Hive and custom scripts. | |
Prerequisite : | |
1. Install docker | |
2. Install git | |
git clone https://github.com/getredash/redash.git | |
docker-compose -f docker-compose.production.yml run --rm server create_db | |
docker-compose -f docker-compose.production.yml up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trying to install PPA behind firewall fails: | |
$ sudo add-apt-repository ppa:chris-lea/node.js | |
gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com | |
gpgkeys: HTTP fetch error 7: couldn't connect to host | |
gpg: no valid OpenPGP data found. | |
gpg: Total number processed: 0 | |
recv failed | |
# this is how you get around it (use the key from the command above) | |
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C7917B12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Automatic reloading of .vimrc | |
autocmd! bufwritepost ~/.vimrc source % | |
" Show whitespace | |
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red | |
au InsertLeave * match ExtraWhitespace /\s\+$/ | |
filetype off | |
filetype plugin indent on | |
syntax on |
NewerOlder