alias.url = ("/netcleaner" => "/home/nontawatt/workspaces/net_cleaner/src/www/public/")
url.rewrite-once = (
"^/netcleaner/compiled/(.*)" => "/netcleaner/compiled/$1",
"^/netcleaner/(favicon\.ico|robots\.txt|sitemap\.xml)$" => "/netcleaner/$1",
"^/netcleaner/[^\?]*(\?.*)?$" => "/netcleaner/index.php/$1"
)
$HTTP["url"] =~ "^/netcleaner" {
url.redirect = ()
Install package
sudo apt-get install apache2-utils
Generate htpasswd file
sudo htpasswd -c /var/www/yourweb/.htpasswd yourname
sudo tshark -i em0 -f "tcp port 514"
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 | |
type realpath &>/dev/null | |
if [ $? -eq 1 ]; then | |
sudo apt-get -qq update && sudo apt-get -qq install realpath -y | |
fi | |
type lftp &>/dev/null | |
if [ $? -eq 1 ]; then | |
sudo apt-get -qq update && sudo apt-get -qq install lftp -y |
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
IANA-IPPM-METRICS-REGISTRY-MIB DEFINITIONS ::= BEGIN | |
IMPORTS | |
OBJECT-IDENTITY, MODULE-IDENTITY, mib-2 | |
FROM SNMPv2-SMI; | |
ianaIppmMetricsRegistry MODULE-IDENTITY | |
LAST-UPDATED "201508140000Z" -- August 14, 2015 | |
ORGANIZATION "IANA" |
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
(function() { | |
// | |
// Initial variables | |
// | |
var w,h,div,tooltip,_w,_h; | |
var sizes = d3.scale.linear() | |
.range([4, 400]); |
Modify influxdb 0.9 retention policy on localhost:8083
ALTER RETENTION POLICY default ON collectd DURATION 3d DEFAULT
Show retention policy
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 | |
# | |
# Configure network interfaces scripts | |
# Ansible managed: /vagrant/005-application/roles/sran.network-interfaces/templates/configure-network-interfaces.sh.j2 modified on 2016-03-14 22:42:44 by vagrant on ubuntu | |
# | |
#################################################################################################### | |
# Configure bridge interfaces # | |
############################### |