月归档:2012 年八月

A dark code view theme for Dreamweaver CS5

A dark code view theme for Dreamweaver CS5 I don’t know about you, but sometimes I tire of looking at a bright white code view all the time. Dreamweaver has a great coding environment but the default colour scheme isn’t always suitable, especially when your coding in the dark.       Instructions for Windows 7 1) Close Dreamweaver 2) Browse to: C:\Users\%username%\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configuration\CodeColoring\ 3) Rename the Colors.xml file to something d

发表在 未分类 | 评论关闭

A dark code view theme for Dreamweaver

Please Note: This article was originally published on May 25, 2009.             Given its age, some of the information contained within may (or may not) be relevant today. Just saying. I don’t know about you, but sometimes I tire of looking at a bright white code view all the time. Dreamweaver has a great coding environment but the default colour scheme isn’t always suitable, especially when your coding in the dark. Luckily you can change the default code view colour scheme, although it’s a bi

发表在 未分类 | 评论关闭

基于display:table的CSS布局

http://www.sitepoint.com/books/csswrong1/ 《Everything You Know About CSS Is Wrong》 http://www.sitepoint.com/books/csswrong1/ 这本书是10月发行的新书,为了避免版权纠纷,如要转载本文请保留以上链接,并遵循该CC2.5协议。 当IE8发布时,它将支持很多新的CSS display属性值,包括与表格相关的属性值:table、table-row和table-cell,它也是最后一款支持这些属性值的主流浏览器。它 标志着复杂CSS布局技术的结束,同时也给了HTML表格布局致命一击。最终,使用CSS布局来制作出类似于table布局的栅格将会变得十分迅速和简 单。 网页元素应用上那些与表格相关的display属性值后,能够模仿出与表格相同的特性。我将会在该文中给大家演示这种方法给CSS布局带来的巨大影响。 使用CSS表格 CSS表格能够解决所有那些我们在使用绝对定位和浮动定位进行多列布局时所遇到的问题。例如,“display:table;”的CSS声明能够让 一个HTML

发表在 未分类 | 评论关闭

在Windows下安装Nginx+PHP

Posted on 16/06/2011 by James Tang 在Windows下安装PHP运行环境主要是为了方便开发和页面的调试。 安装 其实安装过得非常简单,下面只描述简单步骤。 1. 下载nginx,如果没有特殊需求,下载最新版本,解压即可。 2. 下载PHP,我建议下载zip压缩包,因为对于nginx没有必要下载安装版本。 3. 配置nginx与在Linux下一样 4. 配置PHP,跟Linux下也一样 启动与停止 1. 启动Nginx: 1 D:/nginx-1.0.4/nginx.exe -p D:/nginx-1.0.4 2. 启动PHP-CGI 1 D:/php/php-cgi.exe -b 127.0.0.1:9001 -c D:/php/php.ini 为了方便可以写到一个批处理文件中,这里用到了一个RunHiddenConsole,可以在这里下载: 01 @echo off 02 REM Windows 下无效 03 REM set PHP_FCGI_CHIL

发表在 未分类 | 评论关闭

Notepad++实用插件分享

  不是迫不得已,一般不用重量级IDE, 像Eclipse/ZendStudio, 在Linux用vim, Windows下就非Notepad++莫属了。 Notepad++是一个优秀的开源编辑器,最大特性 就是插件丰富,这里分享一下我常用的实用插件,其中一些是Npp预装的。这些插件主要是开发相关的,所以如果想需要其它插件,可以浏览一下 http://sourceforge.net/projects/npp-plugins/files/。 Explorer Explorer是文件浏览插件,可以快速的定位当前正在编辑的文件的位置,支持在搜索目录下文件的内容(Find in files)。收藏夹功能可以保存经常使用的目录或文件。 Compare Compare, 文件对比插件,可以进行简单快速的对比,不过进行复杂点的对比,我一般用WinMerge。 DBGp DBGp客户端插件,一般与xDebug一起用来远程调试PHP程序。 TagsView TagsView,文档的Class, 属性, 方法列表。比另一个叫做FunctionList的插件更好用。 NppFtp Np

发表在 未分类 | 评论关闭

