Skip to content

Instantly share code, notes, and snippets.

View arulrajnet's full-sized avatar

Arul arulrajnet

View GitHub Profile
@arulrajnet
arulrajnet / apkdl.sh
Last active December 13, 2023 20:33
Script to download apk file from Google Play a.k.a Android Market.
#!/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=""
@arulrajnet
arulrajnet / LoggerExample.java
Last active August 29, 2015 14:07
SLF4J with logback. Configuration, pom and example file to catch your dependencies logs also. Different log file for to catch error only
package com.github.gist;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class LoggerExample {
public static void main(String[] args) {
Logger log = LoggerFactory.getLogger(LoggerExample.class);
log.debug("You are in main");
}
}
@arulrajnet
arulrajnet / TutsplusVideoDownloader.py
Created October 2, 2014 09:47
Script to download course videos from https://tutsplus.com
from bs4 import BeautifulSoup
from lxml import html
from urllib2 import urlopen, Request, HTTPError, URLError
import urllib2
import urllib
import urlparse
import json
import os
__author__ = 'arul'
@arulrajnet
arulrajnet / BabycenterFLVDownloader.py
Last active August 29, 2015 14:06
Simple Python downloader Babycenter Labour classes / child birth classes videos from http://www.babycenter.com/childbirth-class
__author__ = 'arul'
"""
Baby center child birth video classes downloader
"""
def download_file(__url__):
import urllib2
try:
__content__ = urllib2.urlopen(__url__).read()
@arulrajnet
arulrajnet / Url2Image.py
Created April 27, 2014 04:50
Generate image of the webpage by just passing the url to this python program.
import sys
import time
import argparse
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
__author__ = 'Arul'
class ImageOption():