This is done on devstack
environment.
(Assuming a Debian 8-like system)
-
Install
prometheus-node-exporter
$ sudo apt update && sudo apt install prometheus-node-exporter
-
Configure
prometheus-node-exporter
to expose metrics only tolocalhost
, not on to all networks. Modify file/etc/default/prometheus-node-exporter
:# Set the command-line arguments to pass to the server.
#cd /etc/caddy/Caddyfile | |
example.com { | |
root /usr/share/nginx/html | |
gzip | |
log /var/log/caddy/access.log | |
#fastcgi / unix:/var/run/php-fpm/php-fpm.sock php # Fast CGI php interpreter | |
#fastcgi / fastcgi / 127.0.0.1:9000 php # Fast CGI php interpreter | |
#using with laravel | |
fastcgi / unix:/var/run/php-fpm/php-fpm.sock php { | |
index index.php |
#!/bin/bash | |
tar cf - * | mbuffer -m 1024M | ssh -i ~/.ssh/<key.pem> <destination_ip> '(cd /home/ubuntu/<destination_folder>; tar xf -)' |
#!/usr/bin/env python | |
# | |
# Tested with SuperMicro | |
import re, subprocess, pprint, time, os, sys | |
if not os.path.exists("/usr/sbin/ipmi-sensors"): | |
print >> sys.stderr, 'freeipmi tools are not installed' | |
sys.exit() |
A. IdentityServer3 docs, samples and source code use OIDC & OAuth2 terms interchangeably to refer to same thing in many areas. I think that's make sense because OIDC introduced as complement & extension for OAuth2.
B. IdentityServer3, STS, OP, OIDC server, OAuth2 server, CSP, IDP and others: means same thing (software that provide/issue tokens to clients) as explained in [Terminology] (http://identityserver.github.io/Documentation/docs/overview/terminology.html).
C. Grants and flows mean same thing, grant was the common term in OAuth2 specs and flow is the common term in OIDC specs.
D. This document will not focus on custom flow/grant.
E. [Important] Choosing wrong flow leads to security threat.
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:
- It is much easier and requires less steps, because you are already authenticated with GitHub, so you don't need to share secret keys across services like you do when coordinate Travis CI and GitHub.
- It is free, with no quotas.
- Anecdotally, builds are much faster with GitHub Actions than with Travis CI, especially in terms of time spent waiting for a builder.
#!/bin/sh -e | |
# | |
# make_brew_omnibus_osx_pkg.sh | |
# Tim Sutton, 2014 | |
# | |
# Dead-simple Omnibus-style installer package builder for OS X using Homebrew. It | |
# takes no command-line options or arguments: all configuration is done using | |
# environment variables: | |
# | |
# - FORMULA: (required) name of Homebrew formula |
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings": { | |
"RegionMap": { | |
"ap-northeast-1": { | |
"AMI": "ami-f9b08ff8" | |
}, | |
"ap-southeast-1": { | |
"AMI": "ami-c24f6c90" |
##My Recent Noteworthy Presentations
DevOps Road Blocks DOES14 - John Willis - DevOps Road Blocks
Building an Open Cloud From the Network Perspective ( need Safari subscription) Building an Open Cloud From the Network Perspective - OSCON 2014
Alice in Wonderland Openstack Summit Atlanta 2014