Ako zrýchliť Android vypnutím animácií

Pokiaľ vlastníte mobil či tablet s androidom a máte pocit, že je pomalý, môže vám aspoň trošku pomôcť nasledovný návod na vypnutie animácii. Tým, že sa nebude systém zaoberať ich vykreslovaním, dojde k zrýchleniu odozvy telefónu. Samozrejme nie je to všeliek, ale mne osobne toto malé zlepšenie vyhovuje. Tento návod som skúšal na troch telefonoch,… Continue reading

Eclipse soup_session_feature_detach problem

PROBLEM – ERROR: C  [libsoup-2.4.so.1+0x6dab1]  soup_session_feature_detach+0x11 in open JDK – Eclipse SOLUTION: edit eclipse.ini file and add “-Dorg.eclipse.swt.browser.DefaultType=mozilla” to end of it

Linux bash custom command alias

You can do it globally for all users by editing edit /etc/bashrc as sudo or only for you by editing /home/username/.bashrc This is easy example. I just need short command to “jump” to folder with web pages. Open bashrc file and add new line alias html=’cd /home/grex/www/’ now reload bashrc profile with command . ~/.bashrc and… Continue reading

Fedora (Linux) tomcat-juli problem

In case of problem: Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory To work it around, you need to add the tomcat-juli.jar to the run configuration class path. Here are the steps how to do it: 1. In Eclipse, Open the “Server” tab. 2. Double click on the “Tomcat6” entry to see the configuration. 3. Then click on… Continue reading

WordPress – removing version info

By default wordpress shows version in meta tags. f.e. <meta name=”generator” content=”WordPress 4.4.2” />   How to turn off: Go to your template directory and find functions.php add this line remove_action(‘wp_head’, ‘wp_generator’); Tadaaa

BASE64decode String in java

Input is base64 encoded string private String decodeBase64(String sInput){ String sReturn = “”;         BASE64Decoder decoder = new BASE64Decoder();         try {           byte[] decodedBytes = decoder.decodeBuffer(sInput);           sReturn = new String(decodedBytes);         } catch (IOException e) {… Continue reading