1. Open Konsole Terminal
2. Type
cd /usr/bin/3. Press Tab -> Switch to ASCII
hexedit vlc
4. Press Ctrl+ S -> Search "geteuid"
Modify to "getppid"5. Press Ctrl+ X -> Save
cd /usr/bin/3. Press Tab -> Switch to ASCII
hexedit vlc
Modify to "getppid"5. Press Ctrl+ X -> Save
if (typeof String.prototype.startsWith != 'function') {
String.prototype.startsWith = function (str){
return this.slice(0, str.length) == str;
};
}
if (typeof String.prototype.endsWith != 'function') {
String.prototype.endsWith = function (str){
return this.slice(-str.length) == str;
};
}
Then use it:"Starts with JavaScript".startsWith("Starts"); // true
var foo= "Ends with JavaScript";
var bar= "JavaScript";
foo.startsWith(bar); // true
Please start Google Chrome as a normal user. To run as root, you must specify an alternate --user-data-dir for storage of profile information.
cd /opt/google/chrome/
hexedit chrome
root@bt:~# apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla root@bt:~# rm -f /usr/lib/firefox/plugins/*flash* root@bt:~# rm -f /usr/lib/firefox-addons/plugins/*flash* root@bt:~# rm -f /usr/lib/mozilla/plugins/*flash* root@bt:~# rm -f ~/.mozilla/plugins/*flash*so root@bt:~# rm -rfd /usr/lib/nspluginwrapper
root@bt:~# tar xvfz flashplayer10_2_p3_64bit_linux_111710.tar.gz root@bt:~# chown root:root libflashplayer.so root@bt:~# chmod 644 libflashplayer.so root@bt:~# cp -f libflashplayer.so /usr/lib/mozilla/plugins/ root@bt:~# rm -rf libflashplayer.so root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/
root@bt:~# tar xvfz install_flash_player_10_linux.tar.gz root@bt:~# mkdir ~/.mozilla/plugins root@bt:~# mv -f libflashplayer.so ~/.mozilla/plugins/ root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox-addons/plugins/ root@bt:~# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/xulrunner-addons/plugins/