摘要: http://mooc.study.163.com/learn/HIT-1000002004CS:段寄存器IP是偏移CS左移4位+IP实模式和保护模式对应,实模式的寻址CS:IP(CS左移4位),和保护模式不一样第五步是读入一个扇区引导扇区就是启动设备的第一个扇区启动设备信息被设置在CMOS中引导扇... 阅读全文
posted @ 2015-03-18 15:37 向日葵的祈愿 阅读(306) 评论(0) 推荐(0)
摘要: 读取 Console.ReadKey();References项包含项目中使用的一个.NET库列表弹出消息对话框MessageBox.Show(“”);事件用 += ,表示注册, += new 一个事件处理器Object sender 表示谁发生了这个事件Eventargs 事件的对象随机数 Ran... 阅读全文
posted @ 2015-03-14 22:03 向日葵的祈愿 阅读(432) 评论(0) 推荐(0)
摘要: ssh-keygen -t rsa -C "your_email@youremail.com"然后输入github上的密码Enter passphrase (empty for no passphrase): [Type a passphrase]Enter same passphrase agai... 阅读全文
posted @ 2015-02-03 22:04 向日葵的祈愿 阅读(582) 评论(0) 推荐(0)
摘要: 前几天和两个朋友一起租了个国外的服务器,自己手头有个域名,打算寒假把flask学了做个网站玩一玩,不过还没开工,下午学了下flask弄了个helloworld,所以迫不及待的想先试一下把它部署到服务器上去。使用的架构是uwgsi+nginx+flask.nginx是个什么东西呢,我们购买的服务器有一... 阅读全文
posted @ 2015-02-03 21:13 向日葵的祈愿 阅读(3151) 评论(1) 推荐(0)
摘要: 今天要安装postgresql但是安装的时候出现错误Unknown error while running C:\Users\jinjin\AppData\Local\Temp\postgresql_installerxxxxxxx\getlocales.exe网上百度对这个问题搜了一下只有3个链接... 阅读全文
posted @ 2015-01-02 15:24 向日葵的祈愿 阅读(10251) 评论(0) 推荐(0)
摘要: 最近在搞一个外包项目,有个非常厉害的师兄带我,他写后端,我负责前端部分,项目合作需要用到github,这也是早晚要接触,记录下项目过程中对github/git使用的学习笔记。1.在网上看了一些教程之后在自己的github上创建了一个仓库,然后尝试创建分支,push,感觉好像可以了之后,就在项目上建立... 阅读全文
posted @ 2015-01-02 10:48 向日葵的祈愿 阅读(353) 评论(0) 推荐(0)
摘要: 先贴上Application这个类的源码。class Application(httputil.HTTPServerConnectionDelegate): """A collection of request handlers that make up a web application. ... 阅读全文
posted @ 2014-11-11 20:55 向日葵的祈愿 阅读(893) 评论(0) 推荐(0)
摘要: import tornado.webimport tornado.httpserverimport tornado.ioloopimport tornado.optionsimport os.pathfrom tornado.options import define, optionsdefine(... 阅读全文
posted @ 2014-11-01 22:34 向日葵的祈愿 阅读(533) 评论(0) 推荐(0)
摘要: 发现之前写太繁琐。。这里分享下同学的方法1,安装 Python 2.7.x 版本地址:https://www.python.org/downloads/release/python-278/2,安装 python setuptools 工具地址:https://pypi.python.org/pyp... 阅读全文
posted @ 2014-10-30 21:13 向日葵的祈愿 阅读(1821) 评论(1) 推荐(0)
摘要: 题目,排队打印问题Input FormatOne line with a positive integer: the number of test cases (at most 20). Then for each test case:One line with two integers n and... 阅读全文
posted @ 2014-05-28 17:34 向日葵的祈愿 阅读(355) 评论(0) 推荐(0)