码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
[ Talk is Cheap Show me the CODE ] : jQuery Mobile工具栏
[ Talk is Cheap Show me the CODE ] : jQuery Mobile工具栏 Written In The Font “ Wirte less Do more” 学习内容: 页眉工具栏和页眉按钮导航工具栏页脚工具栏定位工具栏   页眉工具栏和页眉按钮 页眉是网页身体的头不一样.下面我们演示下在页面工具栏中添加两个连接,中间...
分类:Web程序   时间:2014-06-25 20:07:02    阅读次数:280
简单使用NSURLConnection、NSURLRequest和NSURL
下面是代码,注释也写得比较清楚: // // HttpDemo.h // MyAddressBook // // Created by hherima on 14-6-23. // Copyright (c) 2014年 chinasofti. All rights reserved. // #import #import @interface HttpDemo : NSObjec...
分类:其他好文   时间:2014-06-25 00:07:58    阅读次数:190
[ Talk is Cheap Show me the CODE ] : jQuery Mobile页面布
[ Talk is Cheap Show me the CODE ] : jQuery Mobile页面布局 当我们专注地研究人类生活的空虚,并考虑荣华富贵空幻无常时,也许我们正在阿谀逢迎自己懒惰的天性。 Written In The Font 为了app的手机端,我选择了 jQuery Mobile  ,学习中出一系列的博客吧.我喜欢的一句话 “Talk is Chea...
分类:Web程序   时间:2014-06-24 23:34:39    阅读次数:368
加入收藏兼容主流浏览器代码
//加入收藏 function AddFavorite(){ if (document.all) { addToBookMark(window.location.href, document.title); } else if (window.sidebar) { addToBookMark(document.title, window.location.href); } } func...
分类:其他好文   时间:2014-06-24 23:21:37    阅读次数:200
String to Integer (atoi)
题目 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possibl...
分类:其他好文   时间:2014-06-24 23:14:28    阅读次数:238
PS 滤镜算法原理——碎片效果
%%% Fragment %%% 对原图做四个方向的平移,然后对平移的结果取平均 %%% 碎片效果 clc; clear all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); Image=imread('4.jpg'); Image=double(Image)/255;...
分类:其他好文   时间:2014-06-24 21:06:24    阅读次数:226
LeetCode:Subsets II
Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplica...
分类:其他好文   时间:2014-06-24 20:58:32    阅读次数:230
Android点击返回键back时弹出对话框Dialog
public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) { ExitDialog(MainActivity.this).show(); return tr...
分类:移动开发   时间:2014-06-24 18:01:09    阅读次数:279
REPLICAT RORA_1保持 ABENDED状态,无法启动问题处理
REPLICAT  RORA_1保持 ABENDED状态,无法启动问题 GGSCI (gc1) 12> info all Program     Status      Group       Lag           Time Since Chkpt MANAGER     RUNNING                                            E...
分类:其他好文   时间:2014-06-24 17:37:19    阅读次数:305
【Matlab编程】马氏链随机模拟
本文是利用蒙特卡罗算法对马氏链过程的模拟。假设有10个状态,从每个状态到与之相邻状态的概率是相同的,仿真次数为1000,及进行了1000次状态转移。我们以动画的形式再现了状态转移的过程,并记录了到达每个状态的次数,具体实现如下: close all;clc;clear; figure; s=1; n=1000; r=1; % 圆圈的半径 title('等概率情况的计算机模拟') set(gc...
分类:其他好文   时间:2014-06-24 17:35:28    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!