Skip to content

Instantly share code, notes, and snippets.

View MartinsOnuoha's full-sized avatar
πŸ”§
Tooling.

Martins Onuoha MartinsOnuoha

πŸ”§
Tooling.
View GitHub Profile
@nemtsov
nemtsov / passport-auth-with-reset.js
Last active April 10, 2024 23:47
Passport auth with password reset
const crypto = require('crypto');
const { promisify } = require('util');
const express = require('express');
const asyncify = require('express-asyncify');
const session = require('express-session');
const createFileStore = require('session-file-store');
const nodemailer = require('nodemailer');
const nodemailerSendgrid = require('nodemailer-sendgrid');
const bodyParser = require('body-parser');
const pass = require('passport');
@MartinsOnuoha
MartinsOnuoha / webdev_online_resources.md
Created July 16, 2018 16:02 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@Prezens
Prezens / gist:f99fd28124b5557eb16816229391afee
Created April 2, 2019 07:40
Apache .htaccess settings for Vue, vue-router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations
@cmod
cmod / hugofastsearch.md
Last active July 30, 2025 21:21 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
Vue.js 15 hrs 3 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 47.7%
TypeScript 9 hrs 7 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 28.9%
SCSS 5 hrs 16 mins β–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 16.7%
GraphQL 46 mins β–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 2.4%
XML 36 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%