摘要: An acceptable solution to convert immutable bitmap to a mutable bitmap ,using RadomAccessFile to save the source bitmap on disk(no ram memory) and the 阅读全文
posted @ 2017-03-25 19:32 David Young 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 一、system_profiler SPUSBDataType 查看Mac系统所有USB设备信息 二、[写入内容到指定文件] echo "0x1bbb" > ~/.android/adb_usb.ini(~/代表所有符合条件的上级目录) 三、[配置环境变量] 打开或创建配置环境变量文件 cd ~ t 阅读全文
posted @ 2016-07-08 00:34 David Young 阅读(470) 评论(0) 推荐(0) 编辑
摘要: [通用] control(^) shift(⇧) ⬆️ option/alt (⌥) command(⌘) fn 副功能键 [效率] 1.编辑 control + space 切换输入法(改键:alt(⌥)+space可见 control+alt(⌥)+space快速切换) control+ com 阅读全文
posted @ 2016-07-08 00:21 David Young 阅读(6068) 评论(0) 推荐(0) 编辑
摘要: 1. reference:参考某一资源ID。 (1)属性定义: <declare-styleable name = "名称"> <attr name = "background" format = "reference" /> </declare-styleable> (2)属性使用: <Image 阅读全文
posted @ 2016-07-08 00:17 David Young 阅读(1516) 评论(0) 推荐(0) 编辑
摘要: Shift+Alt+Enter: 切换全屏编辑 Ctrl+B,T / Ctrl+K,K: 切换书签开关 Ctrl+B,N / Ctrl+K,N: 移动到下一书签 Ctrl+B,P: 移动到上一书签 Ctrl+B,C: 清除全部标签 Ctrl+I: 渐进式搜索 Ctrl+Shift+I: 反向渐进式搜 阅读全文
posted @ 2016-07-08 00:15 David Young 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 【cmd下编译】 方法一: 1.首先在工程文件夹下面新建一个sourcelist.txt,把所有要编译的java类的绝对路径写进去,每写一个换一行 javac -classpath lib/jxl.jar -sourcepath src @sourcelist.txt -d bin javac -s 阅读全文
posted @ 2016-07-08 00:11 David Young 阅读(2811) 评论(0) 推荐(0) 编辑
摘要: 输入ipconfig,按回车。即查看了IP地址,子码掩码,网关信息 输入ipconfig/all,按回车。即查看了包含IP地址,子码掩码,网关信息以及MAC地址 输入netstat -ano,按回车,查看所有的端口占用情况。 输入:netstat -aon|findstr "8001" 查看指定端口 阅读全文
posted @ 2016-07-08 00:10 David Young 阅读(1802) 评论(0) 推荐(0) 编辑
摘要: @号 &#064; :号 &#058; 空格 &#160; ...省略号 &#8230; 以下为常见的ASCII十进制交换编码:(注:"&#xxx;"为编码,后面紧跟的--> <--箭头中间为代表的字符) &#032;--> <-- 这边是空格 &#033;-->!<-- &#034;-->"<-- 阅读全文
posted @ 2016-07-08 00:09 David Young 阅读(446) 评论(0) 推荐(0) 编辑
摘要: Android xml资源文件中Shape的属性: solid 描述:内部填充 属性:android:color 填充颜色 size 描述:大小 属性: android:width 宽 android:height 高 gradient 描述:渐变色 属性: android:startColor渐变 阅读全文
posted @ 2016-07-08 00:05 David Young 阅读(9537) 评论(0) 推荐(0) 编辑
摘要: android:inputType="none" android:inputType="text" android:inputType="textCapCharacters" 字母大写 android:inputType="textCapWords" 首字母大写 android:inputType= 阅读全文
posted @ 2016-07-08 00:02 David Young 阅读(287) 评论(0) 推荐(0) 编辑