Skip to content

Instantly share code, notes, and snippets.


Watheq Alshowaiter WatheqAlshowaiter

View GitHub Profile
WatheqAlshowaiter / .htaccess
Created Apr 1, 2020
this is my nginx.conf / valet.conf/ .htaccess / files:
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
#Prevent Indexing
Options +FollowSymLinks -Indexes
#Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
View it-scoop.js
const cheerio = require("cheerio");
const { readFileSync, writeFileSync } = require("fs");
const fs = require("fs");
var TurndownService = require("turndown");
const path = require("path");
const years = [