This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crypto::chacha20::ChaCha20; | |
use crypto::symmetriccipher::SynchronousStreamCipher; | |
use std::io::prelude::*; | |
// Typedefs | |
type ReadResult = std::io::Result<usize>; | |
type WriteResult = std::io::Result<usize>; | |
type FlushResult = std::io::Result<()>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
mkdir dev_tools | |
cd dev_tools | |
## download SIP source code | |
wget http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.7/sip-4.16.7.tar.gz | |
tar zxf sip-4.16.7.tar.gz | |
cd sip-4.16.7 | |
python configure.py | |
make |