create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| # | |
| # Requires a nerdfont compatible font to display properly | |
| # | |
| # https://github.com/ryanoasis/nerd-fonts | |
| # | |
| # | |
| function last_two_dir { | |
| # if we're at ~/ just display ~ | |
| if [ $PWD = $HOME ]; then | |
| echo '%c' |
| c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c | |
| c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o |
| # Install Oracle Java 8 | |
| apt-get install software-properties-common | |
| add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" && apt-get update | |
| apt-get install oracle-java8-installer | |
| # Installing Dependencies | |
| apt-get update | |
| apt-get upgrade | |
| apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev curl zlib1g-dev |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| #!/bin/bash | |
| ## Install FFMPEG 2.8.6 Ubuntu 16.04 64Bits | |
| ## http://www.linuxpro.com.br/2017/04/compile-ffmpeg-nvenc-ubuntu/ | |
| ## Pacote Compilado no GITHUB: https://github.com/jniltinho/oficinadotux | |
| ## Run as root (sudo su) | |
| ## Check Nvidia ENC | |
| ## nvidia-smi dmon -i 0 | |
| ## Test FFMPEG ENCODER NVENC (FFMPEG 2.8.6 NVIDIA-SDK 6.0.1) |
| #!/bin/sh | |
| # Make sure to: | |
| # 1) Name this file `backup.sh` and place it in /home/ubuntu | |
| # 2) Run sudo apt-get install awscli to install the AWSCLI | |
| # 3) Run aws configure (enter s3-authorized IAM user and specify region) | |
| # 4) Fill in DB host + name | |
| # 5) Create S3 bucket for the backups and fill it in below (set a lifecycle rule to expire files older than X days in the bucket) | |
| # 6) Run chmod +x backup.sh | |
| # 7) Test it out via ./backup.sh |
| [alias] | |
| co = checkout | |
| pd = push origin develop | |
| st = -p status | |
| cm = commit | |
| w = whatchanged | |
| last = cat-file commit HEAD | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| lgfile = ! git log --pretty=format: --name-only --since='2 days ago' | sort | uniq | |
| ls = show --pretty="format:" --name-only |