Get a lost public key back from a private key in Linux
ssh-keygen -y -f my_private_key > ./my_private_key.pub
Sometimes, linux complains about very open permissions... a chmod 0400 my_private_key should shut her up!
| { | |
| "editor.insertSpaces": true, | |
| "files.eol": "\n", | |
| "files.associations": { | |
| "Vagrantfile": "ruby" | |
| } | |
| } |
| function getLastAptGetUpdate() | |
| { | |
| local -r aptDate="$(stat -c %Y '/var/cache/apt')" | |
| local -r nowDate="$(date +'%s')" | |
| echo $((nowDate - aptDate)) | |
| } | |
| # Default To 24 hours | |
| updateInterval="$((24 * 60 * 60))" | |
| lastAptGetUpdate="$(getLastAptGetUpdate)" |
| ''' | |
| Provide serialization and de-serialization of Google's protobuf Messages into/from JSON format. | |
| ''' | |
| # groups are deprecated and not supported; | |
| # Note that preservation of unknown fields is currently not available for Python (c) google docs | |
| # extensions is not supported from 0.0.5 (due to gpb2.3 changes) | |
| import json # py2.6+ TODO: add support for other JSON serialization modules |
| function getLastAptGetUpdate() | |
| { | |
| local -r aptDate="$(stat -c %Y '/var/cache/apt')" | |
| local -r nowDate="$(date +'%s')" | |
| echo $((nowDate - aptDate)) | |
| } | |
| # Default To 24 hours | |
| updateInterval="$((24 * 60 * 60))" | |
| lastAptGetUpdate="$(getLastAptGetUpdate)" |
| # | |
| # This file is your local configuration file and is where all local user settings | |
| # are placed. The comments in this file give some guide to the options a new user | |
| # to the system might want to change but pretty much any configuration option can | |
| # be set in this file. | |
| # | |
| # Lines starting with the '#' character are commented out and in some cases the | |
| # default values are provided as comments to show people example syntax. Enabling | |
| # the option is a question of removing the # character and making any change to the | |
| # variable as required. |
| let rec mergesort (xs: list<int>) = | |
| let rec merge (xs: list<int>, ys: list<int>) = | |
| match (xs, ys) with | |
| | ([], ys) -> ys | |
| | (xs, []) -> xs | |
| | (x::xs1, y::ys1) -> | |
| if(x < y) then x::merge(xs1, ys) | |
| else y::merge(xs, ys1) | |
| let n = xs.Length / 2 | |
| if (n = 0) then xs |
| #include "macros.h" | |
| #include "vmx.h" | |
| #include "../memorymap.h" | |
| #define VMWRITE(A,B) mov B,%rbx; mov A,%rax; vmwrite %rbx,%rax | |
| #define VMREAD(A) mov A,%rbx; vmread %rbx,%rax | |
| .global init_hypervisor | |
| .global create_vm |
I hereby claim:
To claim this, I am signing this object: