start new:
tmux
start new with session name:
tmux new -s myname
# new fq-codel style | |
delete traffic-control | |
set traffic-control smart-queue wan-qos interface eth1 | |
set traffic-control smart-queue wan-qos rate-up 34mbit | |
set traffic-control smart-queue wan-qos limit 600 | |
set traffic-control smart-queue wan-qos target 2ms | |
sudo tc qdisc change dev eth1 parent 1:10 handle 100: fq_codel quantum 300 |
// Sample custom iterator. | |
// By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558) | |
// From: http://www.dreamincode.net/forums/index.php?showtopic=58468 | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> | |
#include <cassert> |
With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.
autofs needs to be configured so that it knows where to gets its configuration. Edit the file '/etc/auto_master' and add the last line:
#
# Automounter master map
#
+auto_master # Use directory service
if self.baseboard == 'sfp': | |
cmd = '%s/xgige_sfp_i2c_config.py %d' % (self.exec_dir, ii) | |
os.system(cmd) | |
cmd = '%s/xgige_sfp_phy_config.py %d %s %s' % (self.exec_dir, ii, self.phy_type, self.range) | |
os.system(cmd) |
# | |
# Insert a regular expression for support of the model or the serie of your hard drive. | |
# If you don't know what to put in the second field, put the number | |
# that appears most often for your brand :o) | |
# A value of zero meens that we know that the drive doesn't have | |
# a temperature sensor (you can set the unit to C or F). | |
# | |
############################################################################ | |
# The following list was found at (http://www.almico.com/forumharddisks.php) | |
# If your drive is in the list send me a mail. |