This file contains 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
# -*- coding: utf-8 -*- | |
""" | |
Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store. | |
Referred from http://chrome-extension-downloader.com/how-does-it-work.php | |
""" | |
from __future__ import division | |
import argparse | |
import requests |
This file contains 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
#!/bin/bash | |
# | |
# Script to download apk file from Google Play a.k.a Android Market. | |
# Accepts package name or Google Play URL as input. | |
# Files are download from apk-dl.com | |
# author : Arul (@arulrajnet) | |
# | |
APK_DL_URL="http://apk-dl.com/store/apps/details?id=%s" | |
PACKAGE_NAME="" |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Verify the given mail id is valid or not without sending mail. Verifying the email id directly from mail exchange server. | |
""" | |
import argparse | |
import smtplib | |
import dns.resolver |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
class Color(object): | |
""" | |
reference from https://gist.github.com/Jossef/0ee20314577925b4027f and modified bit. | |
""" | |
def __init__(self, text, **user_styles): |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from collections import namedtuple | |
import json | |
try: | |
from urllib.request import Request, urlopen | |
except ImportError: # python 2 | |
from urllib2 import Request, urlopen |
This file contains 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
#!/usr/bin/env python3 | |
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter | |
from functools import partial | |
from http.server import HTTPServer, SimpleHTTPRequestHandler | |
import os | |
import sys | |
def log(*value, sep=' ', end='\n', file=sys.stdout, flush=False): | |
print(*value, sep=sep, end=end, file=file, flush=flush) |
This file contains 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
#! /usr/bin/env python3 | |
from flask import Flask, request | |
# Need python 3.7+ | |
from contextvars import ContextVar | |
import logging | |
request_id_context = ContextVar("request_id") | |
# Flask app | |
app = Flask(__name__) |
This file contains 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
let listOfCategories = [ | |
{ | |
"id": 4, | |
"name": "JavaScript", | |
"namespace": "/1/2" | |
}, | |
{ | |
"id": 1, | |
"name": "Development", | |
"namespace": "/" |
This file contains 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
அங்கு | |
அங்கே | |
அடுத்த | |
அதற்கு | |
அதனால் | |
அதன் | |
அதிக | |
அதில் | |
அது | |
அதே |
NewerOlder