码迷,mamicode.com
首页 >  
搜索关键字:something    ( 1401个结果
将Python打印的内容进行高亮的输出
将打印的内容进行高亮的显示内容:格式: echo "\033[字背景颜色;字体颜色m字符串\033[0m"例如:"\033[41;36m something here \033[0m"可以利用字符的格式化将其中的something here 转换成变量:如the_match1 =...
分类:编程语言   时间:2015-05-05 21:28:53    阅读次数:160
jQuery学习2
1,jQuery中的$有什么意义。$是 JQuery 常用的一个回传函数。很多人写jquery代码是这样开始的$(function(){// do something});事实上它是jquery ready的简写,相当于$(document).ready(function(){//do someth...
分类:Web程序   时间:2015-05-04 20:05:48    阅读次数:141
【S1】2.生命周期相关 & something
本文仅给出可能性以便查阅。生命周期非常重要,故不再细说。1. 实现监听Button的方法有四种匿名内部类直接实现,即用即销毁。activity继承onClickListener接口,实现onClick(View v);Button安装监听器为this。单独实现,另写一个类实现listener配置实现...
分类:其他好文   时间:2015-05-03 11:55:11    阅读次数:113
Android GUI Building Blocks
说明:此笔记为“Android开发”学习视频的笔记,链接如下:http://open.163.com/movie/2010/1/8/D/M79HE97C3_M79HEQJ8D.html一, Activity: A represnetation of a user doing something,例子...
分类:移动开发   时间:2015-04-29 18:56:55    阅读次数:138
dispatch_after
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ /////do something });
分类:其他好文   时间:2015-04-29 16:45:29    阅读次数:111
[ES6] 22. Const
'const' keyword is for creating a read only variable, something you can never change once created.'const' likes 'let' keyword alos has block scope.des...
分类:其他好文   时间:2015-04-29 07:10:13    阅读次数:125
[ES6] 20. Polyfills
Polyfill is something you don't need to set up traceur but start to use es6 in today's browser.You can search for polyfill which you want to use on Go...
分类:其他好文   时间:2015-04-29 07:06:33    阅读次数:131
Java 嵌套作用域
在C/C++中,当一个块处于另一个块作用域内的时候,内层定义的变量会把外层的变量隐藏,遵循所谓的就近原则。在Java中,在内层定义与外层同名的变量是禁止的!如下:int i = 0;for(int i = 0; i < 20; i++){//do Something}这样的代码在C/C++中是可以的...
分类:编程语言   时间:2015-04-28 18:09:05    阅读次数:163
Uva 11181 Probability|Given(概率dp)
Problem G Probability|Given Input: Standard Input Output: Standard Output   N friends go to the local super market together. The probability of their buying something from the market is respectiv...
分类:其他好文   时间:2015-04-28 09:49:46    阅读次数:145
6.0 LINQ & XML
To be honest, after I finished the teacher's lecture, I didn't quite understand the two topics (maybe due to the fast speed of teaching or something e...
分类:其他好文   时间:2015-04-27 14:46:50    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!