This file contains hidden or 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
| If you want to check an APK statically, you could use | |
| aapt dump badging /path/to/apk | grep -c application-debuggable |
This file contains hidden or 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
| The following steps helps | |
| 1. Close your project, and in your project folder delete project/.idea/libraries and project/.idea/caches | |
| 2. Delete ~/.gradle folder. | |
| 3. restart it from File > Invalidate Caches/ Restart and click in the Just restart, no need to 'close' it. | |
| If still it does not work then: | |
| 1. update the library version in gradle with any random number, and sync. | |
| 2. this will show error. |
This file contains hidden or 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
| If you ever need to download an entire Web site, perhaps for off-line viewing, wget can do the jobโfor example: | |
| $ wget \ | |
| --recursive \ | |
| --no-clobber \ | |
| --page-requisites \ | |
| --html-extension \ | |
| --convert-links \ | |
| --restrict-file-names=windows \ | |
| --domains website.org \ |
This file contains hidden or 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
| Convert mov to mp4: | |
| ffmpeg -i input.mov -vcodec h264 -acodec aac -strict -2 output.mp4 | |
| Remove audio: | |
| ffmpeg -i input.mp4 -an -vcodec copy output.mp4 |
This file contains hidden or 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
| execute below commnad in terminal: | |
| gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf | |
| /screen - Lowest quality, lowest size | |
| /ebook - Moderate quality | |
| /printer - Good quality | |
| /prepress - Best quality, highest size |
This file contains hidden or 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
| convert .mov to .mp4 | |
| ffmpeg -i videoName.mov -vcodec h264 -acodec mp2 videoName.mp4 | |
| convert .mov to .webm | |
| ffmpeg -i videoName.mov -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis videoName.webm | |
| convert .mov to .ogg | |
| ffmpeg -i videoName.mov -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 videoName.ogg |
This file contains hidden or 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
| ffmpeg -i input.mp4 -vcodec h264 -b:v 1000k -acodec mp3 output2.mp4 | |
| ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
This file contains hidden or 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
| Restart network manager. | |
| sudo service network-manager restart | |
| Restart the nm applet. | |
| killall nm-applet && nm-applet & |
This file contains hidden or 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
| open terminal and cd to the folder where the png files are present and enter the below command: | |
| find -name '*.png' -print0 | xargs -0 -r mogrify -format jpg *.png | |
| if mogrify is not present then install it using: | |
| sudo apt-get install imagemagick | |
This file contains hidden or 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
| delete package-lock.json then try again |