小名开开

在春天的光影里喘息

攻略就不写了,网上到处都是小贼攻略。

全部隐藏道具集齐还有奖励的 “花絮” 视频,就像电影的片尾片花一样。

宛而一笑。

免去了自己配置的麻烦。对我这样的对 git 不熟的人,还可以帮助作为 git 命令一览的一种手段。比如我现在就开始用 gg 来代替 git commit 了……

在 ~/.oh-my-zsh/plugins/ 下可以找到大量的预置文件。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Aliases
alias g='git'
compdef g=git
alias gst='git status'
compdef _git gst=git-status
alias gd='git diff'
compdef _git gd=git-diff
alias gl='git pull'
compdef _git gl=git-pull
alias gup='git pull --rebase'
compdef _git gup=git-fetch
alias gp='git push'
compdef _git gp=git-push
alias gd='git diff'
gdv() { git diff -w "$@" | view - }
compdef _git gdv=git-diff
alias gc='git commit'
compdef _git gc=git-commit
alias gc!='git commit -v --amend'
compdef _git gc!=git-commit
alias gca='git commit -v -a'
compdef _git gc=git-commit
alias gca!='git commit -v -a --amend'
compdef _git gca!=git-commit
alias gco='git checkout'
compdef _git gco=git-checkout
alias gcm='git checkout master'
alias gr='git remote'
compdef _git gr=git-remote
alias grv='git remote -v'
compdef _git grv=git-remote
alias grmv='git remote rename'
compdef _git grmv=git-remote
alias grrm='git remote remove'
compdef _git grrm=git-remote
alias grset='git remote set-url'
compdef _git grset=git-remote
alias grup='git remote update'
compdef _git grset=git-remote
alias grbi='git rebase -i'
compdef _git grbi=git-rebase
alias grbc='git rebase --continue'
compdef _git grbc=git-rebase
alias grba='git rebase --abort'
compdef _git grba=git-rebase
alias gb='git branch'
compdef _git gb=git-branch
alias gba='git branch -a'
compdef _git gba=git-branch
alias gcount='git shortlog -sn'
compdef gcount=git
alias gcl='git config --list'
alias gcp='git cherry-pick'
compdef _git gcp=git-cherry-pick
alias glg='git log --stat --max-count=5'
compdef _git glg=git-log
alias glgg='git log --graph --max-count=5'
compdef _git glgg=git-log
alias glgga='git log --graph --decorate --all'
compdef _git glgga=git-log
alias glo='git log --oneline'
compdef _git glo=git-log
alias gss='git status -s'
compdef _git gss=git-status
alias ga='git add'
compdef _git ga=git-add
alias gm='git merge'
compdef _git gm=git-merge
alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard'
alias gclean='git reset --hard && git clean -dfx'
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
alias gf='git ls-files | grep'
alias gpoat='git push origin --all && git push origin --tags'
alias gmt='git mergetool --no-prompt'
compdef _git gm=git-mergetool

alias gg='git gui citool'
alias gga='git gui citool --amend'
alias gk='gitk --all --branches'
alias gsts='git stash show --text'

# Will cd into the top of the current repository
# or submodule.
alias grt='cd $(git rev-parse --show-toplevel || echo ".")'

# Git and svn mix
alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
compdef git-svn-dcommit-push=git

alias gsr='git svn rebase'
alias gsd='git svn dcommit'
#
# Will return the current branch name
# Usage example: git pull origin $(current_branch)
#
function current_branch() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || \
ref=$(git rev-parse --short HEAD 2> /dev/null) || return
echo ${ref#refs/heads/}
}

function current_repository() {
ref=$(git symbolic-ref HEAD 2> /dev/null) || \
ref=$(git rev-parse --short HEAD 2> /dev/null) || return
echo $(git remote -v | cut -d':' -f 2)
}

# these aliases take advantage of the previous function
alias ggpull='git pull origin $(current_branch)'
compdef ggpull=git
alias ggpur='git pull --rebase origin $(current_branch)'
compdef ggpur=git
alias ggpush='git push origin $(current_branch)'
compdef ggpush=git
alias ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
compdef ggpnp=git

# Pretty log messages
function _git_log_prettily(){
if ! [ -z $1 ]; then
git log --pretty=$1
fi
}
alias glp="_git_log_prettily"
compdef _git glp=git-log

发个招聘。

嗯,这个是我替自己招小弟,不是帮转,所以如果你有兴趣,可以直接发信给我。只要过我这关,虽然还有 VP 的终面,不过 99.99% 过。

先讲职位: 助理产品经理。
再讲待遇: 五险一金,无户口。 大致收入在后文写。
再讲公司: 参见以下影片。

公司是做商业性互联网营销数据监测与分析的。有点拗口,不过如果你谷歌以后还是读不懂的话就正好筛掉,这里每个词都是能读懂的。

关于什么是产品经理,大家可以查一下百度百科之类的。不过更简单的方法是,如果你像我一样,自己做过一样或者几样什么东西(真的什么都可以),能讲清楚以下几点:

* 你为什么做的,你做这个是想解决什么问题 —— 不是 “想获奖” 之类的理由,而是真正的想去解决问题。
* 你怎么去分析你遇到的问题的,于是你怎么设计你想做的东西的。
* 你花了多少时间、金钱和其它成本去做出来这个东西。

如果你能清楚的回答这些问题,你把你想做的东西跟别人一讲,别人也由衷地同意并且愿意帮助你一起做。那么这个职位你就满足了 60%。

对的,60%,你直接就及格了,可以找我聊聊。

你要知道,有时候一个人真正的闪光点,经常会是那些他觉得理所当然的地方。

当然,很可能你没做过。或者你还不满足于去做一个勉勉强强的职位,所以以下是一些更详细的内容。如果你会,那就太好了。如果你不会,但你愿意学,也行。限于保密性我无法实际地描述业务信息,不过我保证以下这些问题,一定都是与你的工作有关的内容:
A1. 都有1班到10班共十个班级的两个学校,甲校每个班的女生比例都比乙校相同班级高,为什么甲校整体女生比例反而不如乙校?
A2. 甲乙两人要打赌,但手头只有一颗特殊硬币,已知该硬币正面出现的机率为4/5,反面出现机率为1/5,要怎么样操作才能保证甲乙公平对赌?
B1. 如果我给你足够多的预算,让你花三个月时间调查一下全北京 iPad 拥有率,你打算怎么做?(大胆假设,注意可行性,最好多准备几个方案)
B2. 已知钢铁侠 III 在中国卖出了一千万张电影票,一百万份包括蓝光、DVD 等的实体拷贝,三百万次在线观看。问,大概有多少人看过这部电影?(同上,你需要假设你可以获得你可以得到的数据,对不对我不管,但你得先有做出来的想法)。

C.附加必答. Google 最大的收入来源是什么?

你看,我把题发网上来,肯定无法阻止你去检索一些必要信息,对不?

以上那些,如果你能 A、B 各答一题,那就不光是你满足,而是我满足了。

记得写一篇文字发给我: yourkaikai@gmail.com。 看我的招聘写得这么有诚意,你写的篇幅,至少不应该比我少吧。

谈到手收入的话,主要看你的能力与努力。做得好的话,一年内收入乘 2 再乘 2 也没问题。我们的实习起薪也不比你做过的任何一份实习低,正式的你可以自己大致估一下。当然,我不养闲人,你需要去努力,努力生活,努力学习,努力工作。——在一个 Hard 模式的国家,没有亲爹罩没有干爹靠,想做事都不容易。

你打 Dota,进一个队,发现队友全是猪,你除了退队也没什么好办法吧?我也是。

所以希望你,有理想,没道德,有文化,没纪律。

你看,我们是相互选择的,所以我设置了个不那么容易的坎以减少我的筛选量,而这对你也是个机会,你有一切充足的理由把价码提高,对么?

