Apache 2.4 now use .conf files for vhost, so you need to upgrade your old vhost
for name in `ls /etc/apache2/sites-available|grep -v conf`;do
sudo mv /etc/apache2/sites-available/$name /etc/apache2/sites-available/$name.conf ;
done
# I managed to get the compiled version with patched QT working on ubuntu precise 64bit (12.04 LTS) and thought I'd share my bash history in the hopes it might spare others some trouble shooting. | |
# Also note that this install process takes rather long, you might want to consider running it in a screen or something | |
# you will be needing git if you haven't got it yet | |
sudo apt-get install git-core | |
# as per installation instructions, install dependencies for wkhtmltopdf | |
sudo apt-get install openssl build-essential xorg libssl-dev libxrender-dev | |
# clone the repo | |
git clone git://github.com/antialize/wkhtmltopdf.git wkhtmltopdf |
#!/bin/bash | |
# That function could be added to your bash_profile for example | |
# send all the current videos loaded in your chromium browser or in Firefox into a vlc instance byt calling at any time "view_daflash" | |
view_daflash(){ | |
SAVE_IT= | |
com_func_file=$( dirname "${BASH_SOURCE[0]}" )/common_functions.sh | |
if [ ! -f ${com_func_file} ]; then | |
curl -sSL https://raw.github.com/jmeyo/CommonBashScripts/master/common_functions.sh >${com_func_file} |
Apache 2.4 now use .conf files for vhost, so you need to upgrade your old vhost
for name in `ls /etc/apache2/sites-available|grep -v conf`;do
sudo mv /etc/apache2/sites-available/$name /etc/apache2/sites-available/$name.conf ;
done
#!/bin/bash | |
# Converts an image in a multi-resolution favicon | |
# Requires Imagemagick | |
function generate_favicon() { | |
command -v convert >/dev/null 2>&1 || (echo "Imagemagick not here, install it" && return ) | |
case "$#" in | |
"0") | |
echo "Usage: $FUNCNAME input.png output.ico" |