Skip to content

Instantly share code, notes, and snippets.

View Manjit2003's full-sized avatar
🇮🇳
Bhartiya

Manjit Pardeshi Manjit2003

🇮🇳
Bhartiya
View GitHub Profile
@Manjit2003
Manjit2003 / rwas.py
Created April 25, 2020 15:07 — forked from erickdsama/rwas.py
Class to read and write messages to Whatsapp through of the ADB. You need a android Device with Sqlite3 installed and ADB service.
# coding=utf-8
import json
import time
from subprocess import check_output, CalledProcessError
class WHO:
FROM_ME = "key_from_me == 1"
OTHERS = "key_from_me != 1"
ALL = ""
@Manjit2003
Manjit2003 / gist:2768b531714b97e575c5dff8524c1405
Created October 20, 2019 15:55 — forked from JT5D/gist:a2fdfefa80124a06f5a9
Google translate language codes
Eg. URL translating en page to es
http://translate.google.com/translate?hl=en&sl=en&tl=es&u=http://about.com
Define the web interface language to be English by adding
hl=en to the end of the URL and after the change the URL will look
like this:
http://www.google.com/search?hl=en
When you use more than one setting code in the URL, you need to use