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
# reboot | |
rbcfg set boot_device nand | |
rbcfg set boot_protocol dhcp | |
rbcfg set booter backup | |
# and to be fast | |
rbcfg set cpu_mode regular | |
# have it applied | |
rbcfg apply |
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/sh | |
usr=admin | |
pwd=atlanta | |
ip=192.168.0.1 | |
tmp=/tmp/deviceRestart | |
cookies=cookies.txt | |
#improve the logread output | |
sqm_logger() { |
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
# Open Chrome with Remote Debugging | |
open -a /Applications/Google\ Chrome.app --args --disable-web-security --remote-debugging-port=9222 http://localhost:9222 --user-data-dir |
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
#cloud-config | |
coreos: | |
etcd2: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 | |
# specify the initial size of your cluster with ?size=X | |
discovery: https://discovery.etcd.io/ | |
# multi-region and multi-cloud deployments need to use $public_ipv4 | |
advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001 | |
initial-advertise-peer-urls: http://$private_ipv4:2380 |
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
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
name: weave-net | |
namespace: kube-system | |
spec: | |
template: | |
metadata: | |
labels: | |
name: weave-net |
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
# install avahi | |
# to configure servce | |
[server] | |
allow-interfaces=br-<private-network>,br-<iot-network> | |
use-ipv4=yes | |
use-ipv6=no | |
allow-interfaces=br-lan,br-machina | |
check-response-ttl=no | |
use-iff-running=no | |
cache-entries-max=0 |
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
// Copyright © 2017 Sebastian Döll <[email protected]> | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>exhibitor</groupId> | |
<artifactId>exhibitor</artifactId> | |
<version>1.6.0</version> | |
<dependencies> | |
<dependency> | |
<groupId>io.soabase.exhibitor</groupId> |
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
events { | |
worker_connections 1024; | |
} | |
error_log /dev/stdout info; | |
http { | |
access_log /dev/stdout; | |
upstream docker-registry { |
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
export default { | |
'3dmf': 'x-world/x-3dmf', | |
'3dm': 'x-world/x-3dmf', | |
'avi': 'video/x-msvideo', | |
'ai': 'application/postscript', | |
'bin': 'application/octet-stream', | |
'bin': 'application/x-macbinary', | |
'bmp': 'image/bmp', | |
'cab': 'application/x-shockwave-flash', | |
'c': 'text/plain', |
OlderNewer