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
# Private key | |
openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:2048 | |
# Public key | |
openssl rsa -pubout -in private.pem -out public_key.pem | |
# Private key in pkcs8 format (for Java maybe :D) | |
openssl pkcs8 -topk8 -in private.pem -out private_key.pem | |
## nocrypt (Private key does have no password) |
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
redis-cli --raw keys "$PATTERN" | xargs redis-cli del |
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
library(maptools) | |
library(geosphere) | |
# load USA state-level spatial data | |
# download from http://gadm.org | |
# click the 'download' tab | |
# select county = 'united states', file format = 'R', click ok | |
# download 'level 1' for state-level data | |
load("USA_adm1.RData") |
NewerOlder