garth.im
免root,反编译应用使其应用内状态栏透明 | Garth's Blog
http://garth.im/2014/04/decompile-app-to-transparent-status
Enjoy Playing, Imagine More. WindowManager.LayoutParams localLayoutParams = getWindow().getAttributes();. MzLpClass = localLayoutParams.getClass();. Field meizuFlagsField = mzLpClass.getField( "meizuFlags". MeizuFlags = (Integer) meizuFlagsField.get(localLayoutParams);. MeizuFlagsField.set(localLayoutParams, meizuFlags);. NoSuchFieldException e) {. IllegalAccessException e) {. IllegalArgumentException e) {. 125;, Lcom/buzzpia/aqua/launcher/app/HomeActivity;. 125;, Landroid/view/Window;. 125; :catch 2.
garth.im
Category: Web | Garth's Blog
http://garth.im/categories/Web
Enjoy Playing, Imagine More. 后来找到一款名叫 WordPress代码粘贴助手 的软件,其原理把代码放到 pre 标签里。 既然这样,那么我可以直接在后台编辑器里,切换到 文本 模式,再粘贴代码,给代码加上 code 标签就行啦。
garth.im
Garth's Blog
http://garth.im/page/2
Enjoy Playing, Imagine More. String myname = "abc". String sql = "select * from mytable where name like '? Cursor cursor = db.rawQuery(sql, new. 其实想知道应用的包名很简单,直接在浏览器打开Google Play或豌豆荚,打开某应用的页面,看网址你就会发现,网址最后 / 字符后接的就是应用的包名. 下载地址 http:/ pan.baidu.com/share/link?
garth.im
针对魅族Flyme OS让应用中状态栏呈现透明效果 | Garth's Blog
http://garth.im/2014/04/transparent-status-bar-for-meizu
Enjoy Playing, Imagine More. WindowManager.LayoutParams localLayoutParams = getWindow().getAttributes();. MzLpClass = localLayoutParams.getClass();. Field[] fields = mzLpClass.getFields();. Field meizuFlagsField = mzLpClass.getField( "meizuFlags". MeizuFlags = (Integer) meizuFlagsField.get(localLayoutParams);. MeizuFlagsField.set(localLayoutParams, meizuFlags);. NoSuchFieldException e) {. IllegalAccessException e) {. IllegalArgumentException e) {.
garth.im
Category: Code | Garth's Blog
http://garth.im/categories/Code
Enjoy Playing, Imagine More. String myname = "abc". String sql = "select * from mytable where name like '? Cursor cursor = db.rawQuery(sql, new.
garth.im
SSH连接使用NAT模式的Virtualbox虚拟机 | Garth's Blog
http://garth.im/2014/05/ssh-connect-virtualbox-host-of-nat
Enjoy Playing, Imagine More. 打开CMD,定位到你的 VirtualBox 安装目录,例如 C: Program Files Oracle VirtualBox。 VBoxManage modifyvm "Ubuntu" - natpf1 "ssh,tcp, 2222, 22". VBoxManage modifyvm "Linux虚拟机名称" - natpf1 "规则名称,协议,主机IP,主机端口,子系统IP,子系统端口". VirtualBox 使用 NAT 方式网络的 SSH 连接.
garth.im
Android手机USB连接电脑共享电脑网络时获取电脑IP地址 | Garth's Blog
http://garth.im/2014/04/android-usbnet-pc-ip
Enjoy Playing, Imagine More. Usbnet0 UP 10.0.2.15/24. Adb shell ifconfig usbnet0. Usbnet0: ip 10.0.2.15 mask 255.255.255.0 flags [up broadcast running multicast].
garth.im
[Word]解决单倍行距相同但行距不同的问题 | Garth's Blog
http://garth.im/2014/08/[word]same-single-spaced-but-line-spacing
Enjoy Playing, Imagine More. 下面以Microsoft Office Word 2003为例,详细写下解决此问题的教程。 Goodbye 2014, Hello 2015.
garth.im
使用Coding.net WebIDE搭建Hexo云端写作环境 | Garth's Blog
http://garth.im/2015/04/hexo-on-coding-net-webide
Enjoy Playing, Imagine More. 现在终于找到一个方法可以实现 Set up once, write everywhere。 Coding WebIDE 是 Coding 自主研发的在线集成开发环境。 与此同时,WebIDE 还提供了可分享的开发环境功能,用户可以保存当前的 Terminal 环境,分享给团队的其他成员。 1、注册一个Coding.net账号 https:/ coding.net。 2、在Coding.net中新建项目,项目信息自定义随便写,最好将项目设置为 私有 类型。 3、在Coding.net中进入刚才建立的项目,点击 代码 链接,点击 WebIDE ,进入WebIDE。 想了解更多关于Coding.net WebIDE的信息,请查看 WebIDE帮助. Git config - global user.email "you@example.com"
git config - global user.name "Your Name". Sudo npm install -g hexo-cli.
garth.im
Windows下那些实用的软件 | Garth's Blog
http://garth.im/2015/02/utility-software-in-windows
Enjoy Playing, Imagine More. Http:/ www.voidtools.com. 注 clover 3.0.406及以下版本在Windows 10里会经常出现假死状态。 Clover 是 Windows Explorer 资源管理器的一个扩展,为其增加类似谷歌 Chrome 浏览器的多标签页功能。 Http:/ cn.ejie.me. Http:/ www.ghisler.com. Http:/ www.adbyby.com. Cmder 是为 Windows 提供的一个便携式控制台仿真器。 Http:/ bliker.github.io/cmder/. Bandizip 是一款来自韩国的免费优秀的文件压缩/解压缩软件,完美支持 XP Win8.1及64位操作系统与Mac,其操作方式几乎跟 WinRAR 一致,支持rar、zip、7z等众多主流格。 Http:/ www.bandisoft.com/bandizip/. 注 柠檬桌面 1.1.2.1009版本及以下在Windows 10里会自动退出,不兼容。 Http:/ www.listary.com.
SOCIAL ENGAGEMENT