Posts Tagged ‘trick’

2 05 2011

隐藏 docky 锚配置 按钮

bigCat Posted in Linux - 0 Comment\r\n\r\n \r\n\r\nIn OMG! today was posted this tip:\r\n\r\nDid you know that very recently Docky added the option to remove the Anchor icon from the dock? Oh yes!\r\n\r\nOMG! reader kiwisoup e-mailed me over some instructions that I thought i’d paste here: -\r\n\r\n* Press ALT + F2\r\n* Type command “gconf-editor" and hit enter/return\r\n* Navigate to "apps/docky-2/docky/items/DockyItem" in the gconf-editor\r\n* Uncheck "ShowDockyItem"\r\n* Restart Docky\r\n\r\nEt voilà! Anchor free Docky!\r\n\r\nTerminal way\r\nIf you're lazy and want to do this via the terminal you can do so using the following commands. (Thanks to commenter dRewsus)\r\n\r\nthis command will turn the icon off:\r\n\r\n* gconftool-2 --type Boolean --set /apps/docky-2/Docky/Items/DockyItem/ShowDockyItem False\r\n\r\n\r\nthis will turn it back on:\r\n\r\n* gconftool-2 --type Boolean --set /apps/docky-2/Docky/Items/DockyItem/ShowDockyItem True\r\n\r\nRemember that you will need to restart Docky to see the changes.

7 09 2009

Super fast build HTML string

bigCat Posted in JavaScript - 0 Comment

The holy grail!\r\n\r\nvar arr = ['item 1', 'item 2', 'item 3', ...];\r\n \r\nvar list = '

  • ' + arr.join('
  • ') + '


Host: (miao) | Word: Press | Code: HTML5