Skip to content

Instantly share code, notes, and snippets.

View vladimir-paskov's full-sized avatar

Vladimir Paskov vladimir-paskov

View GitHub Profile
@vladimir-paskov
vladimir-paskov / webhook.php
Created February 19, 2024 07:29 — forked from erikdmitchell/webhook.php
PHP Webhook setup for STRAVA API
<?php
if (isset($_GET['hub_challenge'])) {
$data = ['hub.challenge' => $_GET['hub_challenge']];
header("HTTP/1.1 200 OK");
header('Content-Type: application/json; charset=utf-8');
echo json_encode($data);
exit;
}
@vladimir-paskov
vladimir-paskov / disable-auto-android-file-transfer.md
Created January 7, 2022 20:29 — forked from zeroseis/disable-auto-android-file-transfer.md
Disable auto start for Android File Transfer
  • Close Android File Transfer
  • Open Activity Monitor and kill “Android File Transfer Agent”
  • Go to where you installed “Android File Transfer.app” (I have it under /Applications)
  • Ctrl+click –> “Show package contents”
  • Go to Contents/Resources
  • Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
  • Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.
@vladimir-paskov
vladimir-paskov / active_installs_and_ratings.ps1
Last active November 4, 2021 20:14
Fetch installs and ratings reports from Google Play for specific app for the current month. Filter the CSV's and produce a combined report for active users on specific Android version along with total avarage rating for the OS version. How to use it and why it was created: https://paskov.vmsoft-bg.com/automating-google-play-store-reports-with-gs…
<#
Fetch installs and ratings reports from Google Play
for specific app for the current month.
Filter the CSV's and produce a combined report for
active users on specific Android version along with
total avarage rating for the OS version.
'active_installs_and_ratings.ps1' by
Vladimir Paskov (vpaskov@vmsoft-bg.com)
@vladimir-paskov
vladimir-paskov / android.txt
Created August 6, 2021 23:02 — forked from srishanbhattarai/android.txt
Android Emulator CPU/Memory high usage solution
https://stackoverflow.com/questions/37063267/high-cpu-usage-with-android-emulator-qemu-system-i386-exe
The cause of the constant CPU usage is the sound. If you do not need sound in your emulator you can disable it by editing the AVD's config file.
Change/add those two lines
hw.audioInput=no
hw.audioOutput=no
On Linux/Mac the file is located at ~/.android/avd/<AVD_Name>.avd/config.ini
On Windows the file is located at C:\Users\<username>\.android\avd\<AVD_Name>.avd\config.ini