Author Archives: salubrium
Logitech Clearchat + Skype + KDE with Phonon problem
This is a holder page for a bit more information on the issue but basically Phonon won’t retain it’s settings. The clearchat works fine but Phonon won’t use it by default or hold the priority you give it. The short answer is to install pavucontrol sudo apt-get install pavucontrol Then run pavucontrol and turn your …
Continue reading “Logitech Clearchat + Skype + KDE with Phonon problem”
How to rsync directory structure but not files
rsync -av –include=’*/’ –exclude=’*’ /src/path /destination/path An example where we use it is when building Magento templates and themes, we copy the directory structure across but not the files so that when we need to, we can copy a file across from the base theme without having to create the directory structure before copying the …
Continue reading “How to rsync directory structure but not files”
Bash: Bulk Convert M4V to Good Quality FLV using ffmpeg
High Quality – File size ends up being larger than the M4V for i in *.m4v;do ffmpeg -i $i -ar 22050 -qscale .1 ${i%.*}.flv;done Quality is almost indiscernible from the original M4V in a laptop for i in *.m4v;do ffmpeg -i $i -ar 22050 -ab 96k -qscale 2 ${i%.*}.flv;done Slight degradation in quality. File size …
Continue reading “Bash: Bulk Convert M4V to Good Quality FLV using ffmpeg”
Some tips and tricks on troubleshooting PHP Core Dumps
Debug core dump files: gdb /usr/bin/php5 /path/to/core.3224 Mass delete core dump files safely. find . -type f -regex “.*/core\.[0-9]*$” -exec rm -v {} \; Disable Core dumps system wide
Asus K43E with Ubuntu 11.04 / Linux Mint 11 / 2.6.38 Kernel touchpad
I just bought this laptop yesterday. I’ve just solved issue 1 of 3 (all issues as of 26/7/11) 1. Touchpad isn’t recognised as a touchpad but rather a mouse and so can’t “disable touchpad while typing” causing me to constantly bump it. 2. Suspend / Resume isn’t working.. I will fix this soon (fixed: 26/07/11) …
Continue reading “Asus K43E with Ubuntu 11.04 / Linux Mint 11 / 2.6.38 Kernel touchpad”
How to install Git on Cpanel based 64bit Centos servers
Quite easy really, once you know how. First we add in the Epel repo for 64bit Centos5 rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm and then you need to disableexcludes in yum due to Cpanel disabling Perl from yum updates. So to install git now, we run. yum –disableexcludes=main install git Simple, really.
View memory brand, manufacturer & serial number in Linux
Very simply. sudo dmidecode –type 17 This gives the following output: # dmidecode 2.9 SMBIOS 2.4 present. Handle 0x1100, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: None Locator: DIMM_A Bank Locator: Not …
Continue reading “View memory brand, manufacturer & serial number in Linux”
How to setup an Australian Magento Store
Australian Magento Developers, Fontis have published a great Howto to help you setup an Australian store quire and to ensure you are compliant with ATO’s requirements You can read Fontis’ Australian Magento post here.
Overview of Citrix XenClient
Citrix has released Xenclient. A hypervisor designed to run on Laptops. There’s some excellent arguments for doing so in a corporate environment. I just read a nice, concise overview of Xenclient at Standalone Sysadmin