Skip to content

Instantly share code, notes, and snippets.

@mhamrah
mhamrah / readme.md
Last active July 24, 2018 19:31
dotnet commands cheat sheet

Add a package to a project

dotnet add <PROJECT PATH> package <NUGET PACKAGE> project path is optional

Add a reference to an existing project

dotnet add <PROJECT PATH> reference <REFERENCE PROJECT PATH> project path is optional

Add a project to a solution

dotnet sln add

@mhamrah
mhamrah / README.md
Last active August 20, 2018 21:44
WSL Setup
@mhamrah
mhamrah / DellXPS13_9360
Created September 22, 2019 02:20
Minimal instructions for installing arch linux on a DELL XPS 13 9360 - UEFI, Toshiba 512GB NVMe SSD, with full system encryption using dm-crypt and luks
# Reference:
# https://wiki.archlinux.org/index.php/installation_guide
# https://github.com/variadico/xpslinux
# https://gist.github.com/njam/85ab2771b40ccc7ddcef878eb82a0fe9
# https://gist.github.com/brammitch/281e9a2f3aca57ae4a333fc63732f602
# https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
# http://www.bhartiya.io/always-updated-arch-linux-tutorial/30411
# Set a bigger font size on the arch usb bootup shell
# Setfont sun12x22
rootdir: protorepo
sources:
- grpckit/accounts # non-proto entries will be searched for proto files, and named relative to root dir.
- grpckit/books/books.proto # you can specify specific files ending with .proto
output: gen # gen is the default output directory (should be gitignored)
plugins:
- name: go # the name of the plugin will be suffixed with _out, i.e. go_out.
args: paths=source_relative # args will be passed in to the plugin flag
- name: validate
args: lang=go