现在众所周知GoDaddy的NS服务器已经被封的所剩无几,剩下的也是奄奄一息,相当不稳定。
所以介于这种情况,推荐使用DNSPod的解析服务。个人使用了半年多,从监控记录上来看故障
率是0,这对于免费服务来说很不错了。下面就教大家如何一步步的将GoDaddy上的域名DNS改
变到DNSPod。 提示:拖放图片到新页面打开查看大图
最近坊间盛传Google+已经可以在国内无障碍访问,真是一件令人欢欣鼓舞的事情。
伴随着Google+的开放(不排除是某强君抽风),大批英勇人士涌入G+,瞬间让
欧巴马总统的首页插遍汉字……多的不说见图:
刚刚打开博客文章突然就404了,吓我一大跳。最后上网查询了一下资料发现是伪静态设置的问题。因为使用的是nginx的系统,所以不能设置.htaccess文件,而需要通过设置conf文件来实现伪静态,以下为综合网上资料,实验有效的方法。
打开nginx配置文件nginx.conf,在location段添加下面这一行代码:
location / {
index index.html index.php;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename)
{
rewrite (.*) /index.php;
}
}
经常有的时候我们需要从国外的网站上下载一些比较大个的文件,速度就成了让人很头疼的问题。开着电脑彻夜下载,既不环保也不科学。现在有种叫离线下载的东西灰常好用,但是对于国外的某些资源,速度也相当堪忧,所以我们可以先利用国外的vps或主机,用wget工具下载到服务器上再用迅雷的离线转存回来即可,下面就简单的介绍一下。
wget的的详细介绍及说明请见wiki
一般的文件直接用wget "文件url"
的格式就可以下载,针对有cookie限制的网站,可以使用下列命令:
wget --load-cookies cookies.txt “URL” -Ofilename
其中cookies.txt是网站的cookies文件,可用Export Cookies这个插件。URL是文件的下载地址。后面空格加上文件的重命名,这样就可以快速下载国外冷门文件了。
If you’ve ever used Apple’s iPhone Configuration Utility, you’ve probably noticed that it says ‘Unsigned’ when you send the .mobileconfig file to your device. To sign the profile, export or email the config file to yourself, have your certificate files handy, and type the following:
openssl smime \
-sign \
-signer your-cert.pem \
-inkey your-priv-key.pem \
-certfile TheCertChain.pem \
-nodetach \
-outform der \
-in ConfigProfile.mobileconfig \
-out ConfigProfile_signed.mobileconfig
The files you’ll need are:
your-cert.pem – this is the certificate you’ve been issued
your-priv-key.pem – this is your private key
TheCertChain.pem – this is the certificate chain (optional, in some cases)
ConfigProfile.mobileconfig – This is the unsigned copy of your configuration profile
The original instructions are located here.