- color scheme
- dracula - https://draculatheme.com/
- tmux
- terminal
- vim
- using plug (vim), tpm (tmux), and a json file for windows terminal
- dracula - https://draculatheme.com/
- terminal
- i use bash, you can use zsh, its all mostly applicable
- fuzzy learning cd: https://github.com/rupa/z
- z proj, takes you to /some/deep/directory/project
This file contains hidden or 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
func TestNoProjects(t *testing.T) { | |
db := Setup(t) | |
pr := &GormProjectRepository{DB: db} | |
// Don't add any projects | |
// Test | |
allProjects := GetProjects(pr) | |
if len(allProjects) > 0 { | |
t.Errorf("Shouldn't have any projects, but got: %+v\n", allProjects) |
This file contains hidden or 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
" Minimal vim config | |
" ============================================================================= | |
filetype plugin indent on | |
" ============================================================================= | |
" = Plugin Manager = | |
" ============================================================================= | |
" Use any plugin manager here |
Let's say contributor
has submitted a pull request to your (author
) project (repo
). They have made changes on their
branch feature
and have proposed to merge this into origin/master
, where
origin -> https://github.com/author/repo.git
Now say you would like to make commits to their PR and push those changes. First, add their fork as a remote called
This file contains hidden or 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
<div class="levels"> | |
{{ $groups := .LevelGroups }} | |
{{ $groupedLevels := .Levels }} | |
{{ $completeLevels := .CompleteLevels }} | |
{{ if $groupedLevels }} | |
{{ range $group := $groups }} | |
<div class="intro"><h2>{{$group}}</h2></div> | |
{{ range index $groupedLevels $group }} | |
<a href="/level/{{.Number}}" class="{{if index $completeLevels .Number}}complete{{end}}"> | |
<span class="level">{{.Number}} </span> |