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
public class work | |
{ | |
public virtual employer employer { get; set; } | |
public virtual position position { get; set; } | |
public virtual string start_date { get; set; } | |
public virtual string end_date { get; set; } | |
} | |
public class employer | |
{ |
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 merge='git checkout master;git merge dev; git checkout dev' | |
#alias rebase='git checkout master;git pull origin master;git checkout dev;git rebase master' | |
#alias rebmerge='rebase; merge' | |
#alias pushmaster='git checkout master; git push origin master; git checkout dev' | |
#alias mpm='merge; pushmaster;' | |
#alias rmpm='rebmerge; pushmaster;' | |
alias l='git log' | |
alias s='git s' | |
alias d='git d' | |
alias av='git av' |
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
public class GlobalFiltersConvention : IFilterConvention | |
{ | |
public void ApplyConvention(IFilterRegistration filterRegistration) | |
{ | |
filterRegistration.WithFilter<AuthenticationFilter>(Apply | |
.ForArea<ContentAreaRegistration>() | |
.AndForArea<HiddenAreaRegistration>() | |
.AndForArea<MetadataAreaRegistration>() | |
.AndFor<HomeController>() | |
.AndFor<EditorController>() |
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
echo 'Copying attachment files into .attachments folder' | |
cp attachments/* .attachments/ | |
echo 'Updating attachment links' | |
find . -type f -name "*.md" -print0 | xargs -0 sed -i 's/(attachments\//(\/\.attachments\//g' |