choose a job you love & you will never have 2 work a day in your life

Category: Tech

Delete Data on Sony Smart Sensor

I shared my racket with Sony Smart Sensor with a friend yesterday and got my data mixed up with his. While trying to delete partial data, I found the following:

  • You can delete data only of a particular date, not partial data based on shots or time within a single date
  • To delete data, press and hold the date in the app and select delete from the popup menu
  • The data will be immediately deleted from your smartphone/tablet and Sony server if connected to internet
  • The data will NOT be deleted from sensor if the sensor was disconnected from your device at time of deletion. The same data will be imported back when you synchronize the Sensor with the App. In order to delete from the sensor as well, make sure that the sensor is connected to the app while deleting.

 

This applies to the following version:

  • Application Version: 1.1.2
  • Sensor Version 1.0.2

Smart Tennis Gear

After experimenting with tennis for a couple of weeks on beginners racket, my coach told me that I will get at least 25% improvement in game by getting a better racket. While searching for suitable racket on forums, I found this Sony Smart Sensor that works in couple of compatible rackets of selected manufacturers.

Based on availability, reviews and other playing preferences, I decided to go with Prince 107T racket that was compatible with Sony Smart Sensor.

The feel and crispy sound of new racket felt great on first day of play. The sensor generated lots of data in 30 minutes of playing. I can’t make sense of data at this time, but hopefully it will give trends in longer run and hint the flaws and improvements in the game.

I used the sensor with iPhone and iPad and it was quite easy to setup through its app.

Prince 107T Sony Smart Sensor

Prince 107T Sony Smart Sensor

Prince 107T Sony Smart Sensor

Prince 107T Sony Smart Sensor

Prince 107T Sony Smart Sensor

Prince 107T Sony Smart Sensor

Backup All mysql Databases in Plesk

After painful many years of server migrations for clients, finally found a single line script online for dumping all databases. I made a minor modification for Plesk so that it can take the encrypted password from Plesk and pass it to mysql.

It finds all the databases in your Plesk install and dumps them each into individual gzipped file.

for I in $(mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e 'show databases' -s --skip-column-names); do mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` $I | gzip > "$I.sql.gz"; done

Useful rsync parameters

Rsync is an extremely intelligent and useful command for copying files between systems and it can resume or repair corrupted downloads as well.

Sharing some commands for my own reference:

Download Consecutive Numbered Files in OSX

Use the following command on terminal to download multiple consecutive numbered files in Apple Mac OSX and other Linux/Unix platforms:

Powered by WordPress & Theme by Anders Norén