Fix Sound For Skype In Fedora 20

Go to skype.com and download the package for Fedora 16-32bit. Fix the sound Open /usr/share/applications/skype.desktop in your favorite editor Change line 4 to: Exec=env PULSE_LATENCY_MSEC=30 skype %U Start skyping!

How to connect to .onion Tor domains with Firefox on Linux or Mac OSX

If you are looking for an easy way of surfing the hidden network of .onion domains, here’s how you can do that for yourself without using some of the proxies available to reach the .onion domains (that is not a good idea for your privacy since the proxy owner can spy all your communications). So, ...

Fix the Time Zone on Fedora

By default Fedora set’s the timezone to UTC, during the install you may change this. But, what if you move a server or forget to set the timezone during install? You may change it after the fact. To get a list of your time zone, on Fedora, go to your “/usr/share/zoneinfo” directory and list the ...

Roundcube change password driver for ZPanel

Update: applied fixed for displaying a success message and update the tokens of the current session suggested by heathflux (http://forums.zpanelcp.com/user-41582.html) I was faced with the problem of clients trying to change their password from the webmail interface in ZPanel and since I haven’t found a working solution I wrote my own driver. It’s still under ...

Rename Files to Consecutive Numbered Files in Bash

Had to rename a bunch of pictures to a simple consecutive list of pictures. Here’s what I came up with: First test the output ls *.* | gawk -F_ '{ print "mv -iv","\""$0"\"",sprintf("%d.jpg",++n) }' and then execute the rename ls *.* | gawk -F_ '{ print "mv -iv","\""$0"\"",sprintf("%d.jpg",++n) }' |/bin/sh

C# Scroll to End of TextBox object

In many of my C# projects I’m using a MultiLine TextBox for debugging purposes and most of the time I need to see the last lines that are displayed. Therefor the need to automatically scroll to the end of it Here is a simple way to auto scroll TextBox. tbDebug.SelectionStart = tbDebug.Text.Length; tbDebug.ScrollToCaret(); tbDebug.Refresh(); TextBox.SelectionStart ...

How to change MAC Address of my Airport card

Well, I ran into a bit of an issue with my wireless router and was meaning to test the connection from different MAC addresses. It’s true that the MAC address is burned into the hardware device and you can’t change the actual address burned into the chip, but the driver can allow you to override ...

Enable TLS/SSL with proftpd under Ubuntu/Fedora/Centos

Benefits of TLS/SSL TLS/SSL provides numerous benefits to clients and servers over other methods of authentication, including: – Strong authentication, message privacy, and integrity – Interoperability – Algorithm flexibility – Ease of deployment – Ease of use 1 – Install ProFTPd and openssl apt-get install proftpd openssl yum install proftpd openssl 2 – Create SSL ...

Macports install gettext hangs on later versions of Xcode and OS X

If you are having issues with the installation of gettext and other packages hanging on macports, its most probably due to JAVA_HOME not being set. Set it and it should work: export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework /opt/local/bin/port install gettext

Drop all tables in a MySQL database

How do I empty MySQL database? What SQL command needs to be executed in order to delete all the tables in a MySQL database? I had this problem a couple of times when trying different solutions on a develop machine and… here’s the quick solution for this: mysqldump -u[USERNAME] -p[PASSWORD] –add-drop-table –no-data [DATABASE] | grep ...