This is a test
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
Test | |
test |
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
FROM golang:latest | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
libssl-dev \ | |
uuid-dev \ | |
libgpgme11-dev squashfs-tools wget git | |
RUN mkdir -p $GOPATH/src/github.com/sylabs && cd $GOPATH/src/github.com/sylabs && git clone https://github.com/sylabs/singularity.git && cd singularity && \ | |
go get -u -v github.com/golang/dep/cmd/dep && ./mconfig && make -C builddir && make -C builddir install |
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
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: traefik-ingress-controller | |
namespace: kube-system | |
--- | |
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: |
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
version: '3.3' | |
services: | |
elasticsearch: | |
image: 'docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.2' | |
deploy: | |
restart_policy: | |
condition: any | |
mode: global | |
environment: | |
network.host: _eth0:ipv4_ |
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
docker | |
chef generate cookbook bla | |
chef-client --local-mode -runlist "recipe[bla]" |
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
/ip dhcp-server lease { | |
:foreach i in=[find (dynamic && status="bound" && server="rang172-20-4")] do={ | |
:local activeAddress [get $i active-address] | |
:local activeMacAddress [get $i active-mac-address] | |
:local hostname "" | |
:local hostname [get $i host-name] | |
:if ( [:len $hostname] > 0) do={ :put "OK $[:len $hostname] *$hostname*"; [/ip dhcp-server lease make-static $i]; } | |
:put ($outputContent . "\n" . $activeAddress . "," . $activeMacAddress . "," . $hostname) | |
} |
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
go get github.com/bitly/oauth2_proxy | |
htpasswd -c -b -s htpasswd bla blabla |
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
# Disable airport utility | |
launchctl remove com.apple.AirPortBaseStationAgent |
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 TYPE guacamole_connection_group_type AS ENUM( | |
'ORGANIZATIONAL', | |
'BALANCING' | |
); | |
CREATE TYPE guacamole_object_permission_type AS ENUM( | |
'READ', | |
'UPDATE', | |
'DELETE', | |
'ADMINISTER' | |
); |
NewerOlder