Skip to content

Instantly share code, notes, and snippets.

View anis016's full-sized avatar

Sayed Anisul Hoque anis016

View GitHub Profile
'''
Grabbing current tweets using python's tweepy module
'''
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
import logging
# get the twitter keys from https://dev.twitter.com/
ckey = ***
@amochohan
amochohan / 01_Laravel 5 Simple ACL manager_Readme.md
Last active March 21, 2025 14:47
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

@lepistone
lepistone / odoo8_sale_confirm_pseudocode.py
Last active October 30, 2015 12:58
Odoo 8: what happens when you confirm a Sale Order (pseudocode)
# This is pseudocode.
#
# I copied and simplified some of the code that gets run when you validate a
# Sale Order in Odoo 8.
#
# More or less, a procurement is created, copying the Route from the order line
# if it has been specified.
#
# Then the procurement is immediately run, and a choice is made on the rule to
# use.
@msurguy
msurguy / List.md
Last active November 17, 2024 16:29
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

@markalanevans
markalanevans / hiring_developers
Last active March 18, 2017 22:04
Job Hiring Boards
Coding:
http://jobs.readwriteweb.com/
http://noodleyard.com/
http://angel.co/jobs
http://startuply.com/
http://jobs.37signals.com/
http://www.dice.com/
http://jobs.github.com/
http://www.craigslist.org
http://news.ycombinator.com/jobs