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
# | |
# add the include to the location or locations you want to deny access to | |
# location ... { | |
# include /etc/nginx/conf.d/denyips; | |
# ... | |
# } | |
# | |
# | |
[Definition] |
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/bash | |
INTERFACE=ens5 | |
NINTERFACE=nebula1 | |
sudo iptables -t nat -A POSTROUTING -o $INTERFACE -j MASQUERADE | |
sudo iptables -A FORWARD -i $INTERFACE -o $NINTERFACE -m state --state RELATED,ESTABLISHED -j ACCEPT | |
sudo iptables -A FORWARD -i $NINTERFACE -o $INTERFACE -j ACCEPT |
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
--- | |
- hosts: masters | |
become: yes | |
become_method: sudo | |
tasks: | |
- name: install yum utils | |
yum: | |
name: yum-utils | |
state: latest | |
- name: add docker yum repo |
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"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="font"> | |
<edit name="antialias" mode="assign"> | |
<bool>true</bool> | |
</edit> | |
</match> |
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
version: '2' | |
services: | |
guacd: | |
image: guacamole/guacd | |
guac-serve: | |
image: guacamole/guacamole | |
links: | |
- guacd:guacd | |
- mysql:mysql | |
ports: |
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
[Unit] | |
Description=start docker gen after a docker restart | |
After=docker.service | |
Requires=docker.service | |
PartOf=docker.service | |
BindsTo=docker.service | |
[Service] | |
ExecStartPre=/bin/sleep 1 | |
ExecStart=/usr/bin/docker start nginx-gen |
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
BoldAsFont=-1 | |
ThemeFile=xach | |
Transparency=low | |
CursorType=block | |
BackgroundColour=13,25,38 | |
ForegroundColour=217,230,242 | |
CursorColour=217,230,242 | |
Black=0,0,0 | |
BoldBlack=38,38,38 | |
Red=184,122,122 |
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
# To the extent possible under law, the author(s) have dedicated all | |
# copyright and related and neighboring rights to this software to the | |
# public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along | |
# with this software. | |
# If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# base-files version 4.2-4 | |
# ~/.bashrc: executed by bash(1) for interactive shells. |
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
/* shrink headerbars */ | |
headerbar { | |
min-height: 0px; | |
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */ | |
padding-right: 2px; | |
background-color: #2d2d2d; | |
border-radius: 0; | |
border:0; | |
} |