码迷,mamicode.com
首页 > 2014年11月21日 > 全部分享
笔记整理
平时遇到的一些可能会有帮助的东西,不定期整理。1、CSS Hack!important#content { height:960px !important; height:900px;}该代码IE6不识别提升优先级的!important指令,所以IE6下读的是height:900px;这...
分类:其他好文   时间:2014-11-21 12:31:32    阅读次数:131
android本地定时通知
android本地通知略有不同,分为立即触发和延时触发1.即时通知android默认的Notification为立即触发 Intent intent = new Intent(Intent.ACTION_VIEW); intent.addCategory(Intent.C...
分类:移动开发   时间:2014-11-21 12:30:39    阅读次数:525
PHP集成百度Ueditor 1.4.3
最近很多群友都来问我怎么集成百度UE(ueditor 1.4.3),实在回答不过来,所以在这写一下集成百度UE的思路,本文内使用的最新版的UE1.4.3。下载安装1.首先到官网下载最新版的UE1.4.3UE官方下载地址:http://ueditor.baidu.com/website/downloa...
分类:Web程序   时间:2014-11-21 12:31:39    阅读次数:237
a little summary of Django
url routing mechanismurl name/namespaceWe can name a url pattern in urls.py, and reference this name to generate a url in other places. This ensures n...
分类:其他好文   时间:2014-11-21 12:30:07    阅读次数:169
序列化和反序列化
/// /// 序列化帮助类 /// public class SerializeHelp { #region XML序列化 /// /// XML序列化 /// /// /...
分类:其他好文   时间:2014-11-21 12:29:07    阅读次数:159
【Java】 java.net.SocketException: recvfrom failed: ECONNRESET
今天碰到了这个异常,错误代码就不贴了,把答案记下。ok, the answer was that it's the server's fault - it had to close the connection after each request .it might be that android...
分类:编程语言   时间:2014-11-21 12:30:07    阅读次数:215
The log or differential backup cannot be restored because no files are ready to rollforward.
The log or differential backup cannot be restored because no files are ready to rollforward.If you have found this page, it is likely that you encount...
分类:其他好文   时间:2014-11-21 12:28:46    阅读次数:224
无限循环+延迟执行来实现计划任务 转载
今天看到这么一段代码:do { $res = $this->tasks_db->get_one(array('taskid' => $taskid)); // 得到下次运行时间 $interval = $res['tasktime'] * 60; //检测本次任务开关,0为关...
分类:其他好文   时间:2014-11-21 12:28:17    阅读次数:157
A monad tutorial for Clojure programmers (part 4)
In this fourth and last part of my monad tutorial, I will write about monad transformers. I will deal with only one of them, but it’s a start. I will ...
分类:其他好文   时间:2014-11-21 12:28:03    阅读次数:150
C++派生类继承的理解
1 #include 2 using namespace std; 3 class Base{ 4 public: 5 Base() 6 { 7 a=5; 8 cout<<"Base a="<<a<<endl;...
分类:编程语言   时间:2014-11-21 12:29:42    阅读次数:198
反省:一个失败的产品
今天的心情本应该是愉悦一点的,因为折腾老子(请允许我爆一句粗口)一个多月的某证券PC客户端内嵌版商城终于通过层层部门测试,要上线了。对客户而言,基本完成了他们所有预期的功能和效果,但就我个人而言,我觉得这是一个混乱、失败的产品。 在这里想做个总结。先分析下客观原因吧。 第一、产品缺乏设计和流...
分类:其他好文   时间:2014-11-21 12:29:21    阅读次数:149
java设计模式之单例模式(七种方法)
单例模式:个人认为这个是最简单的一种设计模式,而且也是在我们开发中最常用的一个设计模式。单例模式的意思就是只有一个实例。单例模式确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。这个类称为单例类。我们前面学习的很多类都是单例的。比如最典型的就是Servlet类!Servlet类被设计...
分类:编程语言   时间:2014-11-21 12:28:53    阅读次数:181
关于增加样式addClass不起作用
存在样式:.selected{ background:Blue}如果我们存在以下代码:$(function(){$("tr:odd").css("background","Red"); $("tr:odd").click(function(){ if(...){ $(this).addCl...
分类:其他好文   时间:2014-11-21 12:29:21    阅读次数:429
MySql 主从配置
***************备机******************************server-id=2log-bin=log_name master-host=xxx.xxx.xxx.xxx #主机A的地址master-user=xxx #主机A提供...
分类:数据库   时间:2014-11-21 12:29:38    阅读次数:288
Android自动更新安装后显示‘完成’‘打开’按钮
1 /** 2 * 安装apk 3 * 4 * @param url 5 */ 6 private void installApk() { 7 File apkfile = new File(apkFilePath); 8 ...
分类:移动开发   时间:2014-11-21 12:27:21    阅读次数:202
外网访问不了Xampp(本地访问不了虚拟机的Xampp)
安装好了Xampp,在虚拟机是可以访问的, 浏览器中输入localhost 嘛不过在本地就是访问不了,ping是能通过的然后网上查了一些资料,并结合Xampp的提示:从图片中可以看到,Xampp目前是只允许本地访问的,而且提示我们可以去修改 httpd-xampp.conf这个目录在 /opt/la...
分类:其他好文   时间:2014-11-21 12:26:59    阅读次数:197
apache学习
核心功能和多路处理模块:Core:apache HTTP服务器核心提供的功能,始终有效Mpm_common:收集了被多个多路处理模块(MPM)实现的公共指令其他普通模块:mod_actions根据特定的媒体类型或请求方法,激活特定的CGI脚本mod_alias提供从文件系统的不同部分到文档树的映射和...
分类:Web程序   时间:2014-11-21 12:27:49    阅读次数:205
2027条   上一页 1 ... 82 83 84 85 86 87 88 ... 120 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!