码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
HDOJ(HDU) 2317 Nasty Hacks(比较、)
Problem Description You are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenagers may use to fool their friends. The company has just finished their f...
分类:其他好文   时间:2016-05-07 09:20:07    阅读次数:243
JavaScript之严格模式 "use strict";
严格模式就是在代码片段的顶部加上一个字符串常量的语句"use strict";(也可以用单引号),它可以是全局的,也可以是局部的(function和eval两种局部作用域)。但是它必须是代码的第一个语句(未必要是第一行)。在它之前如果有任何语句(包括空语句),严格模式的声明就会失效。 "use strict";//全局严格模式function func(){ "use strict"...
分类:编程语言   时间:2016-05-07 08:41:14    阅读次数:169
Android 客户端与服务器端进行数据交互(一、登录服务器端)
概要安卓APP要实现很多功能(比如登录注册、发表评论等)时都必须要使用到网络数据交互。所以在学习了这部分内容后,就将其以最常见的登录过程为例整理出来,也方便跟我一样的新手能迅速学习上手。 预期效果图如下,输入手机号和密码,点击Login按钮,上传数据到服务器端进行验证,再对结果进行反馈。 博客分一二两篇,第一篇是服务器端,第二篇是Android客户端 而服务器端分为User model、Use...
分类:移动开发   时间:2016-05-07 08:15:29    阅读次数:215
500 Illegal PORT command的问题(FTP主被动模式)
在windows的dos窗口用FTP命令去连时,可以登录,但使用ls等命令时,出现: 500 Illegal PORT command. 425 Use PORT or PASV first. 根据提示是被动模式的问题。 FTP主/被动模式的原理 -----------------------------------------------------------------------...
分类:其他好文   时间:2016-05-07 08:10:45    阅读次数:257
mysql source导入多个sql文件和较大文件及在线互转
mysql>use dbtest; mysql>set names utf8; mysql>source D:/mysql/all.sql; 通过source命令导入多个文件,可以新建一个all.sql文件,里面存放下面的命令 例如: source d:/a1.sql; source d:/a2.sql; 当你运行 mysql>source D:/mysql/all.sql; 这...
分类:数据库   时间:2016-05-07 07:39:39    阅读次数:247
我的Android进阶之旅------>解决错误:You need to use a Theme.AppCompat theme (or descendant) with this activity.
1、错误描述今天,想实现Activity不显示标题栏的效果,在项目的AndroidManifest.xml文件,对相应的Activity添加属性 android:theme="@android:style/Theme.NoTitleBar"具体代码如下:<activity android:name=".module.view.activity.KuwoMusicPlayActivity"...
分类:移动开发   时间:2016-05-07 07:04:15    阅读次数:281
ecshop php5.4以上版本错误之preg_replace 替换成 preg_replace_callback
是不是对最新版本的php 适配ecshop很苦恼.最近我就遇到了这个事情,最终我花了一个小时的时间把这个问题解决了.特放出来,方便大家查阅.Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_call ...
分类:Web程序   时间:2016-05-07 06:40:13    阅读次数:692
Binary, Octal, and Hexadecimal Conversions in Java
Convert from Binary, Octal or Hex to Decimal using Integer.parseInt(String input, int radix) Use Integer.parseInt(String input, int radix) to convert ...
分类:编程语言   时间:2016-05-07 00:50:51    阅读次数:221
AutoLayout
随着iPhone设备出现了不同的尺寸,iOS6.0以后storyboard和xib文件新增了一个Use Auto Layout选项,用来实现自动布局。当你勾选上这个选项,以前传统的布局方式将不能正常工作。一旦使用了自动布局,就要忘记 Frame 的概念! 要判断UIView是否可以使用自动布局,可以 ...
分类:其他好文   时间:2016-05-06 19:09:20    阅读次数:182
【一天一道LeetCode】#40. Combination Sum II
一天一道LeetCode系列(一)题目 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be use...
分类:其他好文   时间:2016-05-06 15:35:39    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!