JimmyLiao

How to access shared folder on Ubuntu Guest Machine

1. Install Virtualbox Guest Additions

2. VirtualBox Guest Window Menu->Tools->Share Folder->Downloads

3. vim /etc/fstab on Ubuntun Guest Machine

Downloads   /media/shared  vboxsf  uid=1000,gid=1000,nodev,noexec,nosuid,auto,rw 0 0

4. Reboot Guest Machine


iOS5之回不去了 – 如何使用Reference Counting機制

當初找這篇本來是不小心在New Project時勾選到,但不知道為何又一直出現Reference build error,結果後來還是重新建一個Project。


Sublime Text 2 入门及技巧

http://lucifr.com/139225/sublime-text-2-tricks-and-tips/ 


Develop jQuery with Sublime Text 2

跨平台的Sublime (Windows, Linux, Mac), 看來不錯用。

1. Download Sublime Text 2

(http://www.sublimetext.com/2)

2. Download jQuery snippet for sublime

(https://github.com/mrmartineau/jQuery/downloads)

3. 在Library/Application Support/Sublime Text 2/Packages/ 新增一個jQuery folder,並把2.的snippet放進去


tumblilarius lukhnos: Tim Cook, CEO of Apple, at the company memorial of Steve Jobs: But...

[Reblog from zonble] 原來當初OSX Snow Leopard的中文字體是lukhnos寫信給Steve Jobs,還真的有回應! :-)

zonble:

當初 Snow Leopard 的中文字體問題後來是這樣解決的 :)

lukhnos:

I wrote to Steve Jobs once. That was when Snow Leopard first came out in the late summer of 2009, and there were some issues with the new Traditional Chinese fonts. Those issues made them unusable in formal settings. With friends’ help and encouragement, we compiled the screenshots, filed Radar, and I finally got to draft the email. I didn’t expect him to read it, but the next day, someone at Apple replied, asking if I could send back the attachments that I “emailed Mr. Jobs.” And the issues with the fonts were eventually resolved. It’s not the famous one-liner that people loved to post online, and it’s easy for us to attribute everything that a company does to one person. Still, that is important: There are people at Apple that care.

Via Notes on Cocoa

CSS Selector Naming Convention

常用的css命名规则

头:header

内容:content/container

尾:footer

导航:nav

侧栏:sidebar

栏目:column

页面外围控制整体布局宽度:wrapper

左右中:left right center

登录条:loginbar

标志:logo

广告:banner

页面主体:main

热点:hot

新闻:news

下载:download

子导航:subnav

菜单:menu

子菜单:submenu

搜索:search

友情链接:friendlink

页脚:footer

版权:copyright

滚动:scroll

内容:content

标签页:tab

文章列表:list

提示信息:msg

小技巧:tips

栏目标题:title

加入:joinus

指南:guild

服务:service

注册:regsiter

状态:status

投票:vote

合作伙伴:partner

(二)注释的写法:

/* Footer */

内容区

/* End Footer */

(三)id的命名:

(1)页面结构

容器: container

页头:header

内容:content/container

页面主体:main

页尾:footer

导航:nav

侧栏:sidebar

栏目:column

页面外围控制整体布局宽度:wrapper

左右中:left right center

(2)导航

导航:nav

主导航:mainbav

子导航:subnav

顶导航:topnav

边导航:sidebar

左导航:leftsidebar

右导航:rightsidebar

菜单:menu

子菜单:submenu

标题: title

摘要: summary

(3)功能

标志:logo

广告:banner

登陆:login

登录条:loginbar

注册:regsiter

搜索:search

功能区:shop

标题:title

加入:joinus

状态:status

按钮:btn

滚动:scroll

标签页:tab

文章列表:list

提示信息:msg

当前的: current

小技巧:tips

图标: icon

注释:note

指南:guild

服务:service

热点:hot

新闻:news

下载:download

投票:vote

合作伙伴:partner

友情链接:link

版权:copyright

(四)class的命名:

(1)颜色:使用颜色的名称或者16进制代码,如

.red { color: red; }

.f60 { color: #f60; }

.ff8600 { color: #ff8600; }

(2)字体大小,直接使用”font+字体大小”作为名称,如

.font12px { font-size: 12px; }

.font9pt {font-size: 9pt; }

(3)对齐样式,使用对齐目标的英文名称,如

.left { float:left; }

.bottom { float:bottom; }

(4)标题栏样式,使用”类别+功能”的方式命名,如

.barnews { }

.barproduct { }

注意事项::

1.一律小写;

2.尽量用英文;

3.不加中杠和下划线;

4.尽量不缩写,除非一看就明白的单词.

主要的 master.css

模块 module.css

基本共用 base.css

布局,版面 layout.css

主题 themes.css

专栏 columns.css

文字 font.css

表单 forms.css

补丁 mend.css

打印 print.css

————————————————

來自(www.QuanDuan.net)


不需要美感的配色講座-顏色是可以用理論說明的

原作:まりっぺさん ■http://blog.livedoor.jp/marippe_blog/

譯者:jewelgospel@gmail.com

大多時候Fron-end Engineer在做第一版App時的Mockup,了解基本顏色理論很重要。


Browser is not supported by Web Dynpro

來源:http://support.mozilla.com/zh-TW/questions/786432

為了解決SAP無法在新版Firefox (4+)上跑Web DynPro plugin,請安裝User Agent Switcher並加上這段來Fake成Firefox 3.6.15

———————————————————————————-

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 

———————————————————————————-


Reblogged: 加速前端網頁效能的14條規則

來源:Microsoft Dev Network, by 保哥

Steve Sounders寫了一本很有名的書叫做:High Performance Web Sites: Essential Knowledge for Front-End Engineers

這本書裡定義了14條讓你的網頁加速的方法,分別如下:

  1. Make fewer HTTP requests
  2. Use a CDN
  3. Add an Expires header
  4. Gzip components
  5. Put CSS at the top
  6. Move JS to the bottom
  7. Avoid CSS expressions
  8. Make JS and CSS external
  9. Reduce DNS lookups
  10. Minify JS
  11. Avoid redirects
  12. Remove duplicate scripts
  13. Turn off ETags
  14. Make AJAX cacheable and small

#osxchat blog: 小麥注音:一套簡單的自動選字輸入法

osxchat:

本站 (#osxchat) 的 mjhsieh 還有 zonble 開發了一套簡單的自動選字輸入法「小麥注音」,特色有:

  1. 輕巧簡單,容易安裝
  2. 選字及標點符號符合台灣使用者習慣
  3. 介面依循 Mac 標準
  4. 支援標準、倚天、許氏、倚天26 鍵以及漢語拼音鍵盤配置
  5. 程式反應快速,目前的詞庫也有相當的準確性,應該能夠有效幫助大家輸入國語
  6. 開放原始碼,有興趣研究改進輸入法及選字原理的人可從本專案開始著手

需要下載的朋友,可以前往小麥注音網站取得。

Via #osxchat blog

15
To Tumblr, Love PixelUnion

We're updating Fluid!

Soon, we'll be updating the look and feel of this theme. Read about the changes here. You can easily turn off this notification in the theme customization panel.

Close