如题:基本网上某个版本优化:@Echo Off::Ipconfig /all >i.txt::findstr /r "10.*.*.*" i.txt>ip.txtset ftp.up=C:\Users\%username%\AppData\Local\ftp.upset file=C:\Users\...
分类:
Web程序 时间:
2015-09-23 13:13:59
阅读次数:
270
一、在Android,一个单独的TextView是无法滚动的,需要放在一个ScrollView中。
ScrollView提供了一系列的函数,其中fullScroll用来实现FOCUS_UP和FOCUS_DOWN键的功能,也就是滚动到顶部和底部。
如果在TextView的append后面马上调用fullScroll,会发现无法滚动到真正的底部,..
分类:
移动开发 时间:
2015-09-23 12:01:17
阅读次数:
223
一、在Android,一个单独的TextView是无法滚动的,需要放在一个ScrollView中。 ScrollView提供了一系列的函数,其中fullScroll用来实现FOCUS_UP和FOCUS_DOWN键的功能,也就是滚动到顶部和底部。 如果在TextView的...
分类:
移动开发 时间:
2015-09-23 10:41:46
阅读次数:
159
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2015-09-23 10:16:46
阅读次数:
123
mysql单实例的root的用户密码丢失了,我们是可以找回来的,主要找回密码步骤如下:1)停止mysql数据库服务;2)使用忽略授权表的方式启动mysql:a)mysqld_safe--skip-grant-tables--user=mysql&;b)mysql-uroot-p(此时登录的密码为空);3)重新设置mysql的root用户密码:up..
分类:
数据库 时间:
2015-09-22 14:52:40
阅读次数:
166
LeetCode 1. Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return in...
分类:
其他好文 时间:
2015-09-22 14:34:47
阅读次数:
147
Your production database it functional on the SHOST1 host. You are backing up the production
database by using Recovery Manager (RMAN) with the recovery catalog. You want to replicate the
production...
分类:
其他好文 时间:
2015-09-21 19:39:42
阅读次数:
125
CRM 前瑞开发中关于lookup的开发工作肯定会遇到,例如选中一个客户或者联系人后自动把相关的信息映射到相关记录上,这样可以减少用户的输入工作。我们在CRM 的映射关系中可以配置相关字段的映射可以解决在主记录添加相关记录时的自动映射问题如果是在子记录表单中选择主记录则不能够达到预期的结果。那么我....
分类:
其他好文 时间:
2015-09-21 19:08:29
阅读次数:
238
1、更新iptables并立即生效: a、保存当前设置:iptables-save > /etc/iptables.up.rules b、修改iptables规则; 例如:-I INPUT -s 61.164.252.0/24 -d 0/0 -p tcp --dport 5001 -j A...
分类:
系统相关 时间:
2015-09-21 17:47:59
阅读次数:
214
题目:zero puzzlingThere is a matrix with m rows and n columns. An element of the matrix has at most four adjacent elements(up, down, left, right). You c...
分类:
其他好文 时间:
2015-09-21 17:20:11
阅读次数:
164