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
alias open="xdg-open" | |
alias ll='ls -alFh' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias vim='nvim' | |
alias reload="source ~/.bashrc" | |
alias profile="vim ~/.bashrc && source ~/.bashrc" | |
alias aliases="vim ~/.bash_aliases && source ~/.bashrc" |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'jpo/vim-railscasts-theme' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'vim-airline/vim-airline' | |
" Plugin 'vim-airline/vim-airline-themes' |
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
find . -type f -name "*rb" -exec sed -i 's/FactoryGirl/FactoryBot/' {} + |
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
Hello | |
Bonjour | |
Good-bye | |
Au revoir | |
How are you? | |
Comment ça va? | |
I'm fine, thanks. |
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
Hello | |
Olá | |
Good-bye | |
Adeus | |
How are you? | |
Como vai? | |
I'm fine, thanks. |
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
### Basics (3 main branches + Releases) | |
1. Master Branch | |
- This is the cleanest code that is ready to deploy at any time. | |
- Commits are tagged with version numbers. | |
- It lives forever. | |
2. Development Branch | |
- No development will happen here, only merges from Feature branches and Release branches. | |
- It is never merged into any other branch. | |
- Nobody will commit to this branch. Depending on the project's structure and team culture, selected individuals will merge pull requests into the Development branch. | |
- It never dies. |
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
var width = 450; | |
var height = 200; | |
var time = 750; | |
var up_right = function(){ | |
$('img').animate({marginTop: 0, marginLeft: (width - 31) / 2}, time, 'linear', down_right); | |
}; | |
var down_right = function(){ | |
$('img').animate({marginTop: height-30, marginLeft: width - 31}, time, 'linear', up_left); |
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
setwd('~/Documents/zooplankton') | |
data = read.csv("Env_x_Zoop use this data set _.csv") | |
chla = data[,3] | |
conduct = data[,4] | |
logTotal = data[,6] | |
richness = data[,7] | |
sumZoo = data[,8] | |
for(i in 9:34){sumZoo = sumZoo + data[,i]} | |
comm_conduct = data[1:13,4] | |
res_conduct = data[14:28,4] |