Skip to content

Instantly share code, notes, and snippets.

View vesarautiainen's full-sized avatar

Vesa Rautiainen vesarautiainen

View GitHub Profile
@vesarautiainen
vesarautiainen / private_fork.md
Created October 9, 2020 07:59 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@vesarautiainen
vesarautiainen / buttonreflowsnippet.xaml
Last active November 28, 2019 08:08
WPF right aligned button reflow
<Border HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="8" BorderBrush="Black" BorderThickness="2">
<Grid ShowGridLines="True">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>