码迷,mamicode.com
首页 >  
搜索关键字:sta    ( 1269个结果
C#程序集系列05,让程序集包含多个module
本篇体验在一个程序集中包含多个module。 □ 创建3个module →删除F盘as文件夹中的一些文件,只剩下如下3个文件→用记事本打开MyFirstModule.cs文件,修改如下,并保存 using System; public class MyFirstModule { public sta...
分类:其他好文   时间:2014-09-12 16:55:13    阅读次数:286
写一个函数,能获取文件后缀
1.substrsubstr(start,length)表示从start位置开始,截取length长度的字符串。varsrc="images/off_1.png";alert(src.substr(7,3));弹出值为:off2.substringsubstring(start,end)表示从sta...
分类:其他好文   时间:2014-09-11 22:22:12    阅读次数:223
Ubuntu 12.04 安装 Tenda W311Ma USB 无线网卡驱动并开启Wifi热点
Distribution: Ubuntu 12.04.5 LTS Kernel: 3.13.0-35-generic Tenda官网下载驱动 5370 Linux.rar,解压后得到 2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2[1].5.0.2_DPO.bz2 再解压,进入目录,修改os/...
分类:其他好文   时间:2014-09-10 16:03:20    阅读次数:455
codeblocks创建和使用静态库(C语言)
静态库 (扩展名为 .a或 .lib) 是包含函数的文件,用于在link阶段整合执行程序,动态链接库(扩展名 .dll)是不在link阶段整合进执行程序中的。DLL文件在执行阶段动态调用下面我们将用免费的开发工具CodeBocks开发静态库创建静态库启动Codeblocks并创建一个类型为 "Sta...
分类:编程语言   时间:2014-09-10 12:19:30    阅读次数:261
【LeetCode】Gas Station 解题报告
【题目】 There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from sta...
分类:其他好文   时间:2014-09-10 10:58:30    阅读次数:216
有crontab中的脚本不执行,需要在脚本里面export各种环境变量
[oracle@sta ~]$ vi .bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and st...
分类:其他好文   时间:2014-09-09 15:46:28    阅读次数:186
一个与Linq延迟查询有关的小例子
提出问题 下面所给代码编译时正常,但是执行时会出错,请指出程序在执行时能够执行到编号为(1)(2)(3)的代码行中的哪一行。 using System; using System.Collections.Generic; using System.Linq; namespace DeferredExecutionExp { class Program { sta...
分类:其他好文   时间:2014-09-09 13:10:48    阅读次数:171
hdu 4336 Card Collector(期望)
http://acm.hdu.edu.cn/showproblem.php?pid=4336 有N种卡片,每一袋零食里面最多有一张卡片,给出一袋零食里面每种卡片的概率,问平均要买多少袋零食能收集到所有的卡片。 状态压缩一下,共有1 这一袋零食里没有卡片,概率为p(没有一张卡片的概率),状态转移到sta; 这一袋零食里面有卡片j,但是他已经拥有这种卡片,概率是a[j],状...
分类:其他好文   时间:2014-09-06 16:09:53    阅读次数:260
impdp导入报错ORA-14460: only one COMPRESS or NOCOMPRESS clause may be specified
迁移环境源:Solaris 10 + Oracle 11.2.0.3目标:Solaris 10 + Oracle 11.2.0.1导出命令:expdp user/pwd directory=jy content=metadata_only tables=xxx,xxx,xxx exclude=sta...
分类:其他好文   时间:2014-09-04 23:28:40    阅读次数:361
SoundPool在实际应用中可能会遇到的一些奇葩的问题
SoundPool在实际应用中可能会遇到的一些奇葩的问题: 1、AudioFlingercould not  create track, status:-12          SoundPool在创建的maxStream这个参数代表能够同时播放的最大音效数,这里切忌合理使用,写的太大后会报AudioFlingercould not  create track, sta...
分类:其他好文   时间:2014-09-04 19:10:20    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!