2018

Feb 18, Ike
身为一个男性,本着学习的态度来玩这款游戏,究竟是怎样的体验呢?
Feb 09, Ike

今天编辑我的博客,发现在Mac的Chrome上没有问题,但在Windows的Chrome浏览器,有的地方会出现一个黑底中间是个菱形的奇怪符号,我以为浏览器的问题,于是我用Mac下载了这个网页,然后用Sublime查看,的确里面出现了[BS]标识的字符。但是在VS Code里面没有显示出这个符号。

Feb 09, Ike

好久没有更新了!今天当我用git的时候遇到一个问题,说我没权限访问git库,可是前几天还可以呢?我看了下我的git库是ssh方式的,于是我就用命令行ssh试了一下我Git服务器的IP地址,结果得到一下错误:

"Unable to negotiate with "xxx" port "xxx": no matching cipher found. 
Their offer: aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, 
arcfour, aes192-cbc, aes256-cbc, ..."
Feb 06, Abby
生活的美,总在平凡的日复一日后,某天不经意间被发现。
Feb 05, Ike
MacBook Pro 的劲敌,是超越还是鸡肋?
Feb 01, Ike
更智能的语音控制,更好的音质,不过总觉得有人在监听你...
Jan 30, Ike
万事开头难,第一篇总是很难...

2017

Jul 24,
The cure for boredom is curiosity. There is no cure for curiosity. --Dorothy Parker
Jul 20,
It's kind of fun to do the impossible.————Walt Disney
Jul 17, Ike

今天遇到一个诡异的问题,当webview加载一个https的地址时,在华为一款手机上无法加载,经过debug发现日志里报如下错误:

Today I found a weird issue. When the webview tried to load a https URL on a Huawei mobile phone, it stoped working. After debugging, I found the following error in the logs:

primary error: 5 certificate: Issued to: CN=my-site.com;
Issued by: CN=GeoTrust DV SSL CA - G3,OU=Domain Validated SSL,O=GeoTrust Inc.,C=US;
on URL: https://my-site.com/index.php
Jul 06,
Nothing is impossible. Some things are just less likely than others.————Jonathan Winters
Jul 04,
Dark clouds give us the sky with golden and purple color.
Jul 04, Ike

如果你已经升级到iOS 11 公开预览版(preview beta 2),那么你最好不要降级,降级会导致变砖!
具体现象是,我用我的iPhone 7升级到iOS 11后,发现bug很多并且不是很流畅,于是我用iTunes通过DFU降级到iOS 10.3.2,结果降级完成后,手机就无法开机了,开机就会停留在一个连接iTunes图标的状态。

Jul 02,
Jun 26, Ike

如果你是一名站长,一定很在乎网页的加载速度和占用的带宽。通常图片都是拖慢加载速度和加大带宽占用的大户。通过Chrome开发人员工具的Network功能,你就可以看到图片的加载占用了80%的时间。所以核心问题就是怎样能在尽量保持图片质量的情况下,缩减图片大小。

Jun 25,
Jun 23,
It's not the truth. Behind the photo of A Peaceful Afternoon, it's a bad weather with fresh gale and only 8℃. Usually the bad weather makes such good photos.
Jun 22,

我们知道AAR文件实际上是一个压缩包,有时我们需要修改里面的资源文件,所以我们需要解压,修改资源然后再打包回AAR。

As we know, AAR is a kind of compressed package. In some cases, we need to change the reference inside. So we need to unzip, change the res and package again at last.

那么正确的操作方式是怎样的呢?

But what is the correct way to do this?

Jun 16, Ike

在最近的开发中,我发现提交按钮并没有完全按照设定的css展现。比如我设置按钮底色是红色,边框为0。

.submit {
  background: red;
  border: 0;
}

然而实际上,显示出一个圆角的按钮,且背景颜色为从浅红向下渐变到红色,高度宽度也不对。而且无论是在Chrome上还是Safari上,都是相同的显示方式。

Jun 14, Ike

在设计前端网页时,我们可能会用到一些远程字体。我很喜欢Google的一些字体,比如PT Sans, Roboto,但是总是会担心Google的服务会被墙。
那么如何把这些字体下载到本地,放在自己的服务器上使用呢?

Jun 12, Ike

作为一名极客,在TXT中怎能不贴一个炫酷的图形?先看看下面这些炫酷的图形…

As a geek, it can’t be only text in TXT file. We need chart! Let’s take a look at these ASCII Art…

Jun 05, Ike

Jekyll是一个非常好的静态博客搭建平台,它的巨大优势就在于:你只需要一台Web服务器就可以搭建一个非常强大的静态博客,你可以最大程度的把重心放在博客的内容上,而不需要关心维护成本,也不需要考虑性能、数据库以及安全等等。同时你可以使用你熟悉的Markdown语言编写你的博客内容。
如果你还不了解Jekyll,你可以去官网(英文)了解,同时还有中文的官网

Jun 02, Ike

在开发过程中,我使用到了第三方库,而在打包Apk时,又会用到ProGuard进行代码混淆。

In my developing, I use a 3rd party library. When I package the Apk file, I use ProGuard to obfuscate the source code.

我发现混淆后的程序在调用第三方库时,程序会崩溃,在查看日志时发现,由于运行时找不到那个第三方库,导致程序异常。

I found that the obfuscated app will crash when calling the 3rd party library, with seeing the logs, I found that the app met an exception because the app can’t find the specific 3rd party library.

Jun 01, Ike

作为一个码农,我们经常会接触到.gitignore.htaccess这样的文件,又或者是.git这种文件夹,但这些文件你在Finder上是看不到的。

As a programmer, we usually run into .gitignore, .htaccess, or something like .git folder, but we can’t see them in the Finder.

Jan 30,
This photo is token at Retiro Railway Station, one of the unsafe places, but I like there, because you can see lots of pigeons staying on the top of the station building. When the train whistle sounded, all the pigeons booming up and circle on the sky. It's really geogours and it's easy to take photos of the pigeons.
Jan 29,
I'm working at Argentina, I'm fortunate to live in Puerto Madero. On that day, when I woke up under the red sunshine, I can't control myself taking this photo. With the clouds, the sunshine looks more colorful.
Jan 14,
If you go to El Calafate, you can taste the ice on Perito Moreno Glacier, especially with Whiskey!
Jan 13,
Have you been to Ushuaia? If you haven’t, you shouldn’t miss the gorge which the Glaciar Martial located. When you walking along the trails, you will find different view in different height.