This file contains hidden or 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
| 1. Make Home Directory for SShH keys. | |
| c://users/UserName/.SSH (for Windows 7) | |
| 2. Generate SSH key by command: | |
| ssh-keygen -t rsa -C "user@mail.ru" | |
| # Creates a new ssh key, using the provided email as a label | |
| Generating public/private rsa key pair. | |
| It's created a pair of keys - private and public in home dir .SSH | |
| C:\Users\SuvorovAG\.ssh\id_rsa |
This file contains hidden or 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
| <?php | |
| /** | |
| * simple method to encrypt or decrypt a plain text string | |
| * initialization vector(IV) has to be the same when encrypting and decrypting | |
| * | |
| * @param string $action: can be 'encrypt' or 'decrypt' | |
| * @param string $string: string to encrypt or decrypt | |
| * | |
| * @return string | |
| */ |
This file contains hidden or 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
| <?php | |
| $fp = fsockopen('127.0.0.1', 6379, $errno, $errstr, 30); | |
| $data = array(); | |
| if (!$fp) { | |
| die($errstr); | |
| } else { | |
| fwrite($fp, "INFO\r\nQUIT\r\n"); | |
| while (!feof($fp)) { |
This file contains hidden or 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
| You need jQuery 1.6 and upper. | |
| Facebook: | |
| For the FB reload you also need a Variable called "lang" in js with the language code (de, en, it, fr...) | |
| For more information show comments in the file facebook.js | |
| Google Plus: | |
| You only need jQuery and edit the selector (id,class) where you would like to show g+ |