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
# Create an access token for user "admin" with name "test-1234" | |
# POST /users/{username}/tokens/{name} | |
$ curl -i -u admin:admin -H 'Accept: application/json' -X POST 'http://127.0.0.1:12900/users/admin/tokens/test-1234?pretty=true' | |
HTTP/1.1 200 OK | |
X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd | |
Content-Type: application/json | |
Date: Mon, 08 Aug 2016 12:12:09 GMT | |
Content-Length: 139 | |
{ |
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
#!/usr/bin/env nix-shell | |
#!nix-shell -i bash -p go go2nix | |
# little script to help with the stupid go packaging | |
# cd into the dir where you want to have the `default.nix` | |
# go package name (e.g. github.com/go/is-stupid) | |
PACKAGE="$1" | |
# git upstream link | |
GIT="$2" |
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
# MOVED HERE https://gist.github.com/dysinger/2a768db5b6e3b729ec898d7d4208add3 |
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
################################################################ | |
################################################################ | |
## ## | |
## This module now lives in a repository! ## | |
## https://github.com/dali99/nixos-matrix-modules ## | |
## ## | |
## It has a few fixes, and quite a few more features, ## | |
## like easy workers and automatic nginx config ## | |
## ## | |
################################################################ |
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
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
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
APKTIDoLV060B_LpPwpXFQqH8HTJF7CcJHMGGIpfDWOPT1dYGU_g |
OlderNewer