Drupal: Add XML Sitemap

get XML sitemap module for your Drupal
http://drupal.org/project/xmlsitemap - XML sitemap

/admin/build/modules
enable
XML sitemap
XML sitemap node

/admin/settings/xmlsitemap/settings
Advanced settings

/admin/content/node-type/page?destination=admin%2Fsettings%2Fxmlsitemap%2Fsettings
XML sitemap
Inclusion:
Included

/admin/content/node-type/webform?destination=admin%2Fsettings%2Fxmlsitemap%2Fsettings
XML sitemap
Inclusion:
Included

/admin/settings/xmlsitemap/rebuild

Drupal: Add Google +1 Button

get Google Plus One module for your Drupal
http://drupal.org/project/google_plusone

/admin/build/modules
enable
Google Plus One +1

/admin/settings/google-plusone
Display the button on these content types:
enable
Page

Display the button in these view modes::
enable
Full node

Include count?:
No

Size:
select
Small (15px)

Optional wrapper with CSS:
margin: 4px 4px 14px 14px;float:right

/admin/user/permissions
google_plusone module
view google plusone
enable
anonymous user
authenticated user

Install DVD decryption library script

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.libdvdcss.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Other method:
sudo apt-get install ubuntu-restricted-extras
sudo /usr/share/doc/libdvdread4/install-css.sh

Links
http://download.videolan.org/pub/libdvdcss/

Install Gimp from Ubuntu PPA

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.gimp.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Ansible
https://github.com/panticz/ansible/tree/master/roles/gimp
- hosts: localhost
roles:
- gimp

# OPTIONAL: enable single window mode
Menu Window > check "Single window mode"

# Links
https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn - Matt Walker Gimp PPA repository
http://www.webupd8.org/2009/08/how-to-install-gimp-27-in-ubuntu-jaunty.html
ftp://ftp.gimp.org/pub/gimp/v2.7/

Install SQL developer

Get Oracle SQL Developer package
1. go to Homepage: http://www.oracle.com/technology/software/products/sql/index.html
2. accept the licence
3. login
4. download "Oracle SQL Developer for other platforms"

#http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-4.1.0.18.37-no-jre.zip
http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-17.4.1.054.0712-no-jre.zip

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.sqldeveloper.sh";
echo "wget $URL-qO - | bash -s /tmp/sqldeveloper-17.4.1.054.0712-no-jre.zip";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

# reduced memory usage
sed -i 's|-Xmx640M|-Xmx384M|g' /opt/sqldeveloper/ide/bin/ide.conf

# ToDo
# http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-4.0.2.15.21-1.noarch.rpm?AuthParam=XXX_XXX
# use a repository
# configure global

Install Dropbox under Ubuntu

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.dropbox.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

# create delayed start
# run this as user
sed -i 's|dropbox start -i|/usr/sbin/dropbox_start_dely|g' ~/.config/autostart/dropbox.desktop

# run this as root
cat < /usr/sbin/dropbox_start_dely
#!/bin/sh
sleep 120
ionice -c 3 dropbox start -i
EOF

chmod a+x /usr/sbin/dropbox_start_dely

Create account and get free Dropbox account with extra 250mb space
https://www.dropbox.com/referrals/NTQxNzA2OTU5

Enable folder share
http://www.dropbox.com/enable_shmodel

Links
http://wiki.ubuntuusers.de/Dropbox
http://www.getdropbox.com/download?plat=lnx.x86
http://www.maximumpc.com/article/features/15_things_you_have_know_about_dropbox