Skip to content

Instantly share code, notes, and snippets.

Avatar

Watheq Alshowaiter WatheqAlshowaiter

View GitHub Profile
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 = [
"2009",
"2010",
"2011",
@WatheqAlshowaiter
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]
</IfModule>