Skip to content

Instantly share code, notes, and snippets.

docker network create service-net
docker run -d --name elasticsearch --net service-net -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.5.1
docker run -d --name kibana --net service-net -p 5601:5601 kibana:7.5.1
docker run -d --name mongo --net service-net -p 27017:27017 mongo
docker run -d --name mongo-express --net service-net -p 8081:8081 mongo-express
docker run -d --name postgres --net service-net -p 5432:5432 postgres
docker run -d --name adminer --net service-net -p 8080:8080 adminer
docker run -d --name redis --net service-net -p 6379:6379 redis
docker run -d --name firestore-emulator --net service-net -e "FIRESTORE_PROJECT_ID=project-test" -p 8282:8080 pathmotion/firestore-emulator-docker
docker run -d --name minio --net service-net 9000:9000 minio/minio server /data
pip3 install pipenv
#Installing Jupyter notebook in pipenv
pyenv install 3.6.6
mkdir -p ~/projects/jupyter
cd ~/projects/jupyter
pipenv --python ~/.pyenv/versions/3.6.6/bin/python
pipenv install tensorflow scikit-learn keras matplotlib pandas plotly jupyter statsmodels xgboost
npm install -g yarn
npm install -g pure-prompt
{
"code-runner.runInTerminal": true,
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Cobalt2",
"editor.fontSize": 12,
"editor.formatOnSave": true,
"files.autoSaveDelay": 10000,
"files.autoSave": "afterDelay",
"python.pythonPath": "${workspaceFolder}/venv/bin/python",
"python.linting.enabled": true,
code --install-extension ecmel.vscode-html-css
code --install-extension felixfbecker.php-debug
code --install-extension felixfbecker.php-intellisense
code --install-extension formulahendry.code-runner
code --install-extension k--kato.intellij-idea-keybindings
code --install-extension mikestead.dotenv
code --install-extension mrmlnc.vscode-apache
code --install-extension ms-python.python
code --install-extension ms-vscode.Go
code --install-extension PeterJausovec.vscode-docker
@ddelizia
ddelizia / Brewfile
Last active January 25, 2021 12:40
Brewfile
brew 'graphviz'
brew 'htop'
brew 'ctop'
brew 'wget'
brew 'go'
brew 'pyenv'
brew 'ngrok'
brew 'helm'
brew 'cdktf'
brew 'minikube'
alias brewup='brew update; brew upgrade; brew prune; brew cleanup; brew doctor'
export JREBEL_HOME=/Applications/jrebel
export LC_ALL=es_ES.UTF-8
export LANG=es_ES.UTF-8
alias ccat='pygmentize -g'
alias hosts='cat /etc/hosts'
alias mysshkey='pbcopy < ~/.ssh/id_rsa.pub'
alias jupyter='cd ~/projects/jupyter;pipenv run jupyter notebook'
@ddelizia
ddelizia / php_setup.sh
Last active August 6, 2018 16:19
Installing php on mac osx and homebrew
xcode-select --install
echo '****Installing Apache httpd'
brew install httpd
echo '****Installing Php 5.6 and 7.2'
brew install [email protected]
brew install [email protected]
echo '****Installing mariadb'
@ddelizia
ddelizia / httpd.conf
Created August 5, 2018 17:15
My httpd configuration with php installed
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
'use strict';
angular.module('vcrudSign', ['vcrudSignService', 'vcrudSignDirective', 'angular-growl'])
.controller('registerFormCtrl', ['$scope', 'growl', function($scope, growl) {
$scope.submit = function() {
if (!$scope.registerForm.$valid){
growl.addErrorMessage('Error in form',{ttl: 5000});
}
$scope.$broadcast('validateFormEvent');
};