Skip to content

Instantly share code, notes, and snippets.

View afidegnum's full-sized avatar

KOKOU AFIDEGNON afidegnum

  • FlashTHub
View GitHub Profile
@afidegnum
afidegnum / ajenti-v-php7.3.sh
Created August 21, 2021 02:47 — forked from shmidtelson/ajenti-v-php7.3.sh
Ubuntu Nginx Web Server with Ajenti with PHP 7.3
#Insall Ajenti ubuntu 18.04
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
# install python imaging
apt upgrade
apt-get install python-pillow
cd ~
wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb
@afidegnum
afidegnum / ajenti-v-php7.sh
Created August 21, 2021 02:47 — forked from kn9/ajenti-v-php7.sh
Ubuntu Nginx Web Server with Ajenti with PHP 7.0
#Insall Ajenti
apt-get update
wget http://repo.ajenti.org/debian/key -O- | apt-key add -
echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" >> /etc/apt/sources.list
apt-get update
apt-get install ajenti -y
service ajenti restart
# Uninstall Apache2
sudo apt-get autoremove && sudo apt-get remove apache2* -y
@afidegnum
afidegnum / it-ebooks.md
Created July 30, 2021 01:35 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
@afidegnum
afidegnum / archinstall.md
Last active January 3, 2021 13:11 — forked from lynx570/archinstall.md
Windows 10 and Arch Linux dual boot with UEFI

Arch Linux installation (Windows 10 dual boot)

Convert Partition from MBR to GPT

Before starting, make sure you have a backup, and make sure to have a linux live boot ready to rescue your system. It's easy to mess this up!

Use gdisk to convert the partition table to GPT.c
```
    gdisk /dev/sda
@afidegnum
afidegnum / destructuring.md
Created June 6, 2020 15:27 — forked from yang-wei/destructuring.md
Elm Destructuring (or Pattern Matching) cheatsheet

Should be work with 0.18

Destructuring(or pattern matching) is a way used to extract data from a data structure(tuple, list, record) that mirros the construction. Compare to other languages, Elm support much less destructuring but let's see what it got !

Tuple

myTuple = ("A", "B", "C")
myNestedTuple = ("A", "B", "C", ("X", "Y", "Z"))
PostgreSQL Type PostgreSQL Size Description Range Diesel Type Rust Type
Nullable Types nullable Nullable``