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
-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
#!/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
[Unit] | |
Description=netdata | |
After=network.target httpd.service squid.service nfs-server.service mysqld.service named.service postfix.service | |
[Service] | |
Type=forking | |
WorkingDirectory=/tmp | |
User=root | |
Group=root | |
PIDFile=/var/run/netdata/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 |
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
## Scan for new disks | |
for host in $(ls /sys/class/scsi_host/); do echo "- - -" > /sys/class/scsi_host/$host/scan; done | |
## scan for disk changes | |
for scsi in $(ls /sys/class/scsi_disk/); do echo "1" > /sys/class/scsi_disk/$scsi/device/rescan; done |
OlderNewer