This is just an example that will only work for specific network interfaces and addresses. Modify as needed.
Create data directories for etcd members:
mkdir -p e{0,1,2}Remove data directories:
| package queue | |
| import ( | |
| "context" | |
| "testing" | |
| "time" | |
| ) | |
| // TestLostMessageIssue | |
| func TestLostMessageIssue(t *testing.T) { |
| # This is to fix skype snap excessive kernel logs. | |
| # Create a file /etc/apparmor.d/abstractions/base.d/fix.snap.skype | |
| /sys/devices/**/online r, | |
| /sys/devices/**/speed r, | |
| /sys/devices/**/power_supply/* r, | |
| /etc/issue r, |
| kublr: | |
| # Values in fixed section cannot be changed dynamically, they may be hardcoded in other places, although every effort | |
| # will be made to reduce duplication | |
| fixed: | |
| # This path is defined by the actual location of the config file used and cannot be overridden | |
| # in the config file. | |
| # | |
| # Any alternative value of this property specified in a user config file or in extensions' | |
| # default config files will be ignored and overridden by this value. | |
| # |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "net/http" | |
| "os" | |
| "strconv" |
This is just an example that will only work for specific network interfaces and addresses. Modify as needed.
Create data directories for etcd members:
mkdir -p e{0,1,2}Remove data directories:
| 'use strict'; | |
| var fs = require('fs'); | |
| var yaml = require('js-yaml'); | |
| var inputStr = fs.readFileSync('../../out/aws-cloud-formation-template-1.template', {encoding: 'UTF-8'}); | |
| var CF_SCHEMA = yaml.Schema.create([ | |
| new yaml.Type('!Ref', { kind: 'scalar', construct: function (data) { return { 'Ref': data }; } }), | |
| new yaml.Type('!Equals', { kind: 'sequence', construct: function (data) { return { 'Fn::Equals': data }; } }), |
I hereby claim:
To claim this, I am signing this object:
| Hello: X=$X | |
| Hello: X=$X''' | |
| Hello: X="$X" | |
| Hello: X=$X "kjh | |
| kjd" | |
| $(date) |
| #!/usr/bin/env python | |
| import math | |
| from gimpfu import * | |
| import os | |
| import re | |
| import sys | |
| sys.stderr = open('C:/Temp/python-fu-output.txt','a') |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |