This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from urllib import urlencode | |
import requests | |
from urlparse import urlparse, parse_qs | |
from random import choice | |
import re | |
self_id = None # your facebook id here | |
utc_bday = None # utc timestamp of your birthday |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### I am no Bash expert, I just googled and put this script together | |
#### Be free to fork and post updates to this gist | |
#### Also, you can change the username and email below for the django superuser | |
DEFAULT_USER="dhruv" | |
DEFAULT_EMAIL="[email protected]" | |
DEFAULT_PASS="d" | |
function usage | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### I am no Bash expert, I just googled and put this script together | |
#### Be free to fork and post updates to this gist | |
#### Also, you can change the username and email below for the django superuser | |
DEFAULT_USER="admin" | |
DEFAULT_EMAIL="[email protected]" | |
DEFAULT_PASS="pass" | |
function usage | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request_dict = {} | |
for key, value in json_decoded_dict.iteritems(): | |
try: | |
request_dict[key] = json.loads(value) | |
except: | |
request_dict[key] = value | |
return request_dict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
import time | |
import tweepy | |
import os | |
# Twitter Bot Credentials | |
# Refer on https://dev.twitter.com | |
consumer_key = '' | |
consumer_secret = '' | |
access_token = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTML> | |
<HEAD> | |
<TITLE>TEST</TITLE> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
function run() { | |
link = 'http://ajay-pc/nisarg/my_ajay/node/1.json'; | |
$.ajax({ | |
url: link, | |
dataType: 'json', |
NewerOlder