Skip to content

Instantly share code, notes, and snippets.

View ekpono's full-sized avatar
💭
Bugs keep us humble

Ambrose ekpono

💭
Bugs keep us humble
  • Fullstack Developer
  • United Kingdom
  • X @ekpono11
View GitHub Profile
@ngustavo
ngustavo / models-index.js
Last active March 15, 2024 14:36
Sequelize ES6 model loader for sqlite
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
import Sequelize from 'sequelize';
const models = {};
const filename = fileURLToPath(import.meta.url);
const dirname = path.dirname(filename);
const basename = path.basename(filename);
@GhazanfarMir
GhazanfarMir / Instructions.sh
Last active May 14, 2024 03:26
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@drafie
drafie / .env
Last active November 22, 2022 17:19
Lumen Mail Amazon SES AWS
# Mail
MAIL_DRIVER: 'ses'
SES_KEY: 'xxxxxxxxxxxxxx'
SES_SECRET: 'xxxxxxxxxxxxxxxxxxxxx'
SES_REGION: 'xxxxxxxxxxxxxxxx'