/************************************************************************** * how to get keyboard key with non blocking in terminal * 声明: * 如何在终端下以非堵塞的方式获取按键的键值,这个想法最初是因为 * 在单线程下实现多任务,同时不因键盘输入而堵塞,核心内容来自网络, * 但已经忘了出处. * * 2015-7-5 晴 深圳 南山平山村 曾剑锋 *****…
main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" andr…
Preface At the first time, we take the connection with GitLab remote server. You need to type username and password as your individual credentials to login the server, since the connection between the client(your computer) and remote server(Git sever…
如何给 GitHub 添加  SSH key, 如何生成  SSH key 详细图文教程! 一. 生成  SSH key https://ide.c9.io/xgqfrms/ 创建一个空项目:(或使用真实 Linux 主机) PS: windows 类似(? CMD) ReadMore https://ide.c9.io/xgqfrms/demo 打开 shell(bash), 输入: $ npm install -g git-it 生成 SSH-Key $ ssh-keygen -t rsa…
消息,就是指Windows发出的一个通知,告诉应用程序某个事情发生了.例如,单击鼠标.改变窗口尺寸.按下键盘上的一个键都会使Windows发送一个消息给应用程序.消息本身是作为一个记录传递给应用程序的,这个记录中包含了消息的类型以及其他信息.例如,对于单击鼠标所产生的消息来说,这个记录中包含了单击鼠标时的坐标.这个记录类型叫做TMsg, 它在Windows单元中是这样声明的:typeTMsg = packed recordhwnd: HWND; / /窗口句柄message: UINT; / /…
OC 类簇与复合 类簇: 类簇是Foundation框架中广泛使用的设计模式.类簇将一些私有的.具体的子类组合在一个公共的.抽象的超类下面,以这种方法来组织类可以简化一个面向对象框架的公开架构,而又不减少功能的丰富性. 简单的来说,NSString是个"工厂类",然后它在外层提供了很多方法接口,但是这些方法的实现是由具体 的内部类来实现的.当使用NSString生成一个对象时,初始化方法会判断哪个"自己内部的类"最适合生成这个对象,然后这个"工厂"…
1.添加时间监听: Chrom中: addEventListener的使用方式: target.addEventListener(type, listener, useCapture); target: 文档节点.document.window 或 XMLHttpRequest. type: 字符串,事件名称,不含"on",比如"click"."mouseover"."keydown"等. listener :实现了 Even…
在  https://github.com/rainmanwy/robotframework-SikuliLibrary 看到rainmanwy 整理的SikuliLibrary库,非常适合工作需要,将原关键字整理成了中文,也是对这些资料的学习. Keyword Arguments Documentation 翻译 功能 Add Image Path path Add image path 添加图片路径 配置调用图片存储的位置 Capture Screen   Capture whole scr…
布局文件 <?xml version="1.0" encoding="UTF-8"?> <Keyboard android:keyWidth="10.000002%p" android:keyHeight="@dimen/key_height" android:horizontalGap="0.0px" android:verticalGap="0.0px" xmlns…
Create page WM (Constants)   Summary WM_* Constants and their definitions or descriptions and what can cause them to be sent. Also is a list of constants for C# and VB. For a C# enum see WindowsMessages Definitions / Descriptions WM_ACTIVATE 0x6 The…