首页 > 其他
Notepad++ Emmet安装方法教程
Notepad++ Emmet安装后出现 unknown exception提示插件无效Python Script Plugin did not accept the script。以下为记录解决方法和过程,在此记录备查。Emmet的前身是大名鼎鼎的Zen coding,Web前端开发的话,对该插件...
分类:其他   时间:2015-09-23 14:49:39    收藏:0  评论:0  赞:0  阅读:482
导出word文档
stringid=Request["id"];if(string.IsNullOrEmpty(id)){Response.Write("参数有误!!!");return;}Model=db.FirstOrDefault("select*fromdt_JobwhereId=@0",id);if(Mod...
分类:其他   时间:2015-09-23 14:49:09    收藏:0  评论:0  赞:0  阅读:251
值类型和引用类型
先简单介绍一下它们:严格来说应该是下面的这些:值类型包括:结构体(数值类型,bool型,用户定义的结构体),枚举,可空类型。引用类型包括:数组,用户定义的类、接口、委托,object,字符串为什么要设计值类型:值类型不需要从托管堆分配引用类型产生的实例对象在托管堆上都会有一些额外的成员,这些成员必须...
分类:其他   时间:2015-09-23 14:48:49    收藏:0  评论:0  赞:0  阅读:385
Entity Framework 6.0 IIS 部署出错解决方案
我自己写的webAPI + EF6.0 本地运行正常,部署到Windows Server2008中的IIS7.5中报错。报错信息如下:"Message":"出现错误。","ExceptionMessage":"无法为具有固定名称“System.Data.SqlClient”的 ADO.NET 提供程...
分类:其他   时间:2015-09-23 14:48:29    收藏:0  评论:0  赞:0  阅读:799
期待,是所有心事的根源。
我承认,“期待,是所有心事的根源”最近自己一直觉得累,不仅仅是生活压力,还有心里压力,压得自己一点都不快乐。朋友说:“开心不是强装出来的,不是写在脸上用来欺骗自己的。”姥姥说:“别瞎想啦,好好吃饭好好睡觉,听到了么?!”自己说:“为什么?为什么他不喜欢自己?到底是哪里做的不好,还是我一开始我就错了。...
分类:其他   时间:2015-09-23 14:48:19    收藏:0  评论:0  赞:0  阅读:126
Great StackOverflow questions
1. diffenece between MVC and MVPhttp://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference
分类:其他   时间:2015-09-23 14:48:09    收藏:0  评论:0  赞:0  阅读:227
Masonry的简单使用
介绍Masonry源码在其官网上也进行了很多的介绍,在下面会写出我自己的一些见解.如果使用过iOS中系统的NSLayoutConstraints已经知道非常麻烦如下代码就是系统的约束UIView *superview = self;UIView *view1 = [[UIView alloc] in...
分类:其他   时间:2015-09-23 14:47:40    收藏:0  评论:0  赞:0  阅读:285
Project Euler:Problem 28 Number spiral diagonals
Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows:2122 23 242520 78 91019 6 12 1118 54 ...
分类:其他   时间:2015-09-23 14:47:29    收藏:0  评论:0  赞:0  阅读:233
智能交通仿真插件源程序 —— VSL-1 可变限速控制
The VSL-1 algorithm is an effective variable speed limit control method which can minimize the standing queue length before a work zone by reducing a....
分类:其他   时间:2015-09-23 14:46:00    收藏:0  评论:0  赞:0  阅读:373
书法2
分类:其他   时间:2015-09-23 14:45:29    收藏:0  评论:0  赞:0  阅读:203
直线提前量瞄准
import org.robochina.airobot.tank.*;import org.robochina.math.*;import java.awt.geom.*;import java.util.*;public class FireFirst extends SimpleRobot{ ...
分类:其他   时间:2015-09-23 14:45:21    收藏:0  评论:0  赞:0  阅读:295
leetcode - Missing Ranges
称号:Missing RangesGiven a sorted integer array where the range of elements are [0, 99]inclusive, return its missing ranges.For example, given [0, 1, 3,...
分类:其他   时间:2015-09-23 14:45:09    收藏:0  评论:0  赞:0  阅读:196
nginx 502排错
线上一台机器(该论坛所在机器)近期频繁出现502,每100次访问就会出现10次,这频率也太高了。于是开始了我的502排查之旅ps aux |grep -c php结果为200netstat -an |grep -c php结果一直在5以下,这说明php-cgi 的进程是绝对够用的。查看php-fpm...
分类:其他   时间:2015-09-23 14:44:59    收藏:0  评论:0  赞:0  阅读:230
UITextField的总结
1.UITextField的初始化和设置 textField = [[UITextField alloc] initWithFrame:CGRectMake(120.0f, 80.0f, 150.0f, 30.0f)]; [textField setBorderStyle:UITextBord...
分类:其他   时间:2015-09-23 14:43:59    收藏:0  评论:0  赞:0  阅读:202
背景:表A数据误操作,被delete了,恢复。
SELECT MAX(Scn) FROM Sys.Smon_Scn_Time WHERE Time_Dp < TO_DATE('2015-09-18', 'YYYY/MM/DD') selectb.file_name 物理文件名,b.tablespace_name 表空间,b.bytes/102.....
分类:其他   时间:2015-09-23 14:43:09    收藏:0  评论:0  赞:0  阅读:260
SOS.dll(SOS 调试扩展)
SecAnnotate.exe(.NET 安全批注器工具)SignTool.exe(签名工具)Sn.exe(强名称工具)SOS.dll(SOS 调试扩展)SqlMetal.exe(代码生成工具)Storeadm.exe(独立存储工具)Tlbexp.exe(类型库导出程序)Tlbimp.exe(类型库...
分类:其他   时间:2015-09-23 14:42:39    收藏:0  评论:0  赞:0  阅读:180
Leetcode Gas Station
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:其他   时间:2015-09-23 14:42:09    收藏:0  评论:0  赞:0  阅读:186
class_copyIvarList和class_copyPropertyList的区别
class_copyPropertyList返回的仅仅是对象类的属性(@property申明的属性),而class_copyIvarList返回类的所有属性和变量(包括在@interface大括号中声明的变量) -->> { NSString *name; }
分类:其他   时间:2015-09-23 14:40:39    收藏:0  评论:0  赞:0  阅读:300
【补充】第一次个人项目出现的bug
>>>>>直接上代码,问题出在随机分数的生成上,确实出现了一些非常鱼唇的错误,不过已经提交了就没办法了,在这里发出来仅供参考吧:修改前: 1 public static Fraction nextFrac(int width, Random seed) 2 { 3 ...
分类:其他   时间:2015-09-23 14:40:09    收藏:0  评论:0  赞:0  阅读:233
2015年上半年:888起数据泄露事件 2.46亿份档案被盗
据金雅拓公司(Gemalto)刚刚发布了2015年上半年的数据泄露等级指数(Breach Level Index,BLI),2015年上半年,全球有记录的数据泄露事件数量为888起,被盗档案数则略少于2.46亿份,需要注意的是,真实情况会比这些...
分类:其他   时间:2015-09-23 13:37:11    收藏:0  评论:0  赞:0  阅读:217
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!