Skip to content

Instantly share code, notes, and snippets.

View DearDhruv's full-sized avatar
👨‍💻
Making lives better for Apps & Commerce

Dhruv Patel DearDhruv

👨‍💻
Making lives better for Apps & Commerce
View GitHub Profile

Bittorrent uTorrent disable ads

Turn off ALL Ads/Featured Content/Bundle Crap in Utorrent/Bittorrent:

Options > Preferences > Advanced... Turn ALL settings to false:

  • bt.enable_pulse
  • distributed_share.enable
  • gui.show_notorrents_node
  • offers.left_rail_offer_enabled
@DearDhruv
DearDhruv / MacroBenchmark.log
Created June 15, 2021 10:06
MacroBenchmark failure log.
deard@Sage MINGW64 /h/Android-Projects/DearDhruv/performance-samples/MacrobenchmarkSample (main)
$ ./gradlew :macrobenchmark:connectedCheck --stacktrace
> Configure project :macrobenchmark
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
> Task :macrobenchmark:connectedReleaseAndroidTest
Starting 7 tests on GM1911 - 11
@DearDhruv
DearDhruv / RealPathUtil.java
Created November 19, 2018 10:02 — forked from skfaisal93/RealPathUtil.java
Real Path Utility class for Android, works for all API, also handle NumberFormatException for API 28
import android.annotation.SuppressLint;
import android.content.ContentUris;
import android.content.Context;
import android.content.CursorLoader;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provider.MediaStore;
@DearDhruv
DearDhruv / smartgit.desktop
Created January 23, 2017 10:32 — forked from alefteris/smartgit.desktop
Smartgit desktop file for use with Ubuntu Unity launcher
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
StartupNotify=true
Name=Smartgit
Exec=env SMARTGIT_JAVA_HOME=/opt/apps/jre7/ /opt/apps/smartgit/bin/smartgit.sh
Icon=/opt/apps/smartgit/bin/smartgit-64.png