Skip to content

Instantly share code, notes, and snippets.

View David7ce's full-sized avatar

David7ce David7ce

View GitHub Profile


I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).


Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
David7ce /
Created November 9, 2023 14:39

Author: Keyitdev
Source: Keyitdev/notes
Last edited on: 9 Sep 2023

KVM, QEMU and Virt Manager installation on Arch Linux

Install packages

sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode
David7ce / github-dg-actions.yml
Created November 6, 2023 18:52
Deploy Digital Garden to GitHub Pages with this workflow
name: GH Pages
branches: [ "main" ]
branches: [ "main" ]
David7ce / ahorcado.cs
Created September 19, 2023 21:27 — forked from MartinAngeloni/ahorcado.cs
Simulando el juego del ahorcado en c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AhorcadoPalabras;
namespace ahorcadoString
David7ce /
Created September 12, 2023 16:09 — forked from jarehec/
## UNLICENSE file for license information
# Misc checks
if [ $(id -u) -ne 0 ]
echo "This script needs root to work." # It really does. We're installing packages.
exit 1
David7ce / snake-game.html
Created August 29, 2023 02:19
Snake game in JS
<!DOCTYPE html>
#g {
background: black;
margin: auto;
display: block;
David7ce / remove blank lines
Created April 10, 2023 02:30 — forked from fomightez/remove blank lines
remove all blank lines using regular expressions
David7ce /
Created January 25, 2023 00:13 — forked from lmmx/
OPML to HTML bookmarks file converter, via
#!/usr/bin/perl -w
#, (c) Jeremy Zawodny --
# Updated by Michael Radwin (
# on Dec 26th, 2003 to include image size attributes and link
# titles.
# You may distribute this code freely. It's not rocket science.