Skip to content

Instantly share code, notes, and snippets.

View nishantt12's full-sized avatar

Nishant Tanwar nishantt12

View GitHub Profile
public class PathSenseReceiver extends PathsenseInVehicleLocationUpdateReceiver {
@Override
protected void onInVehicleLocationUpdate(Context context, PathsenseInVehicleLocation pathsenseInVehicleLocation) {
L.e("onInVehicleLocationUpdate");
EventBus.getDefault().postSticky(pathsenseInVehicleLocation);
}
}
@nishantt12
nishantt12 / pathsense.java
Last active September 6, 2017 05:56
Receiver
//Receiver for getting location.
public class PathSenseReceiver extends PathsenseInVehicleLocationUpdateReceiver {
@Override
protected void onInVehicleLocationUpdate(Context context, PathsenseInVehicleLocation pathsenseInVehicleLocation) {
L.e("onInVehicleLocationUpdate");
EventBus.getDefault().postSticky(pathsenseInVehicleLocation);
}
}
@nishantt12
nishantt12 / instagram-web-unfollow.js
Created January 4, 2020 10:41 — forked from lifenautjoe/instagram-web-unfollow.js
Script to unfollow people in the instagram website
/**
* Instagram web unfollow script
*
* WHAT IS IT?
* A script to unfollow people in the instagram website
*
* WHY?
* I needed to clean my account so I quickly did this
*
* HOW TO USE:
{
"items": [{
"id": "foodoraX1",
"sku": "JA219AA51WPSMY",
"name": "Slim Fit Jeans",
"price": {
"current": 49.99,
"original": 79.99,
"currency": "EUR"
},