• Home
  • 关于我
  • 常用软件

前端之路

网站开发, 前端开发, 高性能前端开发

  • design
  • 前端技术
  • 后端技术
  • 开发IDE
  • 开源
  • 数据库相关
  • 默认分类

Previous Posts

  • 十 10, 2009

    No Comments

    访问GOOGLE相册

    1. win+r notepad.exe C:\WINDOWS\system32\drivers\etc\hosts 2. 增加 203.208.39.99 lh1.ggpht.com lh2.ggpht.com lh3.ggpht.com lh4.ggpht.com lh5.ggpht.com lh6.ggpht.com lh7.ggpht.com 203.208.39.99 lh8.ggpht.com...

  • 十 10, 2009

    No Comments

    同事提供的题目(Taobao)

    alert(toRGB("#0000FF")); //返回rgb(0,0,255) alert(toRGB("#00F")); //返回rgb(0,0,255) alert(toRGB("#FF0000")); //返回rgb(255,0,0) alert(toRGB("taobao")); //返回rgb(taobao) alert(toRGB("#G00")); //返回rgb(#G00) function toRGB(color){ //第有一字符有#号 if(color.indexOf('#')==0){ //判断长度 if(color.length==4){ //取出字母 r = color.match(/([\da-z])/ig); }else{ //取出字母 r = color.match(/([\da-z]{2})/ig); } //返回 return 'rgb('+formatHEX(r) +')'; }else{ return 'rgb('+color+')'; } } //转化色彩数组转为10进制 function formatHEX(x){ var html=[]; for(i in x){ html[i] = parseInt(x[i], 16); if(isNaN(html[i])){ return '#'+x.join(''); } } return html.join(',');...

  • 九 28, 2009

    No Comments

    window server2008 开启无线支持

    1. start -> administrarot tools -> server manager 2. 选中左边中的 features -> 右边增加 ad features 3. wireless lan service ->...

  • 九 21, 2009

    No Comments

    sqliteadmin非常好的sqlite3客户端

    开源免费, 还很好用, 最重要的还有中文! http://download.orbmu2k.de/files/sqliteadmin.zip...

  • 九 10, 2009

    No Comments

    Komodo 5.2 Coming Soon!

    Komodo IDE 5.2 is now in Beta, and scheduled for release mid-September. Along with some performance and stability improvements, we’ve added a lot of new things: Ruby: Debugging support for Ruby 1.9.1 and up. PHP: New PHP 5.3 support: Code browser and section list support for namespaces Code completions for /Namespaces Syntax coloring of latest...

  • 九 10, 2009

    No Comments

    数组随机排序

    var wangwangList = ['咨询online','咨询online1','咨询online2','咨询online3']; /** * 随机排预 * @param 旺旺名字列表 * @returns HTML代码 **/ function randomWangWang(A){ var B,C; var X = []; var j=0; for(i=A.length;i>=1;i--){ C=Math.floor(Math.random() * A.length); X[j] = outWangWangCode(A[C]); A.splice(C,1) j++; } return X } /** * 转化为HTML链接形式 * @param 旺旺名字 * @returns HTML代码 **/ function outWangWangCode(n){ var _n = encodeURIComponent(n); var html='';...

  • 九 08, 2009

    No Comments

    80 端口被占用,启动apache失败的解决方法

    首先用netstat -ano 看是得到占用80端口的进程的PID,然后打开任务管理器, 选择  查看->选择列,勾上PID(进程标识符),结束这个进程,再启动APACHE就成功了 可以使用 netstat -ano ->1.txt...

  • 八 26, 2009

    No Comments

    完美的表格(CSS与HTML)

    理论上兼容所有浏览器(FF,GG,IE)其他未测试 table{ border-collapse:collapse;border:1px solid #CCC;background:#efefef;width:100%} table th{ font-weight:bold; padding:.5em 2em .5em .75em; line-height:1.6em; font-size:12px; border:1px solid #CCC;} table td{ padding:.5em .75em; line-height:1.6em; font-size:12px; border:1px solid #CCC;} 1...

  • 八 20, 2009

    No Comments

    编码问题导致Javascript报错.

    问题: 报JS标签没有关闭. 原因: JS没有修改过且线上版本也是正常的,但在测试环境下. 解决: 跟踪了很久, 变量, 常量, 数组是正常了. 后来看到页面上JS输出的内容乱码. 这里想到可能是 页面编码 与 JS编码不同导致的问题. 程序的页面是GB2312的,...

  • 八 18, 2009

    No Comments

    C#和Java是工作日语言,Python和Ruby是周末语言

    Stack Overflow是很受欢迎的程序设计问题协作式问答社区,当程序员在编程中遇到问题,他们会在Stack Overflow上发帖讨论,这些问题会涉及到各种语言。于是便提出一个有趣的问题:在工作日程序员通常问何种语言的问题较多,周末呢? 使用Stack Overflow的存档,Dan Lorenc分析了一周内程序语言的活跃性。结果发现:到了周末询问Python和Ruby相关问题的数量上升,而C#和Java的数量下降。这意味着程序员周末在个人项目上使用较多的是Python和Ruby语言,可能是因为它们用起来让人愉快。下次当Boss让你选择工作语言时,你或许可以向他展示这个结果。...


RSS Feed

Subscribe to feed
get the latest updates!


  • 标签

    ajax Apache auto class cmd cookie css css布局 datagird date design div height hosts html http IE6 iframe javascript jquery js mysql php python svn table try xxtea 上海 优化 加密 协议 命令 字段 安全 导航 工业设计 左下对齐 开源 异常处理 数据库设计 水平居中 生活创意 自动更新 菜单
  • 近期文章

    • 使用php控制页面浏览器缓存与启用gzip传送
    • 使用监控宝免费即时监控你的网站
    • 圆角框架示例代码
    • 延时弹出层控制
    • 用PHP生成MYSQL数据字典
  • 分类目录

    • design
    • 前端技术
    • 后端技术
    • 开发IDE
    • 开源
    • 数据库相关
    • 默认分类
  •  

    2012 年五月
    一 二 三 四 五 六 日
    « 三    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • 同事网站

    • 5173UED博客
    • Delver's Blog
    • Jerry's blog – 活鼠拙文
    • 绿茵豪门的主场
    • 雨夜带刀's Blog
  • 我的站点

    • Creative Home Life
    • 我的腾讯微博
    • 简单框架
    • 萌动在线读书
  • 网站收藏

    • iconspedia
    • 非常有童趣的图标站点
  • 功能

    • 注册
    • 登录
    • 文章 RSS
    • 评论 RSS
    • WordPress.org
  • Random Pages

    • 全球最流行时尚网店Top10
    • div实现table左下对齐功能
    • 【全球号召】拯救MySQL!
    • 功能类似,界面类似!
    • python合并多个TXT
    • 判断PHP采集数据时数据源有没有出错
    • 强烈推荐:240多个jQuery插件
    • 水土不服怎么办
    • PHP通过GD库输出中文(简单方法)
    • 今天发现我的 58ka.com.cn首页被K

前端之路 © 2012. All rights reserved.
A quality product by KreativeThemes