Friday, June 28, 2013

Extend / Save Battery Life of iPhone 5

1. Reduce Screen Brightness via Settings->Brightness & Wallpaper
2. Turn Off Bluetooth via Settings->Bluetooth->Off
3. Turn Off LTE via Settings->General->Cellular->Enable LTE->Off
4. Turn Off Wi-Fi via Setting->Wi-Fi->Off
5. Turn Off Data Push via Settings->Mail, Contacts & Calendar->Fetch New Data->Push->Off
6. Turn On Auto-Brightness via Settings->Brightness & Wallpaper->Auto Brightness->On
7. Turn Off Location Service via Settings->Privacy->Location Services->Off
8. Reduce Mail Fetch via Settings->Mail, Contacts & Calendar->Fetch New Data
9. Reduce Auto-Lock period via Settings->General->Auto-Lock->1 Minute
10. Disable Unnecessary Notifications via Settings->Notifications
11. Disable Vibrations via Settings->Sounds
12. Disable Siri via Settings->Siri->Off
13. Turn Off Equalizer via Settings->Music->EQ->Off
14. Close unused App via Double Tap Home Button. Close App by pressing icon for a short period and tapping the red close icon beside the App.

Wednesday, June 26, 2013

Download Eclipse Kepler with Friends of Eclipse login

Goto http://download.eclipse.org/eclipse/downloads/

Find the Latest Stable version (not RC) i.e. Eclipse version 4.3

Tuesday, June 25, 2013

Make iPhone look like iOS 7

1. Must be Jailbreaked
2. Must have Cydia
3. Install Winterboard
4. Install iOS 7 Theme (pw5a29)
5. From Winterboard, enable iOS 7 theme
6. Install BytaFont
7. Open BytaFont, select iOS 7 font
8. From Cydia, Add Repo Source http://rpetri.ch/reposetup/
9. Install DeepEnd
10. Install NCSettings, enable via Settings->Notifications
11. Install BlurredNCBackground
12. Install iOS 7 Control Toggle Theme
13. From Winterboard, enable iOS 7 Control Toggle
14. From NCSettings, enable iOS 7 Control Toggle theme
15. Install NCMusicGestures

Tuesday, June 11, 2013

Default PATH for Windows 7

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Saturday, June 8, 2013

Sandbox HDP ERROR during Pig script tutorial - org.apache.pig.tools.grunt.Grunt – ERROR 1070: Could not resolve org.apache.hcatalog.pig.HCatLoader

Error:
ERROR org.apache.pig.tools.grunt.Grunt – ERROR 1070: Could not resolve org.apache.hcatalog.pig.HCatLoader using imports: [, org.apache.pig.builtin., org.apache.pig.impl.builtin.]

Resolution:
1. Login to sandbox as root.
2. vi /usr/bin/pig
3. Replace the last line with the following line:
exec /usr/lib/pig/bin/pig -useHCatalog “$@”

Thursday, May 23, 2013

Install Oracle GlassFish 3.1.2.2 on Mac OS X 10.7 or later

#Update Java from Apple Software Update, currently its version Java 6

#Set JAVA_HOME depending on current java version installed
vi ~/.bash_profile

export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
 
#or
#export JAVA_HOME=`/usr/libexec/java_home -v 1.7` 

# Download Oracle GlassFish 3.1.2

# Add executable permission to run GlassFish
chmod +x ./ogs-3.1.2.2-unix.sh
 
# Run Installer 
sh ./ogs-3.1.2.2-unix.sh