关于产品设计的碎碎念及…

0

哥们@dazuiba2012 拉我跟他一起做iOS APP开发,后来他搞的APP【掌上杭州】火了。链接1链接2
他说做iPhone上的开发要做得很细,很多的精力和时间会花在微调上。

这些天比以往更经常的玩弄手机上的东西,有了一些感触

用户体验这玩意,我有点不感冒

体验的根本在于信息构架,后台的信息构架走到前端后便是信息的组织、展现方式,至于交互设计,从来都不会是杀手级的亮点

下面是这段时间在脑子里过了一遍的: (更多…)

没准儿您会对以下内容感兴趣:

  • No Related Posts

密码保护:-

0

这是一篇受密码保护的文章。您需要提供访问密码:


没准儿您会对以下内容感兴趣:

  • No Related Posts

赛季结束前扯几句

0

上篇日志是3月23号发的,结果我把标题写成了4月23号。用脑过度的人真是各种苦逼。。。

上周Dragic活得官方西部周最佳,这是官网关于他的采访

“My favorite reaction is probably from the people back home (in Slovenia). Before people were saying, ‘I don’t know if he’s ready for NBA league’ and now they’re saying, ‘Oh, he’s ready, he’s ready! He’s ready to lead a team.’ That means a lot to me because I know a lot of people didn’t believe in me. I was working hard for that moment and now I’ve demonstrated I can play.”

翻译过来大抵是:

我最大的反应大概是关于家乡的那些人,之前他们是说:‘我不知道他是否能适应NBA联赛’,现在他们会说:‘恩,他可以了,他能够在NBA带领一支球队了’,这对我来说意味着很多,因为我知道很多人都不相信我。我为了这样的时刻而努力工作,而现在,我已经展示了我能做到。

有多少在外面飘着的人有这样的想法呢? (更多…)

没准儿您会对以下内容感兴趣:

记事-2012.04.23

0

很久没写这个系列了(此篇居然在草稿箱里呆了4天才完成),近几个月和一些老朋友聚会,他们竟然说有看这Blog,真是万分荣幸!所以隔点时间还是应当跟老朋友们汇报一下当前的状态。
关于大家最最关心的我找姑娘一事,目前依然没有进展,而且还有一个事情一定更让大伙失望了:我放慢了这方面的努力脚步。
前一次和老妈通电话,大概10天前的吧,我撂下大致如此的一句话:接下去一个月的时间,我想专心的做点事情,等过了这一个月,下个月11号,再说。
这10天来脑子累得够呛的,我灭掉了自己TODOList里的好几项,然后又添加和三四个。简单点的说就是发现一条路走不通后迅速否定之前所想的然后寻找下一条路。
周日为放松,看了一部90年的电影,我都觉得有些吃力。
别问我在忙什么,以后有机会再说吧。
(更多…)

没准儿您会对以下内容感兴趣:

  • No Related Posts

A tip for *inx user: set tab title for Terminal

0

I’m using Mac as work machine, in many cases, I have to login to several total different servers, then open db and do operations.
So it’s a big problem to identify this tab is opening which server. Because all tabs have the same title: [ssh].
Terminal provides set title for each tab, see menu [Shell] -> [Edit Title], with shortcut [Cmd+Shift+I] in Mac
But is there anyone set the tab title each time when he using ssh?

Today someone I followed is talking about this in my Twitter timeline, and I googled this problem again.
Finally, I found this command can change terminal tab title:

echo -ne "\033]0;new title\007"

This is absolutely what I want that can resolve the previous problem!
I wrote a simple shell script:

#!/bin/bash
# set title to target server name, reset title when logout from server
echo -ne "\033]0;$1\007"
/usr/bin/ssh $*
echo -ne "\033]0;$(pwd)\007"

Save this file named [ssh], then chmod to +x, after all, edit ~/.bash_profile, add the directory to the front of the PATH variable. like:

export PATH=/opt/my-bin:/opt/local/bin:/opt/local/sbin:$PATH

At last, I took a screen shot of the changes, you can see that each tab has its own name of the target server.

没准儿您会对以下内容感兴趣:

  • No Related Posts

一个简单的Web权限控制实现

2

一直没接触过大型的Web应用,这就属于我职业生涯的一个短板了,虽然说实际介入的话学习起来没有什么问题,但旁人总会觉得你不行。
以上是题外话,想说的只是,这里介绍的方法可能不适用于大型Web项目了。
但是对于小应用,自己觉得此方法非常不错。
一行话说背景:
Web的框架用的是Struts2+Spring,View层用的是freemarker,DB层的框架在此无需考虑。Struts里面namespace不到20个。FTL文件只有几个而已(很多都是用AJAX从后台拉数据的局部行为)。

下面是稍微具体点的思路外加一点点代码

目标:控制到某个用户能访问的每一个Action,控制到Action,但不对用户访问该Action时所带的参数也进行控制。页面上控制到每一个链接或者菜单。管理员页面能对权限进行更新操作。用户只属于单个用户组。 (更多…)

没准儿您会对以下内容感兴趣:

  • No Related Posts
Go to Top