Skip to main content

Posts

Updating Ubuntu Server Date And Time Using Terminal or Command

Update the Date and Time in Ubuntu Operating System using commands. Command  sudo date  nnddhhmmyyyy.ss Description for Command nn is a two digit month, between 01 to 12. dd is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying. hh is two digit hour, using the 24-hour period so it is between 00 and 23. mm is two digit minute, between 00 and 59. yyyy is the year; it can be two digit or four digit: your choice. I prefer to use four digit years whenever I can for better clarity and less confusion. ss is two digit seconds. Notice the period ‘.’ before the ss. Example Let’s say you want to set your computer’s new time to December 6, 2013, 22:43:55, then you would use: sudo date 120622432013.55

Micromax Canvas 4 A210 Specification and Features

Micromax launching a new smartphone Canvas 4 A210 after the huge the success of Micromax Canvas HD and its about to launch on 8 July 2013 in Delhi, India. Features Display : 16M Colors, 5.5 inch touchscreen RAM : 2 GB  Processor : 2 GHZ Quad- Core Cortex A7  Camera : 13 MP back camera with auto focusing , face & smile detection with dual-LED Flash and Also includes Geo-Tagging & Image stabilization and  Front camera with 3.2 MP  Android : Jelly Bean 4.1.2 Specification Networks Connectivity : 2G/3G/4G LTE Video Recording with 1080p at 30 fps. Graphics: PowerVR Series 5XT Internal Memory: 8 GB (Expandable through MicroSD Card upto 64 GB) Wireless connectivity: Bluetooth v4.0 with A2DP, Wi-Fi 802.11 a/b/g/n NFC: Yes Wi-Fi Especial features: Wi-Fi Hotspot, Dual-Band Connectivity: 3.5 mm headphone jack, USB 2.0 Battery: Li-Ion, 3000 mAh Sensors: Barometer, Proximity, gyro sensors, Accelerometer

No Response - Galaxy Tab Screen Hanging

I am unable to do anything with my galaxy tab. Multiple tasks were running and my galaxy tab was stopped responding to my input. I pressed power button and volume button and nothing work out for me. Even i can't take out battery do restart. What to do in this kind of situation ? Hold the power button for a long time until your device restarted. That's it now your device is started and you can enjoy ...

Skype is not rotating the screen

I have installed skype apps in my tablet and its not rotating based on the sensor and its same for most of the tablets but the application works fine in android mobile devices. Solution to rotate screen in Tablet's Go to settings > View > Change from  Tablet view to Classic view. Restart your application and it will work fine.

Image compression using java

There are no specific API is available for compressing the images. Supported format files are JPG (Joint Photography Experts Group) and PNG (Portable Network Graphics) Download Jar (Java Archive) which is developed by Java Query API Create a instance using ImageResize Class and using that object call the method compressImage Sample ImageResize ir = new ImageResize();  ir.compressImage("Source Location", "Destination ", width, height); String Parameter: Source Location and Destination Integer Parameter: width and height Parameters Description: ·          1 st Parameter : Source Location , Example c:\\demo\\image.jpg ·          2 nd Parameter : if you mention “default” then it will compress the original image and if you mention the destination location then it will create a new compressed image ·          3 rd Parameter  ...

Remove The Word From Android Keyboard Suggestion

When you type something on android keyboard then android system automatically saved the entered text word for suggesting these words next time when you just begin with few character. You can do with setting to enable or disable auto saving feature but how you will delete a particular word? Here is the image of suggesting the words when i start typing the “an” keyword I need to delete the “anwered” from the suggestion So hold your finger on “anwered” from some seconds automatically a popup will appear with Remove confirmation and you click the ok button to remove the keyword from already saved words that you entered.

Google Web Toolkit Local Storage

Learn how you can implement the local storage using Google web tool kit. Local storage helps you to keep the data on client machine or end user machine but never use an important data on local storage because local storage is not a secure storage. Creating an instance using Storage class and also checking whether the browser supports local storage or not using getLocalStorageIfSupported() method. Storage stockStore = Storage.getLocalStorageIfSupported(); Insert the data using setItem() method , fetch data using getItem() method and clear the local storage data using clear() method. stockStore.setItem(String key, String data); stockStore.getItem(String key); stockStore.clear();} Set Item has two parameters, one is key and another one is data. Key is used to maintain the index and data is the parameter where we can save the string which is needed in other place. Example :- stockStore.setItem(“userName”,”demo”); stockStore.setItem(“companyName”, ...