To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptracerouteTo install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptraceroute| using System; | |
| using System.Collections; | |
| using System.IO; | |
| using System.Security.AccessControl; | |
| static class Tester | |
| { | |
| public static void Main() | |
| { | |
| try | |
| { |
| #!/usr/bin/env python | |
| import ast | |
| import json | |
| import os | |
| import subprocess | |
| import argparse | |
| import sys | |
| FNULL = open(os.devnull, 'w') |
| $pinvokeCode = @" | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using System.Collections.Generic; | |
| namespace Resolution | |
| { | |
| [StructLayout(LayoutKind.Sequential)] | |
| public struct DEVMODE1 | |
| { | |
| [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] |
| #!/usr/bin/env bash | |
| yum install vala vala-compat wget gcc libevent-devel openssl-devel gtk2-devel libuuid-devel sqlite-devel jansson-devel intltool cmake qt-devel fuse-devel | |
| echo "Building and installing seafile client" | |
| export version=4.2.8 # change this to your preferred version | |
| alias wget='wget --content-disposition -nc' | |
| wget https://github.com/haiwen/libsearpc/archive/v3.0.2.tar.gz | |
| wget https://github.com/haiwen/ccnet/archive/v${version}.tar.gz |
| #!/bin/bash | |
| ############################### | |
| # Seafile server backup script (cold sqlite backup) | |
| # Author: Nils Kuhnert | |
| # Last change: 2014-07-27 | |
| # Website: 3c7.me | |
| ############################### | |
| # Variables | |
| DATE=`date +%F` |
| import re | |
| import datetime | |
| UTIL_CN_NUM = { | |
| u'零': 0, | |
| u'一': 1, | |
| u'二': 2, | |
| u'两': 2, | |
| u'三': 3, | |
| u'四': 4, |
| #!/usr/bin/env python3 | |
| # -*- coding:utf-8 -*- | |
| __author__ = 'Nisests' | |
| import requests | |
| from bs4 import BeautifulSoup | |
| login_url = 'https://www.packtpub.com/' | |
| accout_url = 'https://www.packtpub.com/account' |
| #!/bin/bash | |
| merge_num=-2 | |
| split_num=16 | |
| while [[ "$(ceph health)" != "HEALTH_OK" ]]; do | |
| sleep 10 | |
| done | |
| # Some method to set your ceph.conf file to the subfolder splitting settings you want. |
To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptracerouteTo install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptracerouteopenwrt,用于缓存服务器
其web控制界面位于http://192.168.1.1:8123/polipo/
# polipo daemon configuration
config 'polipo' 'daemon'
# daemonise polipo (fork in background)
option 'daemonise' '1'
# where polipo will store its process pid
option 'pidFile' '/var/run/polipo.pid'