Skip to content

Instantly share code, notes, and snippets.

View Cathon's full-sized avatar

Cathon Cathon

  • Shanghai
View GitHub Profile
### 侵权站点与帐号
+ [嵌入式Linux中文站](http://www.embeddedlinux.org.cn/index.html)多篇文章侵权
+ http://www.embeddedlinux.org.cn/emb-linux/industry-news/201704/20-6570.html
+ [今日头条- 路由科技](http://www.toutiao.com/c/user/51068775390/#mid=1560651066361857)多篇文章侵权
- http://www.toutiao.com/i6411087425799455233/
+ [微信公众号-维族黑客联盟(微信号:m-hack)](http://mp.weixin.qq.com/profile?src=3&timestamp=1493351730&ver=1&signature=9CATb1ND85NLq8b-T96r92h1txdDAensZYA*-HdurZGl3Qx66JqFwIBTvAZo2PNc1*DjPy3c6fDe6OmuRghB5g==)多篇文章侵权
- http://mp.weixin.qq.com/s?timestamp=1493351735&src=3&ver=1&signature=xD0G*ywlygIRAe6GZ11L8XGmCPSDpwmPT6DsCmIWZf42ogqxMxJrmWS8x*FNED08CR6nLlIPra2NHCKpEEIQIXUX0ujuLKKEsArOKm60XtkvSkckUSqJBjvbfRewVH80lbveDroBRkNJT4VteNSIyMde07Y7TObs7WwozMUyRfU=
@Cathon
Cathon / U盘
Last active March 14, 2017 14:59
linux commands about U 盘
# 查看文件系统
df -h
# 操作分区表
fdisk -l
fdisk /dev/sdb
# 格式化文件系统
mkfs -V -t vfat /dev/sdb1
// http://www.w3school.com.cn/css/
// background
background-color: gray;
background-image: url(/i/eg_bg_04.gif);
background-repeat: repeat-y;
background-position: center;
background-attachment:fixed;
// text
function load() {
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState !== 4) return;
if (xhr.status !== 200) {
alert("Handle request failure here...");
return;
}
var res = JSON.parse(xhr.responseText);
@Cathon
Cathon / InfowindowDemo
Created February 24, 2016 13:37
Google map Js API infowindow array
var map;
var infowindow;
var locations = [
{lat: 52.511, lng: 13.447},
{lat: 52.549, lng: 13.422},
{lat: 52.497, lng: 13.396},
{lat: 52.517, lng: 13.394}
];
var contents = [
"aaa",