I hereby claim:
- I am agustik on github.
- I am agustik (https://keybase.io/agustik) on keybase.
- I have a public key ASACQlBlO5a3qMSVpZMYW59tdejyNaTGla1P9xf2gN_a6go
To claim this, I am signing this object:
#!/bin/bash | |
port=$(shuf -i 9000-60000 -n 1) | |
file=$1 | |
if [[ -z "$1" ]]; then | |
echo "Missing file, use $0 <file>" | |
exit 1 | |
fi | |
md5=$(md5sum $file | awk '{ print $1 }') |
#!/bin/bash | |
#SOURCE:http://everything-virtual.com/2016/05/06/creating-a-centos-7-2-vmware-gold-template/ | |
yum update -y | |
#stop logging services | |
/sbin/service rsyslog stop | |
/sbin/service auditd stop | |
#remove old kernels |
install | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw vagrant | |
firewall --disabled | |
selinux --permissive | |
timezone UTC | |
bootloader --location=mbr |
#!/bin/bash | |
# | |
# usage bash find-pkg.sh <pkg name> | |
# | |
cachedir=/tmp/freebsd/pkc/cache | |
version=11 | |
repo="http://pkg.freebsd.org/FreeBSD:${version}:amd64/latest/" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
server=$1 | |
for version in ssl1 tls1 tls1_1 tls1_2 tls1_3; do | |
echo "Testing $version on $server"; | |
echo | openssl s_client -connect $server:443 -$version > /dev/null 2> /dev/null; | |
o=$? | |
if [[ "$o" == "0" ]]; then | |
echo "$version is supported"; |
// npm install yargs node-watch | |
// node index.js -s watherfolder -d destfolder | |
const watch = require('node-watch'); | |
const argv = require('yargs').argv; | |
const fs = require('fs'); | |
const util = require('util'); | |
const path = require('path'); |
$.each($('table.k-selectable tbody[role="rowgroup"] tr[aria-selected="true"] td:first-child span[title]'), function (i, vm){ console.log($(vm).text()) }); |
#!/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); |
# 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 |