To change the white circular icon:
source
gimp /usr/share/unity-greeter/unknown_badge.png
save as
/usr/share/unity-greeter/custom_SESSIONNAME_badge.png
gimp /usr/share/unity-greeter/unknown_badge.png
/usr/share/unity-greeter/custom_SESSIONNAME_badge.png
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
<?php
phpinfo();
?>
sudo mv /var/www /var/www-backup
sudo ln -s /home/username/Sites /var/www
// Inversion of bin2hex()
/*
function hex2bin($hex_string)
{
// preg_match : Avoid warning : pack(): Type H: illegal hex digit ...
// (string) : Always treat as string (not int etc). See BugTrack2/31
return preg_match('/^[0-9a-f]+$/i', $hex_string) ?
pack('H*', (string)$hex_string) : $hex_string;
}
*/
array_walk($args, 'plugin_ls2_check_arg', & $params);
array_walk($args, 'plugin_ls2_check_arg', $params);
& new
to new
chmod 666 *
chown username:username *
find /home/user/Dropbox/ -name '*pdf' -mtime -2 | xargs tar -rf ttt.tar; gzip ttt.tar
sudo updatedb
gnome-settings-daemon&
sleep 1; xmodmap ~/.Xmodmap
if [ -f ~/.Xmodmap ] ; then
xmodmap ~/.Xmodmap
fi
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
sudo apt-get install ibus-anthy
ibus-setup
ibus-daemon&