This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/pil-decoder-jpeg-not-available-ubuntu-1210/
Sorry for your inconvenience.
This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/pil-decoder-jpeg-not-available-ubuntu-1210/
Sorry for your inconvenience.
Filed under Vimmaniac
This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/django-gunicorn-nginx-configuration-on-ubuntu-1210/
Sorry for your inconvenience.
Filed under Vimmaniac
This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/django-apache-configuration-on-ubuntu-1204/
Sorry for your inconvenience.
Know the actual server running your website:
There are various http server like Apache, Nginx, Microsoft-IIS/7.5 etc. Know which server is running your website.Go to the link below-
Server Type Tool provides various information about the server running your website.These information mainly consist –
Server Software – The actual server software running your website.
IP Address – IP Address of the server.
Location – Physical location of the server.
Also a details information about the server.
Filed under Vimmaniac
This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/django-apache-configuration-on-ubuntu-1204/
Sorry for your inconvenience.
Filed under Vimmaniac
For ascending order :
bubblesortarray( $array_name );
For descending order :
bubblesortarray( $array_name, false );
Download Here:
Download
Filed under Vimmaniac
This post has been moved to the following URL:
http://ahsan.vimmaniac.com/blog/disabling-guest-account-in-ubuntu-1204/
Filed under Vimmaniac
IPv6 or IP version 6 is the next generation Internet protocol which will eventually replace the current protocol IPv4. IPv6 has a number of improvements and simplifications when compared to IPv4. The primary difference is that IPv6 uses 128 bit addresses as compared to the 32 bit addresses used with IPv4. This means that there are more available IP addresses using IPv6 than are available with IPv4 alone. For a very clear comparison, in IPv4 there is a total of 4,294,967,296 IP addresses. With IPv6, there is a total of 18,446,744,073,709,551,616 IP addresses in a single /64 allocation.
Filed under Vimmaniac
Install Pear Package Mail_Mbox
Type in the terminal-
pear install Mail_Mbox
Mailbox Accessing Code:
<?php
require_once( 'Mail/Mbox.php' );
$file = "file_path_to/filename";
$mailbox = new Mail_Mbox( $file );
$mailbox->open();
for( $mail = 0;$mail < $mailbox->size();$mail++ )
{
echo $mailbox->get($mail);}
?>
Filed under Vimmaniac
Install Getmail :
Download Getmail, open terminal and type
tar xzvf getmail*.tar.gz
cd [unpacked directory]
sudo python setup.py install
Configure Getmail :
Create a file at ~/.getmail/getmailrc and put the following text in it
[retriever]
type = SimplePOP3SSLRetriever
server = pop.gmail.com
username = example@gmail.com
password = password
[destination]
type = Mboxrd
path = ~/gmail-backup/gmail.mbox
[options]
verbose = 2
message_log = ~/.getmail/gmail.log
Create the mbox file ~/gmail-backup/gmail.mbox
Run getmail :
getmail
Filed under Vimmaniac