Simple script epub to mobi
Here is simple script in bash to covert epub to mobi. #!/bin/bash clear; for entry in *.epub; do ebook-convert "$entry" "$entry.mobi" done
Here is simple script in bash to covert epub to mobi. #!/bin/bash clear; for entry in *.epub; do ebook-convert "$entry" "$entry.mobi" done
In case You had problem with: Error:Could not find com.android.tools.build:gradle:2.2.0. Searched in the following locations: https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.pom https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0/gradle-2.2.0.jar Required by: :YOUR_PROJECT:unspecified Don't forget modify root build.gradle and add jcenter() It would…
It might be good example especially for billing api IAP for Android. public void waitTillAsyncFinishOrTimeout(int tries=3, long spanTime=1000){ boolean success = false; boolean inProgress = true; AnyTask provider = new…
https://layer13.net/browse - nfo engine https://zooqle.com/ - t search engine https://www.seedr.cc/files - cloud engine
Just an example how use commits count value as a build number of app. buildscript { //... } repositories { //... } def cmd = 'git rev-list --all --count' def…
#/bin/sh # Inpiration: http://engineeringblog.yelp.com/2016/05/yelp-android-app-went-on-a-diet.html # `-lossless` not used to give support for Android 4.0+ # Make sure cwebp is installed. if ! type "cwebp" > /dev/null; then echo "Please install…
Webp is a library we use at EverythingMe Launcher since we love webp. We use it to save bandwidth as well as shrinking our APK sizes. Webp is an adaptation…
Immediately Invoked Functions-JSFiddle http://jsfiddle.net/ Remove Duplicate Lines http://textmechanic.com/Remove-Duplicate-Lines.html Codota-Find great android API usage examples http://android.codota.com/ CC Search http://search.creativecommons.org/ Google Translate http://translate.google.com/ Online XML entity decoder|Coder's Toolbox http://coderstoolbox.net/string/#!encoding=xml&action=decode&charset=us_ascii RegExr:Learn,Build,&Test RegEx http://www.regexr.com/…
//run dialog fragment in fragment Fragment fragmentByTag = getFragmentManager().findFragmentByTag(DownloadDialogFragment.TAG); if (fragmentByTag == null) { CustomDialog customDialog = new CustomDialog(); customDialog.setTargetFragment(currentFragment, REQUEST_DOWNLOAD_FRAGMENT); customDialog.show(getFragmentManager(), CustomDialog.TAG); } //in dialog, init result to onActivityResult…
activity_main.xml <progressbar android:id="@+id/progressBar" style="?android:progressBarStyleHorizontal" android:layout_width="match_parent" android:layout_height="1dp" android:layout_margin="0dp" android:max="100" android:padding="0dp" tools:progress="40" android:progressDrawable="@drawable/progress_drawable" app:layout_collapseMode="pin"/> MainActivity.java ProgressBar mProgressBar = (ProgressBar) findViewById(R.id.progressBar); //somewhere when scrollin mRecyclerView.addOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrolled(RecyclerView recyclerView, int…