Github

I will use a single repository for either the Angular SPA and the c# Web API.

[Read More]

Multiple SSH Keys

Managing multiple SSH keys for Github and Visual Studio Online

After generating a new key for my Visual Studio Online code repository I have to tell git which key to use for each connection.

Create a file in ~/.ssh/config

Add the following content

# Uncomment to enable debugging.
# Levels are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3.
# LogLevel DEBUG

Host ssh.dev.azure.com
    IdentityFile ~/.ssh/id_rsa_visualstudio

Host vs-ssh.visualstudio.com
    IdentityFile ~/.ssh/id_rsa_visualstudio

Host github.com
    IdentityFile ~/.ssh/id_rsa_github

# tell ssh-agent to not try keys
Host *
    IdentitiesOnly yes

Hugo Configure a Site Part 3

Custom domain Github custom domain Offical instructions Go to the repository containing the site and move to the Settings panel. gabrieleteotino settings Github settings tab Scroll down to GitHub Pages section find Custom Domain and insert or modify the domain “www.teosoft.it” and click Save Github custom domain DNS configuration Open the control panel of the site registar. Open the DNS section. [Read More]

Configure a site using Hugo - part 2

Creating the bluish capsule using Hugo, Atom and Github

Structure We are going to create the following folders one for each area of the site. /content/page - static pages like About and so on /content/post - a section with articles and turorials /content/project - will contain a subfolder for each project /content/review - review of products bough online from amazon, aliexpress, … /content/note - small snippets of stuff like links to a nice library or an interesting article Create an index page for each section of the site. [Read More]

Configure a site using Hugo - part 1

Creating the bluish capsule using Hugo, Atom and Github

Using Hugo for this website A step by step description on how the bluish capsule was born. Installing Hugo Detailed instructions are available at the official Hugo site Download the deb package from Hugo Releases sudo dpkg -i hugo_0.36.1_Linux-64bit.deb Test if everithing works hugo version Atom Plugins Nice autocomplete for hugo shortodes language-hugo For example typing youtube and hitting tab the following snippet will be generated: \{\{< youtube id class="" >\}\} Some key combination for common Hugo activities atom-hugo [Read More]