在linux上利用wget下载冷门文件

经常有的时候我们需要从国外的网站上下载一些比较大个的文件,速度就成了让人很头疼的问题。开着电脑彻夜下载,既不环保也不科学。现在有种叫离线下载的东西灰常好用,但是对于国外的某些资源,速度也相当堪忧,所以我们可以先利用国外的vps或主机,用wget工具下载到服务器上再用迅雷的离线转存回来即可,下面就简单的介绍一下。

wget的的详细介绍及说明请见wiki

一般的文件直接用wget "文件url" 的格式就可以下载,针对有cookie限制的网站,可以使用下列命令:

wget --load-cookies cookies.txtURL” -Ofilename

其中cookies.txt是网站的cookies文件,可用Export Cookies这个插件。URL是文件的下载地址。后面空格加上文件的重命名,这样就可以快速下载国外冷门文件了。

 

Signing iOS mobileconfig files with your certificate

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.

riddle

1:点击Don't install.

2:Ctrl+A ,你看见了什么?

3:查看图片的地址然后打开,知道是?

4:打开源文件。

5:这个是字母表密码。

6:goole一下无限弹珠的游戏秘籍

7:与Windows齐名的另一款系统软件 企鹅系统?

8:(元素周期表)先翻译成数字,再翻译成字母。

9:看见图上的字母了吗?我一直以为是loves

10:源文件老规矩看title  “Diagonal”

11:泰坦尼克号:不沉的船还是沉了

12:百度一下你就知道(1874)

13:看见源文件中有一个Pets Not Giant.取首字母得PNG,拷贝老虎图片地址,将后缀名改成png便知秘密

14:直接算出来吧(534202)

15:直接算出来吧(13942)

16:数字人生(43140624)

继续阅读

SSH远程会话管理工具 – screen使用教程(转)

在刚接触Linux时最怕的就是SSH远程登录Linux VPS编译安装程序时远程执行的命令也被迫停止,只能重新连接,重新运行。今天就介绍一款远程会话管理工具 - screen命令。

一、screen命令是什么?

Screen是一个可以在多个进程之间多路复用一个物理终端的全屏窗口管理器。Screen中有会话的概念,用户可以在一个screen会话中创建多个screen窗口,在每一个screen窗口中就像操作一个真实的telnet/SSH连接窗口那样。

二、如何安装screen命令?

除部分精简的系统或者定制的系统大部分都安装了screen命令,如果没有安装,CentOS系统可以执行:yum install screen ;

Debian/Ubuntu系统执行:apt-get install screen 。 继续阅读