Skip to content

Instantly share code, notes, and snippets.

@codedreality
codedreality / ConditionalHintPaths.csproj
Created Aug 22, 2013
Change reference HintPath if local lib directory exists otherwise use solution lib directory.
View ConditionalHintPaths.csproj
<Choose>
<When Condition="Exists('$(MSBuildProjectDirectory)\Libs')">
<PropertyGroup>
<HintPathRef>.\Libs</HintPathRef>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<HintPathRef>..\..\Build\$(Configuration)\Libs</HintPathRef>
</PropertyGroup>
@codedreality
codedreality / Arch-ZFSRoot-on-dm-crypt-UEFI
Last active Nov 2, 2019
ZFSRoot installation over a dm-crypt volume for Arch Linux (UEFI)
View Arch-ZFSRoot-on-dm-crypt-UEFI
# arch uefi dm-crypt zfsroot install (archiso)
# partition disk
# start at 1MB (sector 2048)
512Mib EFI
512Mib Boot
Rest ZFS
#setup encrypted partition
cryptsetup luksFormat -l 512 -c aes-xts-plain64 -h sha512 /dev/disk/by-partuuid/<uid>
View github_worklow.markdown

This guide describes the workflow to contribute to <projectname>:

Do's and Dont's

  • Don't work on the master branch. Work on a single topic branch, which is related to a single issue.
  • Don't merge your changes to the master branch. Rebase your topic branch on top of the upstream master/develop branch just before your start your pull request.
  • Don't rebase published/non private commits. All published/non private commits should be merged, this is although true if someone else forks of your branch.
  • Don't merge your pull request. Get all changes from the merged upstream master/develop branch
  • Squash your commits. Just before you push your branch to your fork for pull requesting, squash your commits so they have only the most important information in the log messages.

Step By Step

Setup your fork