Skip to content

Instantly share code, notes, and snippets.

View ehcaning's full-sized avatar

Ehsan Seyedi ehcaning

View GitHub Profile
@devlifeX
devlifeX / RASPAP.md
Last active May 6, 2021 08:06
RaspAP Instrcutions

Follow this repo installation:

Just download Raspberry Pi OS Lite 32Bit
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

Download & Install etcher for OS Flash
https://www.balena.io/etcher/

https://github.com/RaspAP/raspap-webgui

@ehcaning
ehcaning / Singleton Database Class.php
Last active October 15, 2019 06:04
My personal DB Class (Including Singleton)
<?php
# v2.2
class dbM {
private static $pdo;
private static $instance;
private function __construct() {
}
public static function init() {
@plentz
plentz / nginx.conf
Last active June 25, 2025 06:48
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048