码迷,mamicode.com
首页 >  
搜索关键字:show    ( 18849个结果
js闭包
js闭包:j简单的说就是通过一个函数来访问另一个函数;作用 1 能通过外部访问到内部的变量; 2 减少全局变量污染例子:function show(){var i=0;var fun=function(){i++;}returnfun;}var tempfun=show();tempfun();例....
分类:Web程序   时间:2014-11-08 14:49:34    阅读次数:203
数据库操作基本操作
1.登录数据库系统mysql –h localhost –u root -p2.查看已存在的数据库SHOW DATABASES;3.查看默认存储引擎SHOW VARIABLES LIKE 'storage_engine';4.创建数据库CREATE DATABASE school;5.删除数据...
分类:数据库   时间:2014-11-07 20:42:19    阅读次数:164
MySQL设置编码
MySQL设置编码 版本mysql-5.6.21-winx64 mysql默认的编码: mysql>?SHOW?VARIABLES?LIKE?‘character%‘; +--------------------------+---------------------------------------------+ |?Variable_name???...
分类:数据库   时间:2014-11-07 19:24:37    阅读次数:160
[Kali_Debian] 清除无用的库文件(清理系统,洁癖专用)
安装deborphan。sudoapt-getinstalldeborphan运行deborphan--show-section--show-priority--show-size或者简洁一 点:$deborphan-sPz,查看有没有多余的库。删除无用的库文件:sudoapt- getremove...
分类:其他好文   时间:2014-11-07 16:28:05    阅读次数:251
MBProgressHUD使用
//方式1.直接在View上show HUD = [[MBProgressHUD showHUDAddedTo:self.view animated:YES] retain]; HUD.delegate = self; //常用的设置 //小矩形的背景色 HUD.color = [UI...
分类:其他好文   时间:2014-11-07 14:24:16    阅读次数:499
mngoDB 常用语法
http://topmanopensource.iteye.com/blog/1278812### 连接写法:[IP地址:端口号]mongo 192.168.1.161:27017;show dbs;db;--显示正在使用的数据库use asdfwerwe_test;db.tab_data_resu...
分类:数据库   时间:2014-11-07 13:04:00    阅读次数:357
SQL Excel导入到sqlserver表
--1、数据表已经创建,Excel首行作为表头 --启用Ad Hoc Distributed Queries: exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distribut...
分类:数据库   时间:2014-11-07 12:37:24    阅读次数:163
141107●Winform对话框
对话框:一、系统对话框:(一)MessageBox对话框:返回DialogResult枚举类型MessageBox.Show()常用的有四种重载方式 MessageBox.Show("最简单的对话框");1、 简单对话框2、 带标题栏 MessageBox.Show("错误!", "错误");3、 ...
分类:Windows程序   时间:2014-11-07 06:12:13    阅读次数:369
nyoj 791 Color the fence 【贪心】
Color the fence 时间限制:1000 ms  |  内存限制:65535 KB 难度:2 描述 Tom has fallen in love with Mary. Now Tom wants to show his love and write a number on the fence opposite to  Mary’s house. Tom thinks t...
分类:其他好文   时间:2014-11-07 01:04:06    阅读次数:286
asp.net中WinForm使用单例模式示例
例如在Windows应用程序中用下面代码打开一个窗体: 代码如下 复制代码 private void button1_Click(object sender, EventArgs e){ (new About()).Show();} 其结果是每点一次按钮都会打开一个窗体,最后可能是这样:这显然...
分类:Windows程序   时间:2014-11-06 23:32:19    阅读次数:306
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!