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.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 / 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 / main.rs
Last active October 11, 2021 16:32
lifetime issue
// pub mod comps;
// use comps::hello::*;
use sycamore::prelude::*;
use sycamore_router::{HistoryIntegration, Route, Router, RouterProps};
use wasm_bindgen_futures::*;
#[derive(Route)]
enum Routes {
#[to("/")]
@afidegnum
afidegnum / main.rs
Created October 12, 2021 10:59
values not fetched from routes
// pub mod comps;
// use comps::hello::*;
use sycamore::context::{use_context, ContextProvider, ContextProviderProps};
use sycamore::prelude::*;
use sycamore_router::{HistoryIntegration, Route, Router, RouterProps};
use wasm_bindgen_futures::*;
#[derive(Clone)]
struct InputTxt(Signal<String>);
generated Aug 04, 2023 12:42:06
system Debian GNU/Linux 11 (bullseye) Linux 5.15.90.1-microsoft-standard-WSL2
x86_64 x
emacs 28.2 ~/.emacs.d/
doom 3.0.0-pre PROFILE=_@0 HEAD -> master 90b1b221f 2023-07-26 23:31:38 +0200
~/.doom.d/
shell /bin/bash
features CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK
JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF