Skip to content

Instantly share code, notes, and snippets.

View matale's full-sized avatar

Roman Mbwasi matale

View GitHub Profile
@matale
matale / CrashlyticsOkHttpInterceptor.kt
Created April 7, 2023 03:23
Crashlytics Logging Interceptor for OkHttp when you cant figure out where that error is comming from
import com.google.firebase.crashlytics.FirebaseCrashlytics
import okhttp3.Interceptor
import okhttp3.Request
import okhttp3.Response
import okio.Buffer
import java.io.IOException
/*
Log HTTP requests to Crashlytics.
Note you need to be mindful of logging sensitive info.
@matale
matale / delete_linkedin_saved_jobs.js
Created March 28, 2021 11:01
Script to help automatically delete Saved Jobs on LinkedIn, LinkedIn only allows you to delete 1 job at a time which is a problem when you have hundreds of saved jobs.
// Open Chrome. Not tested on other browsers but should work ¯\_(ツ)_/¯.
// Go to https://www.linkedin.com/my-items/saved-jobs/
// Make sure Saved and not Applied is selected.
// Open the Chrome Dev Tools by hitting F12 on your keyboard.
// Go to Console tab.
// Paste this script in the space bellow after the little > symbol.
// Hit Enter.
// The jobs will start to be deleted 1 by 1 after a 5 sec pause.
// Leave the window open but you can do something else while it does it's thing.
// If it gets tripped up just start over.