Get MD5 checksum hash of big files in Python

def checkHash(filename, blocksize=2**20):


        print(“need to creating hash of file ” +filename)

        m = hashlib.md5()

        with open(filename , “rb” ) as f:

            while True:

                buf =

                if not buf:


                m.update( buf )


        print(“hash of above file is  ” + hash1)

        return hash1

    except :

        print(“Exception in hash code:”)

        print(“-” * 60)


        print(“-” * 60)

        return “error”

mysql python 3 mac

  548  pip install –egg‌​nnector-python-2.1.4‌​.zip

  549  pwd

  550  python 

  551  pip list

  552  pip install mysql-connector-python-rf

  553  python 

  554  pip install MySQL-python

  555  pip install mysql-python

  556  brew install mysql-connector-c 

  557  pip install mysql-python

  558  pip install MySQL-python

  559  pip install MySQL-python

  560  export PATH=$PATH:/usr/local/mysql/bin/

  561  pip install MySQL-python

  562  pip install MySQL-python

  563  pip install pymysql

  564  python 

  565  python 

  566  pip install MySQL-python

  567  pip3 install mysql-connect-python

  568  pip3 install

  569  pip install mysqlclient

Using tape Library PV114x or other with Linux

It is dead simple, make sure that when you plug in SAS cable the light on the SAS card comes up, I spent hours in struggling on Linux when drives did not appear and finally when i push the SAS connector bit inside all flashes 🙂

You only need a software name mt and tar which most of Linux OS already have.. It works same on Ubuntu and or Centos /Redhat flavours.

Replace /dev/st0 with your actual tape drive name.  Usually it is name like /dev/st0 /dev/st1 and so on ..

Rewind tape drive:

Backup any folder:

Display list of files on tape drive:

Restore /anyfolder directory:


Unload the tape:

Display status information about the tape unit:

Erase the tape:

You can go BACKWARD or FORWARD on tape with mt command itself:

(a) Go to end of data:

(b) Goto previous record:

(c) Forward record:

To compare tape backup, enter:

To restore tape in case of data loss or hard disk failure:


d : find differences between archive and file system
x : extract files from an archive
l : list the contents of an archive
p : ignore umask when extracting files
M : create/list/extract multi-volume archive (multiple tapes)
z : Compress backup using gzip
v : verbosely list files processed
f /dev/st0 : Tape device name
/anyfolder : Backup /anyfolder file system

Adobe server list in case to crack adobe license practivate.adobe practivate.adobe.ipp practivate.adobe.newoa practivate.adobe.ntp tpractivate.adobe.newoa