上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: hosts文件是一个用于储存计算机网络中各节点信息的计算机文件。这个文件负责将主机名映射到相应的IP地址。hosts文件通常用于补充或取代网络中DNS的功能。和DNS不同的是,计算机的使用者可以直接对hosts文件进行控制。### 如何修改hosts文件?1. hosts文件的位置:xp,2000,... 阅读全文
posted @ 2015-05-05 10:41 码不能停 阅读(1904) 评论(0) 推荐(0) 编辑
摘要: *window.open()*,顾名思义,是指在当前浏览器窗口弹出另一个浏览器窗口。因为多种原因,浏览对`window.open`弹出的窗口做了多方限制。限制不同,肯定会造成各浏览器弹出窗口的差异。大部分浏览器会把由javascript弹出的窗口阻止(blocked)掉,得到用户的允许后,打开相应的... 阅读全文
posted @ 2015-05-04 22:47 码不能停 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: ### 清除select下拉选项,添加并选择特点选项```javascript$('#mySelect') .find('option') .remove() .end() .append('text') .val('whatever');```[ref:http://... 阅读全文
posted @ 2015-05-04 22:23 码不能停 阅读(156) 评论(0) 推荐(0) 编辑
摘要: ### addslashes ```phpprint addslahes ('She said, "Great!"');#output#She said, \"Great!\```### echo ```phpecho "hello world"#output#hello world```### e... 阅读全文
posted @ 2015-02-19 22:30 码不能停 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 本篇说的基本使用包括:* php常规的语法* date,number,array等对象的处理方式程序语言的常规的语法都比较好理解,大致相同。假如你是精于其它解释型语言的程序员,迁移到php几乎不费力气。反之也是一样的效果。而这个迁移的过程,我个人认为不是一个学习的过程,而是一个使用的过程。因为,我们... 阅读全文
posted @ 2014-12-27 23:55 码不能停 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 这里指的是个人开发环境,非服务器部署环境。就个人而言,我都是使用相应的套件:* win [appserv](http://appservnetwork.com/)* mac [MAMP Pro](http://www.mamp.info/en/mamp-pro/) 阅读全文
posted @ 2014-12-18 16:59 码不能停 阅读(110) 评论(0) 推荐(0) 编辑
摘要: PHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything f... 阅读全文
posted @ 2014-12-17 01:14 码不能停 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Front-end-Developer-Interview-QuestionsA list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.I tested myself and recorded it.General QuestionsHTML QuestionsCSS QuestionsJS QuestionsjQuery QuestionsCoding QuestionsFun Questions 阅读全文
posted @ 2013-11-21 16:00 码不能停 阅读(394) 评论(0) 推荐(0) 编辑
摘要: Explain "chaining".Chaining allows us to run multiple jQuery methods (on the same element) within a single statement.like this:$(selector).doA().doB().doC()Explain "deferreds".The Deferred object, int... 阅读全文
posted @ 2013-11-20 16:00 码不能停 阅读(527) 评论(0) 推荐(0) 编辑
摘要: Explain event delegationEvent delegation allows us to attach a single event listener, to a parent element, that will fire for all children matching a selector, whether those children exist now or are ... 阅读全文
posted @ 2013-11-20 16:00 码不能停 阅读(1433) 评论(0) 推荐(0) 编辑
摘要: What's a doctype do?Instruct the browser to render the page.What's the difference between standards mode and quirks mode?Obviously,the css box model.What are the limitations when serving XHTML pages?A... 阅读全文
posted @ 2013-11-20 16:00 码不能停 阅读(211) 评论(0) 推荐(0) 编辑
摘要: What did you learn yesterday/this week?Learning Angular.What excites or interests you about coding?CoolReduce the boring & repeating worksThe learning process is happinessWhat UI, Security, Performanc... 阅读全文
posted @ 2013-11-20 16:00 码不能停 阅读(625) 评论(0) 推荐(0) 编辑
摘要: Describe what a "reset" CSS file does and how it's useful.What Is A CSS Reset? A CSS Reset (or “Reset CSS”) is a short, often compressed (minified) set of CSS rules that resets the styling of all HTML... 阅读全文
posted @ 2013-11-19 16:00 码不能停 阅读(887) 评论(0) 推荐(0) 编辑
摘要: Application for front-end developer position in Chicago OfficeDear HR,I am writing to apply for the Front End Web Developer position posted on our company website.I have a master's degree in computer ... 阅读全文
posted @ 2013-11-18 16:00 码不能停 阅读(153) 评论(0) 推荐(0) 编辑
摘要: MATTHEW.ZHONGMale,27 Age Front-End Developer matthew.zhong@morningstar.comOBJECTIVEMy objective is to build SaaS App(also Single Page App) by using advanced technologies like HTML5/CSS3/NODE/MVVM.et... 阅读全文
posted @ 2013-11-15 16:00 码不能停 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 每次做code review,先贤谆谆教诲便在耳畔响起:“There are only two hard problems in Computer Science: cache invalidation and naming things.” —Phil Karlton将发现的问题整理如下:Hard Code这个永远是容易发现,也是最容易出现的问题,主要集中在 :配置项 t... 阅读全文
posted @ 2013-11-13 16:00 码不能停 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 构建了一个smar-tip的tooltip组件主要特性自动定位与边界查找支持8个方向与圆角自定义皮肤调用(Usage) var $container = $("#container"), $btn = $("#btn"), content = "苍井优的出道要追溯到公演于1999年的音乐剧《安妮》, " + "万人候选,她脱颖而出,被选中出演波丽一角。" + ... 阅读全文
posted @ 2013-11-12 16:00 码不能停 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 当需要清空某个dom结点内容时,我所知道的有两种方法:1.Element.removeChild(child) // Removing all children from an element var element = document.getElementById("test"); while (element.firstChild) { element.removeChild(... 阅读全文
posted @ 2013-10-07 15:00 码不能停 阅读(3116) 评论(0) 推荐(0) 编辑
摘要: IndexMeta-ListsGraphics user interfacesGraphics ProgrammingLanguage AgnosticAdaAndroidAutotoolsASP.NET MVCAssembly LanguageBashCC++ClojureCoffeeScriptColdFusionDDTraceDB2Delphi / PascalDjangoElasticse... 阅读全文
posted @ 2013-09-28 15:00 码不能停 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 最近UI上经常遇到点击一个按钮,出现一个带指向箭头的面板的情况,如图:于是就写了个flyout-panel的组件,但此flyout-panel(飞出面板)只是个点击面板,更像tooltip,不是严格意义上的飞出面板(如我博客左侧“分享到...”面板),只是不太会取名字,估且先叫flyout-panel;先上代码,再讲逻辑:(function(){varreqs=["Handlebars","jquery","text!mr-fp/flyout-panel.html",//支持行内样式时需要的模板"css!mr-fp/flyo 阅读全文
posted @ 2012-11-20 22:01 码不能停 阅读(2794) 评论(11) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页