sz:将选定的文件发送到本地机器
rz:运行该命令会弹出一个文件选择窗口,从本地选择文件上传到Linux服务器
rz,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具,
windows端需要支持ZModem的telnet/ssh客户端,例如:SecureCRT
优点:比ftp命令方便,而且服务器不用打开FTP服务。
安装命令:
sudo apt-get i...
分类:
其他好文 时间:
2015-04-30 12:35:19
阅读次数:
530
HTTP POST GET 本质区别详解
一 原理区别
一般在浏览器中输入网址访问资源都是通过GET方式;在FORM提交中,可以通过Method指定提交方式为GET或者POST,默认为GET提交
Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE
URL全称是资源描述符,我们可以这样认 为:一个URL地址,它用于描述一个网络上的资源...
分类:
Web程序 时间:
2015-04-30 12:33:42
阅读次数:
141
本文遵守CC-BY。前言: 其实在Ubuntu下搭建apache服务器异常简单,下面开始正文。一、下载安装 其实这里有两种办法, 1.从官网下载源码到本地编译; 2.利用Ubuntn自带的apt-get; 其实两种方法我都用过,并且通过了,不过你没有什么高级的定制话需求的话,非常建...
分类:
Web程序 时间:
2015-04-30 10:25:44
阅读次数:
184
static inline unsigned long get_limit(unsigned long segment){unsigned long __limit;__asm__("lsll %1,%0":"=r" (__limit):"r" (segment));return __limit+1...
分类:
其他好文 时间:
2015-04-30 10:22:52
阅读次数:
146
public string GetIp() { Regex reg1 = new Regex("(\\d+).(\\d+).(\\d+).(\\d+)"); return reg1.Replace(GetRealIp, "*.$2.$3.$4"); } /// /// 获取用户的IP地址 ///.....
分类:
其他好文 时间:
2015-04-30 10:12:03
阅读次数:
115
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 09:00:03
阅读次数:
114
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character must be replaced with anot...
分类:
其他好文 时间:
2015-04-30 08:55:19
阅读次数:
142
Given two strings s and t, determine if they are isomorphic.
Two strings are isomorphic if the characters in s can be replaced to get
t.
All occurrences of a character must be replaced with a...
分类:
其他好文 时间:
2015-04-30 06:26:35
阅读次数:
125
前情回顾:上一篇第16关地址打开16关,又是一张奇奇怪怪很多点点的图片,应该又是与PIL库有关的.页面的标题是:let me get this straight。这是英语中的一句俚语,意思是让我把这事搞清楚.在这一关中其实是让我们把每一行像素位置调整后对其.看这幅图片,很多红色的点,于是想到是不是这...
分类:
编程语言 时间:
2015-04-30 00:50:23
阅读次数:
212