Skip to content

Instantly share code, notes, and snippets.

Jonathan Dumont JOduMonT

Block or report user

Report or block JOduMonT

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JOduMonT
JOduMonT / gb2gib.md
Last active Apr 10, 2019
How to have xGIB when you install Debian and it ask your for xGB ?
View gb2gib.md

simply be using this

EXAMPLE

such as during the installation Debian use GB unit
while after the installation it will refer to GiB
so if you want 5GiB for /
you have to define 5.37GB during the installation

@JOduMonT
JOduMonT / hexo.sh
Created Apr 4, 2019
Install Hexo on Debian
View hexo.sh
#!/bin/bash
namePkg="nodejs"
nodejsVersion="10"
workDir="$HOME/Public"
## Install Node.js
if [ -z $(command -v git) ] || [ -z $(command -v nodejs) ]; then
if [ "$EUID" == 0 ]; then
curl -sL https://deb.nodesource.com/setup_$nodejsVersion.x | bash -
@JOduMonT
JOduMonT / Photon OS note for Hetzner and IPv6.md
Last active Dec 3, 2019
How to configure IPv6 for networkd at Hetzner
View Photon OS note for Hetzner and IPv6.md

create /etc/systemd/network/static.network

remove /etc/systemd/network/99-dhcp-en.network

echo -e "[Match]
Name=e*

[Network]
DHCP=ipv4
@JOduMonT
JOduMonT / letsencrypt_notes.sh
Last active Apr 2, 2019 — forked from lachesis/letsencrypt_notes.sh
Set up LetsEncrypt using acme.sh without root
View letsencrypt_notes.sh
# How to use "acme.sh" to set up Lets Encrypt without root permissions
# See https://github.com/Neilpang/acme.sh for more
# This assumes that your website has a webroot at "/var/www/<domain>"
# I'll use the domain "EXAMPLE.com" as an example
# When this is done, there will be an "acme" user that handles issuing,
# updating, and installing certificates. This account will have the following
# (fairly minimal) permissions:
# - Host files at http://EXAMPLE.com/.well-known/acme-challenge
View Alpine Linux for Hetzner and IPv6
# setup-interface
than vi /etc/network/interfaces
iface eth0 inet static
address
netmask 255.255.255.255
dns-nameservers 1.1.1.1 1.0.0.1
post-up ip route add 172.31.1.1 dev eth0
post-up ip route add default via 172.31.1.1 dev eth0
pre-down ip route del default via 172.31.1.1 dev eth0
pre-down ip route del 172.31.1.1 dev eth0
View keybase.md

Keybase proof

I hereby claim:

  • I am jodumont on github.
  • I am jodumont (https://keybase.io/jodumont) on keybase.
  • I have a public key whose fingerprint is FC70 8FF8 5572 8F02 B2EF 2C51 2365 2BB3 BDA4 6A2A

To claim this, I am signing this object:

You can’t perform that action at this time.