phpmyadmin Servers configuration

 /* Servers configuration */ $i = 0; /* Server: localhost [1] */ $i++; $cfg['Servers'][$i]['verbose'] = ‘localhost’; $cfg['Servers'][$i]['host'] = ‘localhost’; $cfg['Servers'][$i]['port'] = ”; $cfg['Servers'][$i]['socket'] = ”; $cfg['Servers'][$i]['connect_type'] = ‘tcp’; $cfg['Servers'][$i]['extension'] = ‘mysqli’; $cfg['Servers'][$i]['auth_type'] = ‘config’; $cfg['Servers'][$i]['user'] = ‘root’; $cfg['Servers'][$i]['passwo

发表在 未分类 | 评论关闭

OpenSourceCMS

Welcome to OpenSourceCMS.com OpenSourceCMS.com is a central resource for all things related to Open Source CMS and gives you the opportunity to “try out” most of the best Open Source CMS tools in the world without marketing fluff or sales people. Feel free to browse around on the site and try fully configured standard demos of the systems you are interested in and rate them or comment on them as you go to help others make their choice of a CMS an easier one.

发表在 未分类 | 评论关闭

phpBB3 数据库结构分析

phpBB3 数据库结构分析 标准版的PHPBB3数据库共包含62个表单, 下面按照表单的字母表顺序依次分析: phpbb_attachments 论坛附件信息 phpbb_acl_groups 用户组的权限信息(相对于用户的权限信息) phpbb_acl_options 权限选项表 phpbb_acl_roles 权限角色记录 phpbb_acl_roles_data 角色数据表 phpbb_acl_users 用户的权限信息 phpbb_banlist 封禁记录, 可以是用户ID, IP或 E-mail phpbb_bbcodes BBCode数据 phpbb_bookmarks 收藏的版面和文章数据表 phpbb_bots 机器人(搜索引擎的爬虫)数据 phpbb_config 论坛设置参数, 论坛的名称, 简介, cookie域, cookie哈希值, 登录状态保持时间等等, 都保存在这个表里 phpbb_confirm 确认码信息表 phpbb_disallow 禁止使用的用户名信息表 phpbb_drafts 用于保存用户发表文章过程中保留的草稿内容 phpbb_

发表在 未分类 | 评论关闭

5 Web Directory Software (Scripts)

1. PHP Link Directory(Php LD) PhpLD: Most popular directory script which is used by over 50,000 websites. This is the cheapest and most supported directory script I have found. Another great advantage of PhpLD is the number of templates and mods available. There are complete sites devoted to mods and templates, so in addition to this site, you will find lots of helpful information elsewhere too. 2. eSyndiCat eSyndiCat: It is a professional and affordable directory software solution. With a l

发表在 未分类 | 评论关闭

phpBB编码规范

本文的原始文档(英文)地址 phpBB 编码规范 这个可以作为PHP编程规范手册来使用 phpBB3 编程接口文档(英文) 由文档生成器生成的phpBB3 api说明 phpBB3 MOD开发文档 如果您需要制作自己的MOD, 请仔细阅读这份文档 phpBB3 MOD规范 这是官方收录MOD的标准, 如果您希望成为官方MOD列表中的作者, 这些规范是必须知道的喔 phpBB3 权限系统分析 英文原文 这是phpBB3区别于其他论坛系统的重要一块, 因为实现得很细致, 所以系统比较复杂, 想要真正了解里面的机制, 可以查看这篇文章 phpBB3 数据库结构分析 掌握phpBB3的底层数据库结构, 这是修改代码和编写MOD之前必备的一课喔, 内容正在充实中, 如果有新的见解不妨与大家分享 phpBB3优化详解 一步一步教你如何优化你的phpBB3论坛 PhpBB_Wiki_Integration2 PhpBB_Wiki_Integration phpBB3工具包(Support Tool Kit) phpBB官方团队开发的高级管理工具, 用于论坛修复和应急处理 如何在外部页面显示论坛

发表在 未分类 | 评论关闭

10 Best travel photography websites

“Best travel photography websites”. Sounds simple, right? Well, simple in the fact that there are a lot of travel photography websites out there. However, it’s challenging today to find quality, ah-inspiring photos. When it comes to photography the amount of interest about images documenting the daily life of people from around the world has exploded. Tweet this, post that, you name it, and I’ve taken a photo of it. Technology has made it easier, and faster to spread our experiences through phot

发表在 未分类 | 评论关闭

How To Find Travel Friends Online

http://travelhappy.info/travel-tips/how-to-find-travel-friends-online/ If you’re going travelling solo, you can find likeminded travel companions online to either meet at your travel destination or even travel there together to begin with   I wrote in my previous article Seven Reasons To Go Travelling Solo about how easy it is to strike out on your own and meet people along the way. But there’s no reason why you can’t find some likeminded people online to meet up with when you’re travellin

发表在 未分类 | 评论关闭

使用firefox的firebug插件进行网页js调试—-firebug使用

Firebug的中文含义是萤火虫,作者是Joe Hewitt,官方网页 http://www.getfirebug.com Firefox亦即火狐浏览器,是近年来撼动IE浏览器市场占有率的一支强大力量,要不是它的出现,我想有生之年说不定也看不到IE 7的发布了,官方网页 http://www.firefox.com 什么是Firebug 从事了数年的Web开发工作,越来越觉得现在对WEB开发有了更高的要求。要写出漂亮的HTML代码;要编写精致的CSS样式表展示每个页面模块;要调试javascript给页面增加一些更活泼的要素;要使用Ajax给用户带来更好的体验。一个优秀的WEB开发人员需要顾及更多层面,才能交出一份同样优秀的作业。为帮助广大正处于Web2.0洪流中的开发人员,在这里为大家介绍一款轻巧灵活的辅助开发工具。 Firebug是Firefox下的一款开发类插件,现属于Firefox的五星级强力推荐插件之一。它集HTML查看和编辑、 Javascript控制台、网络状况监视器于一体,是开发JavaScript、CSS、HTML和Ajax的得力助手。Firebug如同一把精巧的

发表在 未分类 | 评论关闭

Network programming with Go

v1.0, 27 April 2012 An e-book on building network applications using the Google Go programming language (golang) This book has been revised to cover Go 1. The book is not complete, and also Go is expected to introduce more packages as it evolves. Contents Architecture Overview of the Go language Socket-level Programming Data serialisation Application-Level Protocols Managing character sets and encodings Security HTTP Templates A Complete Web Server HTML XML Remote Pro

发表在 未分类 | 评论关闭

go-wiki – Go Language Community Wiki – Google Project Hosting

PageName ▼ Summary + Labels ▼ Changed ▼ ChangedBy ▼ … NetBSD Using Go on NetBSD 4 days ago minux…@gmail.com TableDrivenTests Writing test cases   testing Aug 17 dave.and…@gmail.com GoTalks Videos and presentation slides about Go. Aug 7 a…@golang.org GoArm Using Go on ARM powered machines Aug 6 d…@cheney.net NonEnglish Go documentation in languages other than English. Jul 29 danielgv…@gmail.com InstallTroubleshoo

发表在 未分类 | 评论关闭

Contao Open Source CMS Features

Contao has an intuitive user interface that uses Ajax and Web 2.0 technologies for optimal usability. Multiple back end languages and themes, a powerful permission system, versioning and undo management, advanced search and sorting options or the Live Update Service are just a few of many features that make Contao stand out from other CMS. The Contao front end is 100% template based and generates accessible XHTML strict output that meets the W3C/WAI requirements. Search engine friendly URLs, GZ

发表在 未分类 | 评论关闭

Go Language Resources Go & Go Programs and Apps

http://go-lang.cat-v.org/pure-go-libs Libraries Written in Go This are various libraries implemented in the Go programming language. Please contact me if you know of any others not listed here. Databases go-cdb- Library to read and write D. J. Bernstein’s cdb (“constant database”) format. By John Barham. gocouch- A CouchDB client library written in Go. By Michael Hoisie. gofluid – FluidDB client library for Go by rossdjones (repo is down?) go datamapper- ActiveRecord-like database w

发表在 未分类 | 评论关闭

go web

The easiest way to create web applications with Go — Read more http://github.com/hoisie/web   Clone in Windows ZIP HTTP Git Read-Only Read-Only access web / Dismiss Octotip: You’ve activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files.   name No matching files Jump to Line Go Tags 1 Downloads 0 branch: master Switch branches/tags Branches Tags Nothing to show master rele

发表在 未分类 | 评论关闭

hg(Mercurial)使用参考

2011-10-14 使用hg(mercurial)有好几个月了,个人感觉这款分布式的版本控制系统非常不错,易学,易用;你可以从做在你旁边的同事拉取完整的代码; 对网络的依赖性更低,有本地沙盒,真正实现了离线开发; 轻量;安全,不会因为一两个节点的损坏而影响整个系统。这里做下使用笔记,脑子不好使,容易忘。 安装: windows下的图形界面工具:http://tortoisehg.bitbucket.org/ 命令行:http://mercurial.selenic.com/ Ubuntu安装方式:sudo apt-get mercurial Mercurial配置 Linux/Mac: 在主目录创建一个.hgrc做为配置文件 windows: xp中可以在C:\Documents and Settings下找到mercurial.ini,win7中没有的话就在C:\Users\[user]\下面创建一个 在文件中配置用户名,写入: [ui] username = xwuxin #配置默认路径: [paths] default = http://www.xxxx.com/hg d

发表在 未分类 | 评论关闭

Benchmarking Go and Python Web servers

https://github.com/ziutek/web_bench/blob/f99c44b6acc71ba77617b609f5208d587f0c763c/twister.go http://go-lang.cat-v.org/pure-go-libs http://code.google.com/p/golang-china/ To build the Web applications I use mostly Python. An year ago I started learning Go, mainly for fun. In the meantime it turned out that I have to rewrite some old CGI application written in C, which have worked with thttpd server in chroot mode. I started searching for a tool with which I could write a standalone web applicatio

发表在 未分类 | 评论关闭