Create static blog with LoveIt theme A res1 Prerequisites We will need Hugo tool versions above 0.62.0. Create new site To create new hugo site use command: Install LoveIt theme git submodule add https://github.com/dillonzq/LoveIt.git themes/LoveIt Configure default theme In the config.toml file add : theme = “LoveIt” Create new blog article Command : hugo new posts/first_post.md Launching the blog website hugo serve Goto http://localhost:1313
Add Nuget library to project dotnet add [PROJECT_NAME] package [NUGET_PACKAGE] example: dotnet add Bisaga.Web package Newtonsoft.Json Add project to solution dotnet sln [SOLUTION_NAME] add [PROJECT_NAME]
I have apple keyboard and default layout is not good enough. The less and greater character appear on the wrong key, by default there are on the key above left tab key but I need them down on the second key in the second row, just before “y” character. This change is from the Ubuntu 18.04 version. Open keyboard definition for my country (si) from the /usr/share/X11/xkb/symbols folder. sudo gedit /usr/share/X11/xkb/symbols/si
Install Grive2 Detailed instructions here. sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install grive The first run to establish a connection and authenticate mkdir GoogleDrive cd GoogleDrive grive -a Grive -a will give you url to enable access to google drive, returned private key must be copied back to the terminal. To sync manually you execute “grive” command in the GoogleDrive folder: grive Enable Grive2 auto sync - better use without it
Ubuntu 18.04 , 19.04 Dotnet Sdk 3.0 release installation Install it directly from the software repository. Mono Remove all versions of mono completely from the system, vscode & omnisharp comes with the mono included, the incorrect version on the system will interfere with the embedded runtime and will not work correctly. igorb@desktop:~$ mono –version Command ‘mono’ not found, but can be installed with: sudo apt install mono-runtime VSCode installation Download VSCode and install it.
Correct way is to create ASP.NET Core Web Application and in the second step select “Razor Class Library” project template. If you create Standard or AspNet.Core library directly then your project file will not contain correct setup for razor component source generation, but you can easily correct this manually: The correct .csproj file structure of razor library project _Imports.razor file Imports razor file can contain any number of statements (usually centralized using statements).