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
### Keybase proof | |
I hereby claim: | |
* I am varrunr on github. | |
* I am varrunr (https://keybase.io/varrunr) on keybase. | |
* I have a public key ASDT3Wsct_btXknukpPhzZZ9cXnP2g5o1SFE1fHGbbcfLwo | |
To claim this, I am signing this object: |
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
# Start the server in DEV mode | |
vault server -dev | |
# Write key value pair | |
vault write secret/<name of secret> <data kv pairs> | |
# Read secret | |
vault read secret/<name of secret> | |
# Read secret as JSON |
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
filetype indent on | |
set hlsearch | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set backspace=eol,start,indent | |
set number | |
set smarttab | |
set term=builtin_xterm | |
syntax on |
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
import matplotlib.pyplot as plt | |
import sys | |
def populate(filename,num): | |
x = [] | |
y = [] | |
f = open(filename,"r") | |
contents = f.read() | |
lines = contents.split('\n') | |
lines = lines[0:num] |
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
<html> | |
<head> | |
<script type="text/javascript" src="punycode.js"> </script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var url = 'http://xn--oogle-qmc.com'; | |
result = url.replace(/.*?:\/\//g, ""); | |
alert(punycode.toUnicode(result)); |