- User Preference:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
- User Key Bindings
1 2 3 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
1 2 3 |
|
Watchman: https://github.com/facebook/watchman
clear_watchman_list.rb
in HOME
folder.1 2 3 4 5 6 |
|
cwl
command in .profile
1 2 |
|
cwl
if we want to empty the watchman list.It’s very important
!!!
Swap will auto release (or free) the unused memory.
We setup an jenkins
ci server, run functional test on firefox use xvfb. After some hours, the memory is almost full.
So we add swap to our ci server.
Example: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
Reference:
http://stackoverflow.com/questions/29764181/jenkins-email-ext-plugin-pre-send-scripts
I use ember at cliend, and start on localhost:4200; sinatra at server, start on localhost:9292.
Then I use response.set_cookie()
to store user info, but I cannot see cookie setted just now on chrome console -> resource -> cookies -> localhost
.
cliend code:
1 2 3 |
|
cliend code:
1 2 3 4 5 6 |
|
Option in ajax:
1 2 3 |
|
Response header in sinatra, Access-Control-Allow-Credentials: true
, Access-Control-Allow-Origin: http://localhost:4200
Don’t set localhost as a domain for your cookies because you need to set it to “” or FALSE
爱思,红雪,平台windows7
之前使用的是xp系统,结果出现写入 AppleLogo 失败,set Picture 0 failure…的报错,一直以为是手机硬件问题,纠结了半个多月。之后自己的 win7 电脑修好后,重新试了一下,竟然成功了。
刷机过程 http://bbs.i4.cn/thread-18856-1-1.html
使用红雪或爱思助手等工具查看手机的ECID
找到对应 iOS 版本的 shsh 文件,打开文件,将 ECID 的改为自己手机的
将修改后的 shsh 文件上传到爱思服务器
使用爱思助手刷机,刷机前选中保持基带不升级
使用红雪进行越狱,越狱时一定选择 Deactive 选项,否则开机后手机无服务
每次关机后都必须使用红雪进行引导开机
如果手机锁屏后睡死,请在 Cydia 中添加威锋源(apt.weiphone.com),再下载 insomnia pro 插件,保证锁屏系统不真正睡眠,但这样非常耗电。喜欢 iOS6 style 的朋友可以使用第二篇文章中的6.2.1的固件刷机,成功后不会出现睡死状况。
PS
这篇博客讲了直接使用无睡死的固件来刷机,http://bbs.app111.com/thread-640908-1-1.html ,下载好文章中给出的固件后,还是按照以上 3.4
- 3.6
的步骤来操作。