Skip to content

Instantly share code, notes, and snippets.

View anuj-rajput's full-sized avatar
👨‍💻
NSNerd

Anuj Rajput anuj-rajput

👨‍💻
NSNerd
View GitHub Profile
@anuj-rajput
anuj-rajput / README.md
Last active August 8, 2016 14:18 — forked from bloudermilk/README.md
Facebook Page Categories

All of the categories!

I wrote a really simple JavaScript script that uses jQuery to extract all the categories from Facebook's "Create a page" page.

Instructions

  1. Navigate to the Create a page page.
  2. Open up your JavaScript console of choice and run the following script:
@anuj-rajput
anuj-rajput / .htaccess
Last active August 29, 2015 14:15
CodeIgniter .htaccess Rewrite URL Config
<IfModule mod_rewrite.c>
RewriteEngine On
# !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
# slashes.
# If your page resides at
# http://www.example.com/mypage/test1
# then use
# RewriteBase /mypage/test1/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f