05 2016 档案

泛型
摘要:理解: 1.<T> 你要替换的参数类型。 2. 阅读全文

posted @ 2016-05-31 21:57 rexhu 阅读(71) 评论(0) 推荐(0)

Django
摘要:参考:http://djangobook.py3k.cn/2.0/ Q1. 在Ubuntu 16.04下安装Django? [使用其中一种方法] 1.apt-get update 2.For Python2: apt-get install python-django, For Python3: a 阅读全文

posted @ 2016-05-26 18:05 rexhu 阅读(141) 评论(0) 推荐(0)

Ubuntu
摘要:Q1:Official Ubuntu Documention https://help.ubuntu.com/ Q2: 修改TTY分辨率(ChangeTTYResolution) For 9.10 and later: /etc/default/grub 1.查看分辨率:vbeinfo 2.添加一新 阅读全文

posted @ 2016-05-26 17:34 rexhu 阅读(187) 评论(0) 推荐(0)

Bash
摘要:资源1:http://tldp.org/LDP/abs/html/index.html 资源2: 1. 函数 Shell 函数定义 函数的返回值,可以显示的增加retrun;如果不加,会将最后一条命令运行结果作为返回值。 函数的返回值只能是整数,一般用来表示执行成功与否,0表示成功,其他表示失败。 阅读全文

posted @ 2016-05-26 15:01 rexhu 阅读(120) 评论(0) 推荐(0)

FireDAC
摘要:http://docs.embarcadero.com/products/rad_studio/firedac/frames.html Access: http://docwiki.embarcadero.com/RADStudio/XE8/en/Connect_to_Microsoft_Acces 阅读全文

posted @ 2016-05-23 21:38 rexhu 阅读(186) 评论(0) 推荐(0)

类字段及类方法
摘要:1. 类字段, 使用class var 声明类字段。 Type TBall = class(TObject) class var shape: string; name: string; end; 2.类方法 - 类方法声明以class开始,其余和一般方法没有任何区别。class关键字不能省略。 - 阅读全文

posted @ 2016-05-19 12:38 rexhu 阅读(520) 评论(0) 推荐(0)

窗体可视化继承
摘要:1.新建工程 - 创建基类窗体,设置为不自动创建,保存 - 创建子类窗体,new - other - inheritable items - 选择基类窗体。 2.已有工程 - 引用基类单元 - 修改Class 基类 - 修改 dfm档,object -> inherited (关键) inherit 阅读全文

posted @ 2016-05-19 07:54 rexhu 阅读(193) 评论(0) 推荐(0)

Vim使用
摘要:Q1.移动命令 gg: 移动到文件头。 G(shift + g): 移动到文件尾。 Q2.如何从一个文件复制内容到另外一个文件 A: 1.在命令模式下输入 :sp 横向:vsp 纵向切分一个窗口。 2.命令模式下输入 :e 2.txt, 在其中一个窗口打开另外一个文件。 3.两文件之间切换,在命令模 阅读全文

posted @ 2016-05-18 17:19 rexhu 阅读(84) 评论(0) 推荐(0)

检测delphi的程序的内存泄漏
摘要:在主窗体的FormCreate 加入ReportMemoryLeaksOnShutdown := True; 阅读全文

posted @ 2016-05-17 17:28 rexhu 阅读(878) 评论(0) 推荐(0)

数据库语言
摘要:1.Data Defintion Language (DDL, 数据定义语言) 2.Data Manipultaion Language (DML, 数据库操纵语言) 3.Data Control Language (DCL 数据控制语言) 阅读全文

posted @ 2016-05-17 14:40 rexhu 阅读(160) 评论(0) 推荐(0)

数据库设计步骤
摘要:1.需求分析 - 需要什么样的数据,应用程序和业务 2.概念数据库设计 -使用E-R模型或类似的高层次模型,描述数据 3.逻辑数据库设计 -将概念设计转换为某个DBMS所支持的数据模型 4.结构化 -关系标准化,检查冗余和相关的异常关系结构 5.物理数据库设计 -索引,集群和数据库的调优 6.创建并 阅读全文

posted @ 2016-05-17 14:36 rexhu 阅读(175) 评论(0) 推荐(0)

redhat系列yum本地源配置
摘要:1.挂载光盘,本示例挂载在/mnt下。 2.清除系统带的.repo文件,rm -f /etc/yum.repos.d/* 3.编辑自己的repo文件,内容如下: 【local_server】 (库名) name=This ... (描述) baseurl=file:///mnt (yum 源目录,源 阅读全文

posted @ 2016-05-16 17:53 rexhu 阅读(178) 评论(0) 推荐(0)

WinAPI
摘要:1.InterLockedIncrement, InterlockedDecrement. 2. 阅读全文

posted @ 2016-05-15 21:25 rexhu 阅读(141) 评论(0) 推荐(0)

Git客户端使用
摘要:1.下载安装包 git: https://git-for-windows.github.io/index.html tortoisegit: https://download.tortoisegit.org/ 2.基本设定 3.git命令 之 切换分支 Git一般有很多分枝,clone到本地的一般是 阅读全文

posted @ 2016-05-14 21:13 rexhu 阅读(122) 评论(0) 推荐(0)

python 基础
摘要:1.查看内置函数 >>> dir(__builtins__) 2.查看内置函数帮助 >>> help(input) help查看 3.变量 变量没有声明,直接使用。如: thacher="rex". 注意: 1>要有赋值。 4.字符串 转义字符 \ 原始字符串:r'c:\program\tcs' 5 阅读全文

posted @ 2016-05-14 07:37 rexhu 阅读(189) 评论(0) 推荐(0)

Python 安装
摘要:1.Windows 官方网站下载Windows安装包,双击一步一步安装。 IDLE 是什么: IDLE 快捷方式创建:C:\Python35\pythonw.exe "C:\Python35\Lib\idlelib\idle.pyw" 2.Linux 基本上都自带。 阅读全文

posted @ 2016-05-14 06:38 rexhu 阅读(123) 评论(0) 推荐(0)

python 学习资料
摘要:1.www.python.org 2.https://ansheng.me/Python-full-stack-Way/index.html 阅读全文

posted @ 2016-05-14 06:31 rexhu 阅读(202) 评论(0) 推荐(0)

systemd
摘要:https://wiki.archlinux.org/index.php/systemd_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29 阅读全文

posted @ 2016-05-04 11:05 rexhu 阅读(91) 评论(0) 推荐(0)

导航