附上行文化的招聘需求:

工作职责:

* 负责商业人口样本应用软件的运营与内部协调,收集汇总并提炼需求,统计日常使用情况
* 理解用户需求,参与或主导将业务需求转化为产品逻辑
* 参与或主导设计软件新功能,推动功能迭代与更新
* 与工程师团队紧密配合,快速高效推动产品研发与上线流程

要求:

* 数学本科或同等能力
* 学习过统计类课程,了解相关软件
* 逻辑思维优秀,表达清晰,善于分析
* Geek,对互联网产品有深度爱好和兴趣
* 有责任心、协作能力和时间观念

优先:

* 发表过数学科普文章,或拥有数学类博客的优先
* 曾做过自己的项目,自负盈亏,受同学欢迎的优先
* 学习过编程、参加过 ACM 或有自己代码项目的优先
* 在某项或者数项大众游戏中获得公认排名全球前 0.1% 的优先
* 成为过某个互联网产品测试用户,并提过被采纳意见的优先

Github 为每个代码库提供了一个附带的 wiki。这个 wiki 其实也是个独立的代码库,可以用 git 进行管理,还是挺方便的。不过 Github wiki 在文件结构上有特殊的设计,一开始会觉得有点摸不着头脑。于是就花了点时间做了个实验,得到以下规则:

Github wiki 规则:文件链接

  • 每个 Github wiki 文档至少需要一个标题,否则跳转链接会自动转到 raw.github.com 上去。用若干个 # 来标注一个标题。
  • Github wiki 会把该库里所有的 .md 文件都提到同一个虚拟的 /wiki 目录里。所以无论你目录结构如何复杂,在引用其它 .md 文件时,只需要直接链接到文件名即可。不过这样在使用 Mou 写作预览时可能反而不方便了,所以最简单的办法是把所有 .md 文件都放在根目录里。
  • 仅 .md 如此特殊处理(也许还有其它 Markup 文件),对于图片等其它附件,均保持自己相对路径。
  • 尽管如此,home.md 却属特例。它在虚拟的 /wiki 目录的上一层。所以由它引用到别的文件,均需要加上 /wiki

