These days I was learning from Computer Networking --A Top-Down Approach by Kurose Ross. I modified the C/S model socket program in Python in Chapter 2. Here is the program's source code. #!/usr/bin/python2.7 # UDP - Client from socket import * serve…
目录 Chapter 1: Computer Networks and the Internet 1. What is the Internet? 2. The Network Edge 3. The Network Core 4. Delay,Loss,and Throughput in Packet-Switched Networks Chapter 2 : Application Layer 应用层 1.进程间交流(p88) 2.安全的传输层协议(p94) 3.Web Caching(p1…
1.python调用top命令获得CPU利用率 思路:通过python调用top命令获取cpu使用率 #python2代码 [root@zdops-server script]# cat cpu_loadavg.py #!/usr/bin/env python # -*- coding:utf-8 -*- #Author: nulige import os,time time2sleep = 2.5 while True: print int(time.time()), print os.pop…
[it-ebooks]电子书列表   [2014]: Learning Objective-C by Developing iPhone Games || Leverage Xcode and Objective-C to develop iPhone games http://it-ebooks.info/book/3544/Learning Web App Development || Build Quickly with Proven JavaScript Techniques http:…
转自:http://developer.51cto.com/art/201507/483510.htm 很多来自世界各地的程序员不求回报的写代码为别人造轮子.贡献代码.开发框架.开放源代码使得分散在世界各地的程序员们都能够贡献他们的代码与创新. Python就是这样一门受到全世界各地开源社区支持的语言.Python可以用来开发各种小工具软件.web应用.科学计算.数据分析等等,Python拥有大量的流行框架,比如Django.使用Python框架时,可以根据自己的需求插入不同的模块,比如可以用S…
Machine and Deep Learning with Python Education Tutorials and courses Supervised learning superstitions cheat sheet Introduction to Deep Learning with Python How to implement a neural network How to build and run your first deep learning network Neur…
转自: http://studytipsandtricks.blogspot.com/2012/05/15-most-important-differences-between-c.html Basic Introduce: C++ is derived from C Language. It is a Superset of C. Earlier C++ was known as C with classes. In C++, the major change was the addition…
2015-05-26   628   Code-Tuning Techniques    ——Even though a particular technique generally represents poor coding practice, specific circumstances might make it the best one to use.    ——One key to writing effective loops is to minimize the work don…
http://www.hawstein.com/posts/ctci-solutions-contents.html 作者:Hawstein出处:http://hawstein.com/posts/ctci-solutions-contents.html声明:本文采用以下协议进行授权: 自由转载-非商用-非衍生-保持署名|Creative Commons BY-NC-ND 3.0 ,转载请注明作者及出处. 前言 <Cracking the coding interview>是一本被许多人极力推…
Effective Go  高效的go语言 Introduction 介绍 Examples 例子 Formatting 格式 Commentary 评论 Names 名字 Package names 包名 Getters Interface names 接口名 MixedCaps Semicolons 分号 Control structures 控制结构/循环结构 If Redeclaration and reassignment For Switch Type switch Function…