Skip to content

Instantly share code, notes, and snippets.

@jslim89
jslim89 / ig-scraper.py
Last active April 13, 2018 03:39 — forked from marcoqu/scraper.py
The instagram internal api
import time
import re
from hashlib import md5
import requests
INSTAGRAM_URL = "https://www.instagram.com"
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
INSTAGRAM_USER = "youruname"
INSTAGRAM_PASS = "yoursecret"
@jslim89
jslim89 / 01_Laravel 5 Simple ACL manager_Readme.md
Created October 27, 2015 02:51 — forked from amochohan/01_Laravel 5 Simple ACL manager_Readme.md
Laravel 5 Simple ACL - Protect routes by an account / role type

#Laravel 5 Simple ACL manager

Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.

If the user has a 'Root' role, then they can perform any actions.

Installation

Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php