Fedora 23 KDE 安装 VMware 12.1 启动报错解决

启动时报错:
(vmware-modconfig:21592): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,

(vmware-modconfig:21592): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“adwaita”,
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:1163: error: unexpected identifier `direction', expected character `}'
解决方法:
su root
cd /usr/lib/vmware/lib
for mylib in $(ls /usr/lib64/*4600*); do /bin/cp -afv $mylib $(basename 
更多...

php httpproxy

< ?php $proxyList = [ "106.240.240.139:8080", "121.95.100.224:8080", "191.234.20.141:8080", "101.200.202.168:80", ]; $sUserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36"; //$url = "https://www.baidu.com"; //$reffer = ""; $url = "https://xxxx.cn/"; $reffer = ""; $length = count($proxyList); $times = 0; $step = 100; $start = $times * $step; $end = $start + $step; if ($end > $length) {
$end = $length;
}

for ($i = $start; $i < $end; $i++) { $options = array( CURLOPT_RETURNTRANSFER => true, // return web page
CURLOPT_HEADER =true, // return headers
CURLOPT_FOLLOWLOCATION =false, // follow redirects
CURLOPT_USERAGENT =$sUserAgent, // who am i
CURLOPT_AUTOREFERER =true, // set … 更多...