This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get a list of all the packages | |
adb shell pm list packages | |
Get the location for the app | |
adb shell pm path com.example.someapp | |
Download all the apks | |
adb pull /path/apk1 . | |
adb pull /path/apk2 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modifing the APK | |
This instructions are for mac | |
Make sure you have java installed and you can access it from the terminal. | |
Head to apktool website and download the apktool jar and apktool.sh | |
https://ibotpeaches.github.io/Apktool/install/ | |
Rename the jar to apktool.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//class | |
var package = function (packageName, originLatitude, originLongitude, | |
destinationLatitude, destinationLongitude) { | |
return { | |
packageName : packageName, | |
origin : { type : "Point", coordinates: [originLatitude, originLongitude]}, | |
destination : { type : "Point", coordinates: [destinationLatitude, destinationLongitude]} | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select column_name, count(column_name) | |
from table | |
group by column_name | |
having count (column_name) > 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * | |
FROM (SELECT R.*, ROWNUM RNUM, COUNT(*) OVER () RESULT_COUNT | |
FROM (SELECT i.ITEM_CODE, i.ITEM_NAME | |
FROM TBL_ITEMS i) R) | |
WHERE RNUM between 0 and 9 ; |