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
ServerRoot "/path/to/server/root" | |
LoadModule authz_host_module modules/mod_authz_host.so | |
LoadModule authz_core_module modules/mod_authz_core.so | |
LoadModule headers_module modules/mod_headers.so | |
LoadModule proxy_module modules/mod_proxy.so | |
LoadModule proxy_http_module modules/mod_proxy_http.so | |
LoadModule proxy_connect_module modules/mod_proxy_connect.so | |
LoadModule log_config_module modules/mod_log_config.so | |
LoadModule ssl_module modules/mod_ssl.so |
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 mode="assign" name="rgba"> | |
<const>none</const> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="hinting"> |
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
# Allow traffic on bridged interface | |
-I FORWARD -m physdev --physdev-is-bridged -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
#!/usr/bin/env sh | |
# sensors, hddtemp and nvidia-smi commands should be in path | |
CORE0_TEMP=$(sensors | grep 'Core 0' | awk -F':' '{print $2}' | awk -F'(' '{print $1}' |tr -d ' +') | |
CORE1_TEMP=$(sensors | grep 'Core 1' | awk -F':' '{print $2}' | awk -F'(' '{print $1}' |tr -d ' +') | |
HDD_TEMP=$(hddtemp /dev/sdb |awk '{ print $3}') | |
GPU_TEMP=$(nvidia-smi -a |grep "GPU Current Temp" |awk '{ print $5}') | |
OUT_FILE=/tmp/$(date +%Y-%m-%d).temp.log |
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
ServerRoot "/opt/httpd-proxy" | |
LoadModule alias_module modules/mod_alias.so | |
LoadModule authz_host_module modules/mod_authz_host.so | |
LoadModule headers_module modules/mod_headers.so | |
LoadModule proxy_module modules/mod_proxy.so | |
LoadModule proxy_http_module modules/mod_proxy_http.so | |
LoadModule proxy_connect_module modules/mod_proxy_connect.so | |
LoadModule rewrite_module modules/mod_rewrite.so | |
LoadModule log_config_module modules/mod_log_config.so |
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
set-option -g lock-command "vlock" | |
unbind ^X | |
bind ^X lock-server | |
unbind x | |
bind x lock-server |
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
FROM debian:latest | |
MAINTAINER [email protected] | |
# install app | |
############# | |
# install app from official repos, set perms, cleanup | |
# User telegramd is added manually to force uid to 5000, to avoid perms problems | |
RUN groupadd -r -g 5000 telegramd && \ |
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 JAVA_OPTS="-Dcom.sun.management.jmxremote.authenticate=false\ | |
-Dcom.sun.management.jmxremote.port=XXXX\ | |
-Dcom.sun.management.jmxremote=true\ | |
-Dcom.sun.management.jmxremote.ssl=false" |
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
#!/usr/bin/env bash | |
PKG_LIST=$(pacman -Qm |awk '{ print $1}' |tr '\n' ' ') | |
WORK_DIR="$(mktemp -d)" | |
for i in $PKG_LIST | |
do | |
echo "Building package $i in $WORK_DIR/$i" | |
cd $WORK_DIR | |
prefix=$(echo ${i:0:2}) |
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
smbclient -N //IP.OF.SAMBA.SERVER/sharedFolder/ -U% -c ls |
OlderNewer