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
/* | |
* FormData polyfill for k6 | |
* (c) 2014 Rob Wu <[email protected]> | |
* License: MIT | |
* | |
* This simplifies the creation of multipart/form-data requests from k6 scripts. | |
* It was adapted from the original version by Rob Wu to remove references of | |
* XMLHttpRequest and File related code which isn't supported in k6. | |
**/ | |
(function(exports) { |
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
# -*- sh -*- | |
# | |
# Original plugin: https://gist.github.com/vvicaretti/cb4b2e27dadaf458eb3bc4ac215cf5fd | |
# Changes: | |
# - Made lookup case-insensitive | |
# | |
# [Pass](https://www.passwordstore.org/) | |
# the standard unix password manager | |
# [zaw](https://github.com/zsh-users/zaw) | |
# zsh anything.el-like widget |
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
#!/bin/bash | |
# Main credit goes to joostrijneveld on github: | |
# Ref: https://gist.github.com/joostrijneveld/59ab61faa21910c8434c | |
# adopted to "I want to have a pdf with a textual AND QR key to directly | |
# print it and put it in the bank safe" needs by Jan Stuehler, | |
# 2015-10-05. | |
if [ $# -lt 2 ] | |
then | |
echo "Please specify [Key ID] and an arbitrary [Name]" |
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
# -*- coding: utf-8 -*- | |
# Author: Douglas Creager <[email protected]> | |
# This file is placed into the public domain. | |
# Calculates the current version number. If possible, this is the | |
# output of “git describe”, modified to conform to the versioning | |
# scheme that setuptools uses. If “git describe” returns an error | |
# (most likely because we're in an unpacked copy of a release tarball, | |
# rather than in a git working copy), then we fall back on reading the | |
# contents of the RELEASE-VERSION file. |
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
#!/bin/bash | |
# Hosted Zone ID e.g. BJBK35SKMM9OE | |
ZONEID="enter zone id here" | |
# The CNAME you want to update e.g. hello.example.com | |
RECORDSET="enter cname here" | |
# More advanced options below | |
# The Time-To-Live of this recordset |