1、消息框 btn01.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { AlertDialog.Builder ab = new AlertDialog.Builder(B ...
分类:
移动开发 时间:
2019-02-12 00:26:28
阅读次数:
182
conn:packagemainimport("fmt""github.com/garyburd/redigo/redis")funcmain(){c,err:=redis.Dial("tcp","localhost:6379")iferr!=nil{fmt.Println("connredisfailed,",err)return}deferc.Close()}hset:packagemaini
分类:
其他好文 时间:
2019-02-11 14:14:23
阅读次数:
179
使用docker报如下错误信息: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fd ...
分类:
Web程序 时间:
2019-02-10 17:34:46
阅读次数:
2720
(1)CentOS版本:安装的时候最小化安装必须有下列包组:yumgroupinstall"Compatibilitylibraries""Base""Developmenttools"yumgroupinstall"debuggingTools""Dial-upNetworkingSupport"
分类:
数据库 时间:
2019-02-09 18:01:08
阅读次数:
190
网络编程:各种IPC方法,socket;syscall包介绍socket基础知识:通信域,类型(TCP、UDP),使用协议;net.Dial函数:发送http和https请求;net.DialTimeout函数:设置请求超时时间
分类:
其他好文 时间:
2019-02-09 10:39:57
阅读次数:
228
[toc] 1. 基本用法 1. 获取连接 2. 操作redis 2. Redis连接池 获取连接:`conn := pool.Get()` ...
分类:
其他好文 时间:
2019-02-08 23:27:41
阅读次数:
233
定时器 Static控件 写一个Static控件,ID设置为【IDC_STATIC_TIME】,添加成员变量为【m_szTime】,描述文字写成【时间:还剩 30 秒】 定时器初始化 在主界面对话框的【属性】 【消息】,选择【WM_TIMER】增加一个【OnTimer()】。 在对话框的【.cpp】 ...
分类:
其他好文 时间:
2019-02-07 16:29:31
阅读次数:
200
In the video game Fallout 4, the quest "Road to Freedom" requires players to reach a metal dial called the "Freedom Trail Ring", and use the dial to s ...
分类:
其他好文 时间:
2019-01-31 00:09:11
阅读次数:
148
//1.拨打电话 // 给移动客服10086拨打电话 Uri uri = Uri.parse("tel:10086"); Intent intent = new Intent(Intent.ACTION_DIAL, uri); startActivity(intent); //2.发送短信 // 给 ...
分类:
移动开发 时间:
2019-01-28 17:42:20
阅读次数:
178
<dependency><groupId>io.appium</groupId><artifactId>java-client</artifactId><version>7.0.0</version></dependency>importjava.util.Set;importjava.util.con
分类:
其他好文 时间:
2019-01-27 21:30:33
阅读次数:
262