- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 Build Wordpress Server with CentOS7
DEC 27 2017 - DEC 29 2017Here is a work flow following the guidance [How To Install WordPress on CentOS 7].Environment: - Mac - Virtualbox Version 5.2.4 r119785 (Qt5.6.3) - CentOS 7 x86_64After ins
2017-12-29 11:51:35 417
原创 Learning Node.js
From 《Node.js 包教不包会》 – by alsotanglesson1包管理器 npmnpm 可以自动管理包的依赖. 只需要安装你想要的包, 不必考虑这个包的依赖包.在 PHP 中, 包管理使用的 Composer, python 中,包管理使用 easy_install 或者 pip,ruby 中我们使用 gem。而在 Node.js 中,对应就是 npm,npm 是 Node.js
2017-12-26 17:53:35 219
原创 [Leetcode] 194. Transpose File
Problem Given a text file file.txt, transpose its content.You may assume that each row has the same number of columns and each field is separated by the ’ ’ character.For example, if file.txt has the
2017-12-21 16:15:02 401
原创 [Leetcode] 192. Word Frequency
ProblemWrite a bash script to calculate the frequency of each word in a text file words.txt.For simplicity sake, you may assume:words.txt contains only lowercase characters and space ’ ’ characters.E
2017-12-21 11:42:17 242
原创 [Leetcode] 195. Tenth Line
Problem How would you print just the 10th line of a file?For example, assume that file.txt has the following content: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8
2017-12-20 14:40:09 186
原创 [LeetCode] 193. Valid Phone Numbers
Problem Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers.You may assume that a valid phone number must appe
2017-12-19 18:05:01 267
原创 python 2 Dec 11 - Dec 14
Dec 1108.05 special method 特殊方法Python 使用 __ 开头的名字来定义特殊的方法和属性,它们有: - __init__() : 构造方法 - __repr__() - __str__() - __call__() - __iter__() - __add__() - __sub__() - __mul__() - __rmul__() - __c
2017-12-19 15:34:17 342
原创 linux 运维 3 & python 1
Nov 24第11章 统一网络控制器Func详解配置iptablesiptables -I INPUT -s 192.168.1.0/24 -p tcp --dport 51235 -j ACCEPT#配置开通192.168.1.0/24网段访问服务51235端口Python%whos #使用whos查看当前的变量空间Variable Type Data/Info----------
2017-12-07 12:03:17 165
用C++/MFC实现P2P和群聊功能的聊天小软件
2015-03-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人