Skip to content

Instantly share code, notes, and snippets.

@Kishanjvaghela
Kishanjvaghela / ADB command
Last active May 8, 2022 06:57
ADB command
adb shell pm disable-user --user 0 <app.name.here>
# https://forum.xda-developers.com/t/pm-uninstall-failure-delete_failed_internal_error.4344193/?msclkid=5488eb75ce9b11eca254c0b58403ab10
@Kishanjvaghela
Kishanjvaghela / FFMPEG.md
Created June 14, 2020 12:45
FFMPEG DOCS

Convert

mkv -> mp4

ffmpeg -i filename.mkv -vcodec copy -acodec copy 1.mp4

Splitter

ffmpeg -i 'input.mp4' -map 0 -codec copy -f segment -segment_time 10:00 'output%03d.mp4'

[
{
"p": "com.nemo.vidmate",
"a": "Test"
},
{
"p": "app.buzz.share",
"a": "Helo"
},
{
MEDITATION
CHINMAYA MISSION
INNER ENGINEERING
VIPASANA
ASTRAL TRAVEL
ADVACNED MEDITATION
TRIP TO HIMALAYAS (UPWARDS FROM RISHIKESH, UTARKASH< GANGOTRI< KEDARNATH<YAMUNA<GANGOTRI)
TRY MEDITATION IN HIMALAYAS
REIKI HEALING
Chinmaya Vishwavidyapeeth - https://www.cvv.ac.in/campus/pune-campus
Official Website:
upanishadganga.com
Episode list:
http://upanishadganga.com/episode-guide.php
https://clix.chinmayamission.com/product/upanishad-ganga-serial/
@Kishanjvaghela
Kishanjvaghela / start_emulator.sh
Created August 21, 2019 06:26 — forked from itmammoth/start_emulator.sh
Start an android emulator with changing DNS server to Google public DNS
#!/bin/bash
EMULATOR=~/Library/Android/sdk/tools/emulator
if [ $# -ne 1 ]; then
echo "ERROR: Please specify the target AVD from the list below" 1>&2
$EMULATOR -list-avds 1>&2
exit 1
fi
$EMULATOR -avd $1 -dns-server "8.8.8.8,8.8.4.4"
@Kishanjvaghela
Kishanjvaghela / rn-cli.config.js
Created June 20, 2019 09:55
transformer for node modules
module.exports = {
/**
* Add search paths to the packager. Equivalent to the
* `--projectRoots` command line argument.
*
* Your app project directory is the default, but you can easily add
* additional directories.
*
* This is very handy when you maintain all your software in one big
function convertToRoman(input) {
var roman = {
M: 1000,
D: 500,
C: 100,
L: 50,
X: 10,
V: 5,
I: 1
};
function *foo(x) {
console.log('x is ' + x);
const y = yield (x + 1);
console.log('y is ' + y);
var z = yield (y + 2);
console.log('z is '+ z);
return (x + y + z);
}
var it = foo( 5 );

Keybase proof

I hereby claim:

  • I am kishanjvaghela on github.
  • I am kishanjv (https://keybase.io/kishanjv) on keybase.
  • I have a public key ASB3nyeRTfEhgvPClo87yNP0zm9UbEJJ2b3_SKWJxKrplwo

To claim this, I am signing this object: