自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Leo的Geo

有些人 有些事 可遇不可求

  • 博客(11)
  • 资源 (6)
  • 问答 (1)
  • 收藏
  • 关注

转载 [转载觉得写的不错]Node.js后端架构的思考

http://www.cnblogs.com/hh54188/p/6371578.html一个怎样的后端服务才能算得上优秀?或者放低身段说合格?再把这个问题翻译翻译,优秀或者合格的标准是什么?假设现在需要你用NodeJS搭建一个http服务,我猜测你会借助express框架用不到10行的代码完成这项工作。不能说这么做是错的,但这样简易的程序是脆弱的:一旦部署上线之后,可能瞬间就

2017-06-09 17:28:25 839

转载 script标签中defer和async属性的使用

http://www.cnblogs.com/neusc/archive/2016/08/12/5764162.html

2017-02-07 09:16:16 497

转载 JS自定义事件的定义和触发(createEvent, dispatchEvent)

【转】http://www.cnblogs.com/stephenykk/p/4861420.html在JavaScript前端开发中,我们经常调用click、mouseup等基本事件。有的时候,为了满足特定功能的要求,我们需要自定义事件,这就要说到自定义事件的运作机制。由于浏览器兼容性问题,针对标准浏览器和IE6/7等浏览器。1. 对于标准浏览器,其提供了可供元素触发的方法:

2017-01-16 09:42:16 15262 1

转载 DOM事件阶段以及事件捕获与事件冒泡先后执行顺序(图文详解)

文章来源:http://www.jb51.net/article/71236.htmDOM事件三个阶段当一个DOM事件被触发时,它不仅仅只是单纯地在本身对象上触发一次,而是会经历三个不同的阶段:1.捕获阶段:先由文档的根节点document往事件触发对象,从外向内捕获事件对象;2.目标阶段:到达目标事件位置(事发地),触发事件;3.冒泡阶段:再从目标事件

2017-01-13 15:44:17 576 1

原创 BeautifulSoup4 安装使用问题

最近在研究Python时想使用BeautifulSoup来着!!试了好几种方法都会报一些错误,尤其是:from bs4 import BeautifulSoupTraceback (most recent call last):File “”, line 1, inFile “C:Python35beautifulsoup4-4.5.1bs4__init__.py”,

2016-11-29 09:43:52 1138

原创 asp.net中有关文件HTTP上传服务器保存的问题(捷易拍sdk开发方面)

我们都知道,一般客户端文件上传服务器有两种方法:HTTP上传和FTP上传两种。两种上传方式以捷易拍SDK为例:1.HTTP上传:/*************************************************************************/BOOL bUpLoadImage(LPCTSTR fileName, LPCTSTR serverNam

2016-05-31 12:16:16 1350

原创 asp.net中前台JavaScript库调用后台C#变量和有参函数方法

最近在做项目时,遇到了js库里调用后台的变量和函数的问题,一开始不知道咋办,google了很多。1.封装成JavaScript库,其中调用后台C#变量:     网上有三种基本方法: 方法一:1、通过页面上隐藏域访问  方法二:1、如后台定义了PUBLIC STRING N;前台js中引用该变量的格式为 ' '或"+ +" 方法三:1、或者你可以在服务器端变量赋值后在页面注册

2016-05-31 11:29:24 5515

转载 asp.net项目页面间传值的几种方式(部分转载)

由于本人正在做ASP.net的web端开发,涉及到很多页面间传值,于是在此做一下整理方便以后进行查阅。这里都是介绍在一个页面进行赋值,传递到另外一个页面中:赋值页面:Manage.aspx   传递页面:Detail.aspx。1.使用QueryString方法Manage.aspx.cs代码: Response.Redirect("Detail.aspx?lo

2015-12-27 17:10:03 387

转载 asp.net网页间传值方式之Response.Redirect和Server.Transfer

请求的过程:   1)浏览器aspx文件请求--->服务器执行--->遇到Response.Redirect语句->服务器发送Response.Redirect后面的地址给客户机端的浏览器--->浏览器请求执行新的地址   2)浏览器aspx文件请求->服务器执行->遇到Server.Transfer语句->服务器转向新的文件   可以见Server.Transfer比Response

2015-12-27 16:59:15 1382

原创 GridView中存在多行数据,如何获取数据表主键值以对某一整行数据进行编辑

代码如下:protected void grvMHN_RowEditing(object sender, GridViewEditEventArgs e)    {                grvMHN.EditIndex = e.NewEditIndex;        this.lblId2.Text = grvMHN.DataKeys[grvMHN.Edit

2015-12-27 15:41:47 1302

原创 GridView绑定后翻页问题解决(PageIndexChanging(object sender, GridViewPageEventArgs e))

代码如下:protected void hjakHjkk_PageIndexChanging(object sender,GridViewRowEventArgs e)    {       this.hjakHjkk.PageIndex = e.NewPageIndex;       TpsaaBind();    }报错:错误27 “System.Web

2015-12-22 18:54:05 4757

一种快速编写HTML/CSS代码的方法(notepad++)

具体见:https://www.qianduan.net/zen-coding-a-new-way-to-write-html-code/

2016-07-18

一些很不错的JQuery的例子(附上jQuery_Succinctly.pdf)

都是一些精美实例原代码,值得一个个研究学习JQuery。

2016-07-18

CommentClearTool

一款很简单的代码注释清除工具。解决编码中的一些注释问题。

2016-07-18

Pro ASP.Net MVC 5

一本很好的介绍ASP.net MVC 5的书。全英文版。

2016-07-18

Advanced .NET Programming

This is a book about getting the best out of .NET. It is based on the philosophy that the best approach to writing good, high-performance, robust applications that take full advantage of the features of .NET is to understand what's going on deep under the hood. This means that there are chapters that explore the .NET internals and in particular Common Intermediate Language (CIL), as well as chapters with a very practical basis, covering how to use specific technologies such as threading, dynamic code generation, and WMI. This book is not a purely theoretical book for geeks, nor is it one of those purely problem-solving books that tells you how to write some code to do something without explaining how and why it works. Rather, I have sought to combine the twin aspects of practical technology-specific applications and diving under the hood of the CLR, in the belief that the true advanced .NET developer needs both. So a lot of the book is devoted to diving deep under the covers of .NET. We go way beyond the MSDN documentation in places - and generally beyond most other .NET books presently available. But we never go into some abstract feature just for the sake of it. There is always a background focus on the fact that understanding this CLR implementation detail can in some way help you to write better code. And there are a lot of chapters that show you how to write better applications in specific areas such as Windows Forms, how to take advantage of .NET features such as security, or how to better debug your code or optimize it for performance. Just as it says on the cover, this is a book about advanced .NET programming. It's a book for people who are already familiar with the principles of writing applications targeted at the .NET Framework and who want to understand more. This will perhaps be to get an idea of exactly what the JIT compiler is looking for when it assesses whether your code is type-safe. Perhaps to be able to look at the CIL emitted by your compiler so you can understand some of the optimizations and use the knowledge to write better performing code. Or perhaps because you need to use some of the more advanced features of .NET in your code, such as dynamic code generation, or you need more information about setting up security for or for deploying your code. The advanced nature of this book is illustrated by the fact that the very first thing we do, in Chapters 1-2, is to start learning Intermediate Language (IL). There's no way out of that if you really want to get the best from this book - we need it so we can look at how certain high-level language features of VB, C#, and C++ work under the hood. The fact that this is an advanced book means that I won't spend any time telling you any of the basics of .NET, other than occasionally in the form of a quick background review. So for example, if you don't yet know what a JIT compiler is, or what the difference between a value and reference type is, then this is not the book for you - because I assume you already know all that that. Similarly, I assume that you are fluent in at least one high- level .NET-compliant language, such as Managed C++, Visual Basic .NET, or C#. In order to read this book you should also be comfortable with the principles of implementation-inheritance-based object-oriented programming. As an example, one of the areas we cover in the book is assemblies. If you want to understand why Microsoft introduced the concept of the assembly, what metadata is, or how assemblies solve versioning issues and enable all the information needed to use the assembly in one place, you won't find that information in this book. There are already lots of books on the market that will give you that kind of information. Since this is an advanced book, we assume you already know all that stuff. Instead, our chapter about assemblies starts by presenting the binary format for an assembly - reviewing how the IL code and metadata is laid out in it, and how this helps with performance. Then it goes on to look at how you can extract information and metadata from the assembly programmatically, following up with how you can use assemblies and resources in your assemblies to make sure your applications are correctly localized and ready for those world-wide sales you're looking for.

2016-07-18

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除