To publish a book on Amazon, it seems that using its "native" tool Kindle Create would be a good idea. However, once your book is created in this tool, it is rather difficult to share a "soft copy" of this book for reviewers. Fortunately, there is a way to do so (thanks to this post) using two pieces of free software, to be precise, a reader and a plugin. The reader is Calibre while the plugin is KFX Input plugin. Before going to Calibre, create a .kpf file in Kindle Create using the "Generate" function. After Calibre is installed, simply use "Preference > Plugins" to specify the downloaded plugin zip file. Then you can add your kpf file and then "Convert book." Choose your desired formats, e.g. PDF, DOCX or EPUB. At this point you can also add a cover image which will be the first page of your output.
Friday, April 01, 2022
Wednesday, March 16, 2022
More Videos on Chromecast Google TV
I think I bought the Amazon FireTV in 2018 to replace my old Chromecast and after 3.5 years of services, it became a brick all of a sudden. Kodi has been great on the FireTV but it's not perfect. So it's time to try out the latest Chromecast Google TV, which is very much like the FireTV on which I can install apps like this. Of course external APK is always tricky on an Android system.
First, the old instructions for the older Chromecast Google TV (i.e., those before the "Sky Blue" version) for turning on the Developers option no longer works. Now you need to download an app called "Developers Tool" from Google's App store first (thanks to reddit) Then go to Settings->App->Security to allow installing APK from unknown source.
Second, install "Send Files to TV" app on both your phone and Chromecast Google TV. Use your phone to download the APK you want (like the one mentioned above) and send to Chromecast Google TV (thanks to this post)
Third, install a File Manager (like the one from the previous link)
Finally you can open the APK in the File Manager and install it!
Wednesday, September 29, 2021
More videos on Fire TV
This is a follow-up to my post when I just bought the Fire TV stick. The app has of course become out-dated after 3 years but it's actually quite easy to update to the latest version thanks to this guide. However, the update would break some add-ons that relies on Python 2. Fortunately, the broken add-on was fixed. Here are the instructions for installing this fixed version. And this is for taking advantage of the availability of Python 3.
Wednesday, May 22, 2019
Friday, July 20, 2018
RSS Video feed on Fire TV
Friday, October 03, 2008
SSH to your iPhone without password
On the host that you mount iPhone's filesystem, execute:
ssh-keygen -t rsa
which generates a public and a private key. The former is ~/.ssh/id_rsa.pub
On your iPhone
1) create a ~/.ssh directory and copy the above public key over. Name it as .ssh/authorized_key.
2) Uncomment the following line in your /etc/ssh/sshd_config:
AuthorizedKeysFile .ssh/authorized_keys
Now you could ssh (and thus sshfs) to your iPhone without password.
Friday, September 05, 2008
Turn off Google Chrome auto-suggest
How to read .docx?
The long answer is to install a converter. (Microsoft provided one but I haven't tried) After you install this converter on Windows, simply double-click the .docx file on your computer and the converter will automatically convert it to OpenOffice.org's format (.odt) and open it in OpenOffice.org Writer.
Friday, August 22, 2008
iPhone Offline Browsing Step 4: httrack
httrack URL-of-the-site-to-mirror -O /mnt/iphone/
Once httrack finished, you could open: http://localhost from your mobile Safari to browse those pages. Don't forget to bookmark it!
iPhone Offline Browsing Step 3: sshfs
Once SSHFS is installed, create a mount point (an empty directory) which you will use to refer to your remote directory (the one on iPhone) e.g. /mnt/iphone
Then execute:
sshfs root@
BTW, to "disconnect" (more precisely, unmount), simply:
fusermount -u /mnt/iphone
iPhone Offline Browsing Step 2: lighttpd
1) it's not a featured app so you have to search for it
2) it requires a minimal amount of config (to understand the config, check its wiki. Otherwise you could always cut-and-paste)
3) it requires creating some directories if your iPhone is "virgin"
4) it requires a setup step (add a plist file) to make it start everytime you boot up the phone.
The directories I created are:
- /var/mobile/Sites: directory that stores your local HTML files
- /var/log/lighttpd: directory for log files
- /usr/etc: directory for config files
Basically I followed the steps by this poster except I cut-and-pasted the /usr/etc/lighttpd.conf from this poster in the same thread.
iPhone Offline Browsing Step 1: OpenSSH
Once you have OpenSSH installed on your phone, you could connect to your phone from another host using SSH.
I easily found OpenSSH under the Featured App section in Cydia (an iPhone app that helps you to install other Apps. You can think of it as the "unofficial" App Store.)
Once it's installed, it runs in the background automatically. There is no icon for OpenSSH and no need to config it.
iPhone Offline Browsing Step 0: Jailbreak
Some info that you might find helpful:
1) QuickPwn is supposed to work with 2.0, 2.0.1 or 2.0.2 firmware. Mine is 2.0.1 so I have no experience with the other ones.
2) QuickPwn needs your ipsw from Apple. I found it under "C:\Documents and Settings\
3) The real "action" happens inside the command-line window launched by the GUI. Just follow its instructions which involve turning your phone off and then back on (with a special sequence/combo of key pressing) It might sound weird but don't be scared.
Disclaimer: I am not encouraging anyone to jailbreak their phone and you have to understand that QuickPwn is beta software. I am not responsible for any potential damage done to your phone.
iPhone Offline Browsing
Step 0: Jailbreak your iPhone
Step 1: Install OpenSSH
Step 2: Install lighttpd
Step 3: sshfs to mount your iPhone to a PC
Step 4: HTTRACK to archive a your favourite website thru the sshfs mount
BTW, after all these is done, my iPhone could finally match my good old WinMo PDA in terms of offline browsing functionality.
Thursday, August 21, 2008
If your iPhone App refuses to launch......
This is so tricky that it doesn't sound like a plausible solution but apparently other users have figured this out too so it's probably legit.
Monday, August 18, 2008
Olympics and Globalization
And by now we are used to the many gymnasts, table tennis and badminton players who were trained in China and play for other countries.
Finally, the arguably biggest name in Chinese volleyball, Jenny Lang Ping, is coaching the American team.
For those who still don't believe in globalization, it's time to turn off the TV (and radio, internet...)
Wednesday, August 13, 2008
Where to find the geotags?
Wednesday, August 06, 2008
Apple helps fighting recession?
I found that out by plugging my old iPod FM transmitter/charger into my iPhone and it warns that it won't charge. So I googled and confirmed that charging thru the "Firewire" pin is no longer supported (only the "USB" pin works) and you will be surprised to see how many accessories out there uses the Firewire pin (perhaps a relic from the 1st gen iPod. Anyone remember it? It WAS the reason people putting Firewire on their PC!)
Fortunately my old charger was a gift but I feel bad for those who spent $200+ moding their car for iPhone and found that their 3G won't charge (Ridax "saved" the day for them, sort of)
Apple is indeed the best friend of the iAccessory industry. Not so much for the iUsers. And I'm surprised so few people are complaining. I see a lot of posters in various forums simply accept this fact, move on and buy brand new accessories all over again. That should be good for the economy, right?
Tuesday, August 05, 2008
Firmware 2.0.1 is out
The microphone is a button!
It's obvious that I could use the "Software" buttons (i.e., the one on the touch screen) What is not so obvious is that the microphone on the hands-free is THE button for both (1) and (2). (Thanks to this post by Matt Ryall)