Github wiki 规则:锚点

  • 任意用 1-6 个 # 标注的标题会自动被添加上同名锚点。在链接中写入锚点即可跳转,比如: [显示文本](wiki/sample#anchor) 对应 sample.md 内的某个标题: ### Anchor
  • 锚点中英文皆可,使用中文(或其它文字)会自动 Encode 和 Decode。但只有英文(可能有其它语言)可以大小写通用。
  • 由于 .md 本身写链接的限制,多单词锚点的空格用-代替。比如#regist-github对应###Regist GitHub
  • 即使页内锚点,也必须写上文件名,如果不写,锚点链接会自动添加 “wiki-” 前缀,比如: [显示文本](#anchor) 对应的是 #wiki-anchor。
  • 如上,如果对应的标题名真的就是 wiki-Anchor,那么锚点也还是能正常工作的。

Github wiki 官方说明:https://github.com/features/projects/wikis

去年九月买的机器,京东买的新机器,到现在十个月,已经毁掉两张 TF 卡了。一张是 KingMax 32GB SDHC Class-10,另一张就是今天的 Kingston 8G Class-4。

在第一张坏掉时,我查一了下,KingMax 的差评里确实有坏得快的评价,大约 1% 的差评。我以为是卡的质量不行,就另买了一张。

今天又坏了。每五个月坏一张,都不用平均。

只能认为是手机问题了。

换了第三张卡,弄了个最小的 4G。五个月 30 块钱,比彩铃什么的略贵一点。

Types

→ 下载地址

Windows 7 开始没有了 XP 时代方便的对文件类型关联(主要是关联图标)的修改了。通过 Windows 打开方式

EB12DE8BE89A2700C54B2AA9F469A16D84FFA56E

指定始终用某程序打开该类型文件以后,默认会关联一个很丑的图标,一个白底上带打开程序的图标:

A933519F4EC6424709B5FDF2D51E9EDCF4C0D929

在 Windows XP 时代,可以通过文件夹选项里的文件关联方式来指定图标,但 Windows 7 不知道为何取消了。于是花了一些时间找到了这个软件: Types。Types 可以方便地在 Win 7 下管理文件关联,包括关联打开的程序、分别设置“打开”与“编辑”使用不同的程序、更改图标、文件描述等,简单高效专注。

E2DD04DCCE7C2F13DA21E9E94A162FC1D9768F93 BCF66D99D7A42CBAE812228A9A2743AA2A16406B

我们把文件图标设置成和主程序图标一致即可:

4EFA6E99D338BBC38DA8765CBF5318E814553B0E

在退出程序时,Types 自动刷新系统图标,于是图标就变成了程序自带的 ,任务就初步完成了。

721791E39C207FDCB0270C8678BBA2195BF5503C

如果你想再考究点,就单独指定程序图标,比如:

Sublime_128x128

————————————–完——————————–

Types

Types 其实是绿色软件,安装包仅用于生成开始菜单等快捷方式。

官网地址:http://izt.name/apps/types/

下载地址:http://izt.name/apps/types/Types.Setup.exe

官方简单中文包:http://izt.name/apps/types/tongue/cn.tongue

下载以后把 cn.tongue 放到 Types 的安装目录里,启动 Types,按 F1 即可选择语言。

45FEAA2FC388859B80703AB401F3CCF58286A067

#Update Lazors 有了不少更新,后续关卡地址为:

http://www.wterry.net/2014-04-15/lazors-solutions/

感谢 pingback

#update:Add the “Darkroom” chapter.

链接: https://itunes.apple.com/en/app/lazors/id386458926?mt=8

Lazors 是个光线反射解谜游戏,以下是详解攻略:

1-2. Tutorial, Friendly

01.Tutorial02.Friendly

3-4. Vertices, Tricky

03.Vertices04.Tricky

5-6. Braid, Mad

05.Braid 06.Mad

7-8. Yarn, Tiny

07.Yarn 08.Tiny

9-10. Showstopper, Diagonal

09.Showstopper10.Diagonal

11-12. Crossed, Crystal

11.Crossed 12.Crystal

13-14. Prismatic, Diamond

13.Prismatic 14.Diamond

Add: Darkroom

S1.Darkroom

# update:更新至 Box 15

# update:更新至 Box 14

# update:更新至 Box 12

从 Toy Box 开始,Cut the Rope 更新了一个小玩艺,小怪兽的画作
在玩关卡时,从某些关卡的背景盒底上可以找到隐藏的画作,找到以后就存到了画廊里
贴几张图大家就明白了,就是墙上糊了几张不显眼的纸而已,仔细找找也不难找到。

以下就是 Cut The Rope (原版) 全 18 张涂鸦画作的关卡及位置截图。图用的是 iPad 版,iPhone 版位置一致可以照搬。

<Cut the rope> has some little secrets for you to find: the Drawings.

Until now there are 18 drawings in some of the levels, sometimes it’s hard to find.

Here is the total list below.

1. 纸板盒 1-16

1-16

2. 布盒 2-18

2-18

3. 铝箔盒 3-3, 3-20

3-3 3-20

4. 魔盒 4-3, 4-21

4-3 4-21

5. 情人盒 5-7

6. 玩具盒 6-17

6-17

7. 礼物盒 7-14

7-14

8. 宇宙盒 8-1, 8-15

8-1

9. 工具盒 9-21

10. 嗡嗡盒 10-15

11. DJ 盒 11-16

12. 幽灵盒 12-14

13. 蒸汽盒 13-9

14 灯笼盒 14-13

15 奶酪盒 15-13

最后一张也很明白,点一下 Facebook 的 即可,尽管点不通但涂鸦是拿到手了。

Click “Like” of facebook to get the last drawing.

0%