Google Chrome
Xcode
Visual Studio Code
Evernote
Dropbox
Google Drive
Docker
Spectacle
Fantastical
Postman
FileZilla
Cyberduck
Newton
SourceTree
Dash
Robomongo
Stickies
CheatSheet https://www.mediaatelier.com/CheatSheet/
Download Google Chrome
https://www.google.com/chrome/
xcode-select --install
git config --global user.name "Jorge Andrade"
git config --global user.email jorandradefig@gmail.com
git config --global color.ui true
git config --global core.editor "vim"
git remote set-url origin https://github.com/USERNAME/OTHERREPOSITORY.git
git clone --recursive https://jorandradefig@gitlab.com/databox/databox-suite.git
git submodule add git@gitlab.com:databox/hq.git
git submodule update --remote
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install zsh zsh-completions
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
chsh -s /usr/local/bin/zsh
ZSH_THEME="agnoster"
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
Terminal > Settings Tab
Click "Gear" icon
Click Import...
Select the Dracula.terminal file
Click Default
250 x 60
Roboto Mono for Powerline 12pt
curl -o ~/.vimrc https://www.dropbox.com/s/o6og56bcgzm5jpi/.vimrc\?dl\=0
brew install ctags
brew install editorconfig
brew install wget
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Launch vim and run :PluginInstall
brew update
brew install node
npm install -g n
sudo n lts
sudo npm install -g npm
npm install -g @angular/cli
ng new my-new-project --style=<scss|sass|less|stylus> --routing --skip-install
ng set --global packageManager=yarn
ng g component my-new-component
ng g directive my-new-directive
ng g pipe my-new-pipe
ng g service my-new-service
ng g module my-new-module
ng serve
ng serve -H 0.0.0.0
ng build
ng build --prod
ng build --prod --aot
npm install bootstrap@4.0.0-alpha.6 --save
npm install font-awesome --save
npm install jquery --save
npm install @types/jquery --save-dev
npm install --save lodash
npm install --save-dev @types/lodash
package.json
"start": "ng serve -H 0.0.0.0"
.angular-cli.json
"styles": [
"styles.styl",
"../node_modules/bootstrap/dist/css/bootstrap.css",
"../node_modules/font-awesome/css/font-awesome.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.js"
]
npm install --save-dev gulp gulp-pug
gulpfile.js
let path = require('path');
let gulp = require('gulp');
let pug = require('gulp-pug');
let pugFiles = './src/**/*.pug';
gulp.task('pug', () => {
gulp.src( pugFiles )
.pipe( pug().on('error', () => console.log('JADE ERROR')) )
.pipe( gulp.dest('./src') );
});
gulp.task('default', ['pug'], () => {
gulp.watch(pugFiles, ['pug']);
});
.gitignore
# HTML files
/src/**/*.html
!src/index.html
Change app.component.html
to app.component.pug
gulp pug
brew install yarn
npm install -g bower
npm install -g sails
npm install -g yo gulp-cli
npm install -g http-server
npm install -g typescript
npm install ngrok -g
brew install jq
brew install htop
brew install ctop
brew install parallel
brew install figlet
brew install git-lfs
brew cask install vagrant
brew cask install virtualbox
vagrant init ubuntu/trusty64
vagrant up --provider virtualbox
..
....
bindkey
<CTRL>+R
ls -<TAB>
gzip filename.csv
gzip -d filename.csv.gz
brew install mongodb
sudo mkdir -p /data/db
sudo chmod 0755 /data/db
sudo mongod
brew install postgresql
postgres -D /usr/local/var/postgres
initdb `brew --prefix`/var/postgres/data -E utf8
pg_ctl -D /usr/local/var/postgres/data start
psql postgres
CREATE ROLE username WITH LOGIN PASSWORD 'username';
CREATE DATABASE databasename;
GRANT ALL PRIVILEGES ON DATABASE databasename TO username;
\connect databasename
brew install python3
pip3 install pylint
pip3 install awscli
pip3 install --upgrade pip
pip3 install jupyter
pip3 install numpy scipy matplotlib pandas xlrd sympy nose scikit-learn theano tensorflow scrapy nltk seaborn bokeh networkx
jupyter notebook
jupyter nbconvert --to html mynotebook.ipynb
brew cask install xquartz
brew tap homebrew/science
brew install --with-x11 r
brew install redis
redis-server /usr/local/etc/redis.conf
redis-cli ping
https://www.docker.com/docker-mac
docker images
docker ps -a
docker logs <container id>
docker exec -it <container id> /bin/bash
curl -i localhost:49160
docker stop <container id>
docker rm <container id>
docker rmi <image id>
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker build -t <image name:tag> .
docker run --name <container name> -p 49160:4200 -d <image name:tag>
docker build -t <image name:tag> .
docker run --name <container name> -v $(pwd):/usr/src/app -p 49160:4200 -d <image name:tag> /bin/bash -c "npm install && npm start"
docker exec -it <container id> /bin/bash -c "npm install && npm start"
FROM node:boron
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app
RUN npm install
# Bundle app source
COPY . /usr/src/app
EXPOSE 4200
CMD [ "npm", "start" ]
FROM node:boron
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
npm install -g lighthouse
lighthouse https://airhorner.com/
sudo gem install cocoapods