博文

目前显示的是 七月, 2017的博文

梅林7.7 安装shadowsocksR

cd /tmp wget --no-check-certificate --timeout=15 https://raw.githubusercontent.com/koolshare/koolshare.github.io/acelan_softcenter_ui/shadowsocks/shadowsocks.tar.gz tar -zxvf /tmp/shadowsocks.tar.gz chmod +x /tmp/shadowsocks/install.sh sh /tmp/shadowsocks/install.sh

一行命令升级所有pip安装的Python包

sudo pip3 install -U distribute && pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs pip3 install -U --allow-external mysql-connector-python

LEDE编译

  ./scripts/feeds update packages ./scripts/feeds install libpcre ./scripts/feeds install zlib ./scripts/feeds install libopenssl  ./scripts/feeds install libsodium ./scripts/feeds install libev ./scripts/feeds install libpcap make package/luci-app-rss/compile V=99

R解析xml文件

library(XML) # 解析XML文件 doc <- xmlParse('/home/xuefliang/Dropbox/xin.xml') url <- unlist(getNodeSet(doc,"//enclosure/@url"),use.names = T) title <- unlist(getNodeSet(doc,"//title/text()"),use.names = FALSE) df <- data.frame(url) write.csv(df,'/home/xuefliang/xin.csv') library(xml2) doc <- read_xml('/home/xuefliang/Downloads/xin.xml') #xml_name(doc) #xml_text(doc) xml_find_all(doc, ".//enclosure/@url")[]

Installing Cisco AnyConnect VPN on Ubuntu 16.04

1 sudo apt install network-manager-openconnect   systemctl daemon-reload 2 sudo ./vpn_install.sh