Skip to content

Instantly share code, notes, and snippets.

@PavelVsl
PavelVsl / BirthNumber.cs
Created May 6, 2021 07:42 — forked from mishak87/BirthNumber.cs
C# class for simple checking of birth number validity with some useful parameters. C# třída pro práci a validaci rodného čísla s pár užitečnými parametry.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Runtime.Serialization;
namespace net.mishak.utils
{
@PavelVsl
PavelVsl / generate-ssh-key.sh
Created August 7, 2020 08:53 — forked from grenade/01-generate-ed25519-ssh-key.sh
Correct file permissions for ssh keys and config.
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa