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
"use strict"; | |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'canary', | |
// default font size in pixels for all tabs |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
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
// mbp settings | |
{ | |
// | |
// analytics: | |
// | |
"telemetry.telemetryLevel": "off", | |
// | |
// extensions: | |
// | |
"extensions.autoCheckUpdates": true, |
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
// mbp settings | |
{ | |
// | |
// analytics: | |
// | |
"telemetry.telemetryLevel": "off", | |
// | |
// extensions: | |
// | |
"extensions.autoCheckUpdates": true, |
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
package main | |
import ( | |
"github.com/kamhlos/upnp" | |
"fmt" | |
) | |
func main() { | |
upnp := new(upnp.Upnp) | |
err := upnp.ExternalIPAddr() |
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
#!/bin/sh | |
AUTHORIZED_KEYS=/root/.ssh/authorized_keys | |
KEYS_RC=-1 | |
COUNT=0 | |
while [ ${KEYS_RC} -ne 0 ] && [ ${COUNT} -lt 60 ] | |
do | |
KEYS_DATA=$(podman exec unifi-os mongo --port 27117 --eval 'db.setting.find({key: {$eq: "mgmt"}}, {x_ssh_keys: 1, _id: 0});' --quiet ace) | |
KEYS_RC=$? |
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
if ($yaml.machine | empty?) { | |
echo 'yaml is empty' | |
} { | |
if ($yaml.machine.network | empty?) { | |
echo 'network is empty' | |
} { | |
echo 'network is not empty' | |
} | |
} |
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
curl -kivL -H 'Host: example.your-domain.com' 'http://35.199.164.14' |
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
kubectl describe issuer letsencrypt-staging | |
kubectl get certificate | |
kubectl describe certificate quickstart-example-tls | |
kubectl describe secret quickstart-example-tls | |
kubectl describe certificate | |
kubectl describe order quickstart-example-tls-889745041 | |
kubectl describe challenge quickstart-example-tls-889745041-0 |
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
Usage: dnsmasq [options] | |
Valid options are: | |
-a, --listen-address=<ipaddr> Specify local address(es) to listen on. | |
-A, --address=/<domain>/<ipaddr> Return ipaddr for all hosts in specified domains. | |
-b, --bogus-priv Fake reverse lookups for RFC1918 private address ranges. | |
-B, --bogus-nxdomain=<ipaddr> Treat ipaddr as NXDOMAIN (defeats Verisign wildcard). | |
-c, --cache-size=<integer> Specify the size of the cache in entries (defaults to 150). | |
-C, --conf-file=<path> Specify configuration file (defaults to /etc/dnsmasq.conf). | |
-d, --no-daemon Do NOT fork into the background: run in debug mode. |
OlderNewer