码迷,mamicode.com
首页 > 其他好文
如何在浏览器中执行调试Sencha Touch源代码
用.NET开发习惯了,每次想在浏览器中查看效果,只会在Visual studio中用右键——在浏览器中浏览的方式执行。 Sencha touch遇到的问题必须要在IIS网站中修改MINI类型和处理程序映射。而visual studio2012中浏览会默认用IIS express,导致无法调试。而用修改VS使调试时用本地IIS也是有问题的。         幸好sencha cmd本身自...
分类:其他好文   时间:2015-01-28 14:37:39    阅读次数:146
LeetCode—Excel Sheet Column Title
Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB 这里就是一个将...
分类:其他好文   时间:2015-01-28 14:37:56    阅读次数:133
IP 层分析
为什么 UDP 发送有最大限制,IP 分片到底是什么?通过实例分析,你将会了解到网络层的工作原理。...
分类:其他好文   时间:2015-01-28 14:37:28    阅读次数:170
coderforces 508A 易错
背景:一直wa!wa!我以为思路已经绝不会错了!结果还是wa!和别人代码比了半天都找不出来错误之处! 思路:简单的暴力,简单的数学。 学习:1.即使已经得到结果了,但还是应该继续输入,因为,输入流还有很多数据,不继续就会对下一次造成干扰!!但是!!既然后面输入的数据已经没有用了,那就不能让他对答案进行更新了!#include #include int map[2000][2000]; i...
分类:其他好文   时间:2015-01-28 14:37:57    阅读次数:93
source insight 完全卸载和重装
Source insight的卸载不干净,会影响之后的安装 切入正题,完美卸载source insight的方法: 一、在pc的控制面板—>程序—>卸载程序 找到source insight 二、在弹出来的框中选择custom 三、点击next,对之后弹出来的框均选择select all 四、一直s...
分类:其他好文   时间:2015-01-28 14:36:04    阅读次数:408
Pyqt 中__init__(self,parent==None) parent理解
参考:在PyQt中,所有class都是从QObject派生而来,QWidget对象就可以有一个parent。这种parent-child关系主要用于两个方面:没有parent的QWidget类被认为是最上层的窗体(通常是MainWindow),由于MainWindow的一些操作生成的新窗体对象,pa...
分类:其他好文   时间:2015-01-28 14:38:10    阅读次数:358
内核 current宏解析
Technorati 标签: current thread_info 在内核中,可以通过current宏来获得当前执行进程的task_struct指针。现在来简要分析以下: 最原始的定义如下: #define current get_current() #define get_current() (...
分类:其他好文   时间:2015-01-28 14:36:32    阅读次数:391
sourceInsight使用技巧,持续更新中~~~
作为测试人员,读各种平台的工程代码时,根本不想安装各种vs或者eclipse等,于是,就找了一款代码阅读工具。 sourceInsight,下载地址为官网:http://www.sourceinsight.com/ 那么,问题就来了,sourcinsight的界面风格呀,真真不习惯,而且打开代码文件...
分类:其他好文   时间:2015-01-28 14:35:39    阅读次数:187
[Flex][Adobe Flash Builder 4.6]谷歌浏览器(Chrome)下运行Flex程序的问题
今天刚开始学习Flex,发现用Chrome运行程序时会一片空白,上网查了相关资料后找到了解决方法:打开Chrome,在地址栏输入:chrome://plugins/ 进入插件管理界面,查找Flash,看看是否为两个文件,形如:Adobe Flash Player (2 files) - 版本: 15...
分类:其他好文   时间:2015-01-28 14:34:00    阅读次数:145
快速查找所有存储过程中是否包含某个字符串
--将text替换成你要查找的内容 select name from sysobjects o, syscomments s where o.id = s.id and text like '%text%' and o.xtype = 'P' --将text替换成你要查找的内容 SELECT ROU...
分类:其他好文   时间:2015-01-28 14:34:45    阅读次数:175
NVIC中断
(1)NVIC 全称为Next Vector Interrupt Controoler,嵌套中断向量控制器,是ARM Cortex M3的内部设备之一,任何一款基于ARM Cortex M3的内核都带有NVIC。(2)中断响应 当某个中断来临,会将相应的中断标志位置位。当CPU查询到这个置位的标志位...
分类:其他好文   时间:2015-01-28 14:33:28    阅读次数:570
Multithreading For Performance
[This post is by Gilles Debunne, an engineer in the Android group who loves to get multitasked. — Tim Bray]A good practice in creating responsive appl...
分类:其他好文   时间:2015-01-28 14:34:20    阅读次数:180
Tomcat catalina-deamon.out 日志切割 每天生成一个文件
Tomcat 使用 jsvc 以守护进程的方式启动(daemon.sh )。这样tomcat自身将会生成另外一个日志文件(catalina-daemon.out),而不是之前的catalina.out,而且catalina-daemon.out日志不会自动切割,会越来越大。以前遇到过一个问题,就是网...
分类:其他好文   时间:2015-01-28 14:31:59    阅读次数:866
「OC」block 和 protocol
一、block (一)简介 block 是什么?苹果推荐的类型,效率高,在运行中保存代码。用来封装和保存代码,有点像函数,block 可以在任何时候执行。在多线程、异步任务、集合遍历、集合排序、动画转场用的很多。 block和函数的相似性:(1)可以保存代码(2)有返回值(3)有形参(4)调用方.....
分类:其他好文   时间:2015-01-28 14:32:16    阅读次数:136
Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
在MySQL Workbench里面使用SQL语句:delete from 表名提示出错:Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses...
分类:其他好文   时间:2015-01-28 14:33:56    阅读次数:167
1020. Tree Traversals (序列建树)
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ou...
分类:其他好文   时间:2015-01-28 14:32:56    阅读次数:152
Dom优化
Dom与浏览器(1)重排与重绘 -详细讲解:http://zhangyaochun.iteye.com/blog/1681641(2)添加顺序: -尽量在appendChild前添加操作(3)合并dom操作: -利用cssText(4)缓存布局信息(5)文档碎片 -createDocumentF.....
分类:其他好文   时间:2015-01-28 14:32:45    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!