Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ramkumar realramkumar

🏠
Working from home
View GitHub Profile
@realramkumar
realramkumar / Request$Builder.smali
Created Feb 14, 2020
Medium APK mod to spoof twitter redirection
View Request$Builder.smali
# virtual methods
.method public build()Lokhttp3/Request;
# Inject start
iget-object v2, p0, Lokhttp3/Request$Builder;->headers:Lokhttp3/Headers$Builder;
const-string/jumbo v0, "Referer"
const-string/jumbo v1, "https://t.co/aGHzBCkJRg"
View Keybase.md

Keybase proof

I hereby claim:

  • I am realramkumar on github.
  • I am realramkumar (https://keybase.io/realramkumar) on keybase.
  • I have a public key ASDRGnosdzRRaSI32reAxCe1W-ogGNGZrDsuHncoHsLzywo

To claim this, I am signing this object:

@realramkumar
realramkumar / cgpa.awk
Created Jul 7, 2018
AWK script to calculate GPA and CGPA
View cgpa.awk
BEGIN {
tgrades = 0;
tcredits = 0;
grades = 0;
credits = 0;
sem = 1;
}
NF==0 {
printf "GPA %d: %.2f\n", sem, grades/credits;