Skip to content

Instantly share code, notes, and snippets.

View reeshabhranjan's full-sized avatar
👀
Hello, traveler!

Reeshabh Kumar Ranjan reeshabhranjan

👀
Hello, traveler!
  • India
  • 01:41 (UTC +05:30)
View GitHub Profile
#!/usr/bin/env python3
# Simple TCP proxy server
#
# This script can be used to route traffic from one host to another.
#
# Example:
# proxy.py 127.0.0.1 8080 example.org 80
#
# Running the command above will start a TCP server listening on 127.0.0.1:8080.
@santoshpy
santoshpy / .gitignore
Last active February 6, 2024 23:52
gitignore file for django project
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
@qihnus
qihnus / RecorderService.java
Created February 25, 2012 17:23
a minimalist example of Android accessibility service
import android.accessibilityservice.AccessibilityService;
import android.accessibilityservice.AccessibilityServiceInfo;
import android.util.Log;
import android.view.accessibility.AccessibilityEvent;
public class RecorderService extends AccessibilityService {
static final String TAG = "RecorderService";
private String getEventType(AccessibilityEvent event) {