Find the Yesterday

On GNU/Linux platform finding the particular date from current date is a no brainer task. For example: Yesterday: date –date=’yesterday’ Nextday: date –date=’next day’ OR date –date=’tomorrow’ Other Tricks: date –date=’10 year’ date –date=’10 year ago’ date –date=’this sunday’ But on Solaris, you don’t have this luxury. So you can use the following trick: TZ=GMT+24Continue reading “Find the Yesterday”

Android Udev Rules

Linux Udev rule file to interface Android Hardware for Application/System development. # Acer 0502 SUBSYSTEM==”usb”, ATTR{idVendor}==”0502″, MODE=”0666″, GROUP=”plugdev” # ASUS 0b05 SUBSYSTEM==”usb”, ATTR{idVendor}==”0b05″, MODE=”0666″, GROUP=”plugdev” # Dell 413c SUBSYSTEM==”usb”, ATTR{idVendor}==”413c”, MODE=”0666″, GROUP=”plugdev” # Foxconn 0489 SUBSYSTEM==”usb”, ATTR{idVendor}==”0489″, MODE=”0666″, GROUP=”plugdev” # Fujitsu 04c5 # Fujitsu Toshiba 04c5 SUBSYSTEM==”usb”, ATTR{idVendor}==”04c5″, MODE=”0666″, GROUP=”plugdev” # Garmin-Asus 091e SUBSYSTEM==”usb”, ATTR{idVendor}==”091e”,Continue reading “Android Udev Rules”