This generates a public/private keypair.
$ gpg --gen-key
$ gpg --list-secret-keys
| /** | |
| * Compute the (Moore-Penrose) pseudo-inverse of a libgsl matrix in plain C. | |
| * | |
| * Compile uding: | |
| * | |
| * gcc moore_penrose_pseudoinverse.c -lgsl -lblas | |
| * | |
| * Dependencies: | |
| * - libgsl (GNU Scientific Library) | |
| * - libblas (Basic Linear Algebra Subprograms) |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """Execute a child program in a new process""" | |
| import os | |
| import subprocess | |
| def exec_binary(cmd_line_list, cwd=None, stdout=None, stderr=None, verbose=False): | |
| """Invoke an executable file. |
Due to Alan Stern [1].
| [1] | http://marc.info/?l=linux-usb&m=121459435621262&w=2 |
| <?php | |
| header("Content-Type: text/html; charset=utf-8"); | |
| function display_filesize($filesize) { | |
| if (is_numeric($filesize)) { | |
| $decr = 1024; | |
| $step = 0; | |
| $prefix = array('Byte','KB','MB','GB','TB','PB'); |
git config --global user.email "[email protected]"
git config --global user.name "John Doe"