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/bash | |
# variable in [] is optional | |
# cache | |
# flush [name] | |
# all | |
# size | |
# status [name] | |
# cert |
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
[{ | |
"name" : "Kibana4", | |
"script" : "./src/bin/kibana.js", | |
"env": { | |
"NODE_ENV": "production", | |
"CONFIG_PATH": "./config/kibana.yml" | |
} | |
}] |
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/bash | |
configfile=/etc/keepalived/keepalived.conf | |
content=$(egrep '(vrrp_instance|interface|virtual_ipaddress)' -A1 $configfile | egrep -v "(\-\-|track_|virtual_)" | grep -A6 vrrp_); | |
#echo "$content"; | |
instance_1=$(echo "$content" | grep "VI_1" -A4); | |
instance_2=$(echo "$content" | grep "VI_2" -A4); |
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
-N ICELAND | |
-A INPUT -s 5.23.64.0/19 -j ICELAND | |
-A INPUT -s 31.15.112.0/21 -j ICELAND | |
-A INPUT -s 31.209.136.0/21 -j ICELAND | |
-A INPUT -s 31.209.144.0/20 -j ICELAND | |
-A INPUT -s 31.209.192.0/18 -j ICELAND | |
-A INPUT -s 37.152.64.0/21 -j ICELAND | |
-A INPUT -s 37.205.32.0/21 -j ICELAND | |
-A INPUT -s 37.235.49.0/24 -j ICELAND | |
-A INPUT -s 46.22.96.0/20 -j ICELAND |
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
-- phpMyAdmin SQL Dump | |
-- version 4.0.10.10 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Sep 25, 2015 at 01:00 PM | |
-- Server version: 5.1.73 | |
-- PHP Version: 5.3.3 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
/** | |
<div lazyimg lowres="small_landscape.jpg" highres="large_landscape.jpg" class="lazy-loader"> | |
</div> | |
**/ | |
angular.module('lazy', []) | |
.directive('lazyimg', function (){ |
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
[nodesource] | |
name=Nodesoruce RPM repo | |
baseurl=https://rpm.nodesource.com/pub_4.x/el/$releasever/$basearch/ | |
enabled=1 | |
gpgcheck=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
# NetData Configuration | |
# You can uncomment and change any of the options below. | |
# The value shown in the commented settings, is the default value. | |
# global netdata configuration | |
[global] | |
config directory = /etc/netdata | |
plugins directory = /usr/libexec/netdata/plugins.d | |
web files directory = /usr/share/netdata/web |
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 | |
# | |
# Netdata - this script starts and stops the netdata daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Netdata | |
# processname: netdata | |
# config: /etc/netdata/netdata.conf | |
# config: /etc/sysconfig/netdata | |
# pidfile: /var/run/netdata.pid |
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
%define netdata_user netdata | |
%define netdata_group %{netdata_user} | |
%define netdata_logdir %{_localstatedir}/log/netdata | |
%define netdata_confdir %{_sysconfdir}/netdata | |
%define netdata_datadir %{_datadir}/netdata | |
%define netdata_web %{_datadir}/netdata/web | |
%define netdata_cache %{_localstatedir}/cache/netdata | |
%define netdata_plugins %{_libexecdir}/netdata | |
%define netdata_bin %{_sbindir}/netdata |
OlderNewer