首页 > 2015年06月04日 > 全部分享
linux(readhat) yum源安装
在安装測试环境的时候遇到了一个问题,/etc/yum/repos.d中不存在文件或目录,无法更新yum源。解决方法:(一、配置网络yum源)1.首先在/etc/yum/repos.d/文件夹下创建一个yum.repo(名称自拟也能够,后缀是.repo即可)文件。 vim /etc/yum.repos...
分类:系统服务   时间:2015-06-04 21:03:40    收藏:0  评论:0  赞:0  阅读:608
QSS示例
使用qss 可将功能与界面的设计分离开,方便UI设计,也可以制作更多更美的界面。在代码中调用qss文件:[cpp]view plaincopyQFilestyleSheet(":/qss/myStyle.qss");if(!styleSheet.open(QIODevice::ReadOnly)){...
分类:其他   时间:2015-06-04 21:03:31    收藏:0  评论:0  赞:0  阅读:358
aspectC++常用命令
常用命令:1.ag++ main.cc //在工程目录下产生编译后的exe2.ag++ main.cc --weave_only //产生.acc 纯c++文件3.ag++ main.cc --gen_config -v 9// config文件,与运行环境有关4.ag++ --help //帮助信...
分类:编程语言   时间:2015-06-04 21:03:21    收藏:0  评论:0  赞:0  阅读:280
Tomcat 6 —— Realm域管理
本篇来源于官方文档,但不仅仅是翻译,其中不乏网上搜索的资料与自己的理解。如有错误,请予指正。什么是Realm 首先说一下什么是Realm,可以把它理解成“域”,也可以理解成“组”,因为它类似 类Unix系统 中组的概念。 Realm域提供了一种用户密码与web应用的映射关系。 因为tomcat...
分类:其他   时间:2015-06-04 21:03:11    收藏:0  评论:0  赞:0  阅读:159
if 语句运用
运用if语句完成对年、月、日的判断。 Console.WriteLine("其输入年份:"); int a = int.Parse(Console.ReadLine()); Console.WriteLine("请输入月份:"); ...
分类:其他   时间:2015-06-04 21:02:50    收藏:0  评论:0  赞:0  阅读:194
实验三
课程:Java程序设计班级:1351姓名:王朝宪学号:20135114成绩:指导教师:娄家鹏实验日期:2015.6.1实验密级:预习程度:实验时间:3:20~5:00仪器组次:必修/选修:必修实验序号:实验三实验名称:敏捷开发与XP实践实验内容:1. XP基础2. XP核心实践3. 相关工具实验仪器...
分类:其他   时间:2015-06-04 21:02:40    收藏:0  评论:0  赞:0  阅读:442
[转]toString()方法
文章转自:http://blog.sina.com.cn/s/blog_85c1dc100101bxgg.html今天看JS学习资料,看到一个toString()方法,在JS中,定义的所有对象都具有toString()方法。Number类型的toString()方法比较特殊,有默认模式和基模式两种。...
分类:其他   时间:2015-06-04 21:02:30    收藏:0  评论:0  赞:0  阅读:268
Java for LeetCode 142 Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up:Can you solve it without using extra space?解...
分类:编程语言   时间:2015-06-04 21:02:20    收藏:0  评论:0  赞:0  阅读:328
Swing窗体添加快捷键
//设置控件隐藏 tbButton.setVisible(false); InputMap inputMap = this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW); inputMap.put(KeyStroke.getK...
分类:Windows开发   时间:2015-06-04 21:02:11    收藏:0  评论:0  赞:0  阅读:297
IOS开发之----四舍五入问题
http://blog.sina.com.cn/s/blog_71715bf801017nyw.html方法一:-(NSString *)notRounding:(float)price afterPoint:(int)position{NSDecimalNumberHandler* roundin...
分类:移动平台   时间:2015-06-04 21:01:50    收藏:0  评论:0  赞:0  阅读:330
HDU 4585 Shaolin (map)
题意:思路:#include#include#include#include#include#include#include#include#include#includeusing namespace std;map a;const int INF=1000000000;int main(){ ....
分类:其他   时间:2015-06-04 21:01:40    收藏:0  评论:0  赞:0  阅读:224
【Distinct Subsequences】cpp
题目:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the o...
分类:其他   时间:2015-06-04 21:01:30    收藏:0  评论:0  赞:0  阅读:202
Multitasking Apps may only use background services for their intended purposes
2.16 DetailsYour app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when t...
分类:移动平台   时间:2015-06-04 21:01:20    收藏:0  评论:0  赞:0  阅读:393
几个一
一. 题目 给定一个十进制的正整数,写下从1开始,到N的所有整数,然后数一下其中出现“1”的个数。 要求: 写一个函数 f(N) ,返回1 到 N 之间出现的 “1”的个数。例如 f(12) = 5。 在32位整数范围内,满足条件的“f(N) =N”的最大的N是多少。二. 设计思想 ...
分类:其他   时间:2015-06-04 21:01:10    收藏:0  评论:0  赞:0  阅读:271
hdu 4496 D-City(并查集)
题意:思路:#include#include#include#include#include#include#includeusing namespace std;const int MAXN=100000+5;int p[MAXN],u[MAXN],v[MAXN],vis[MAXN],w[MAXN...
分类:其他   时间:2015-06-04 21:01:00    收藏:0  评论:0  赞:0  阅读:252
梯度下降法Gradient Descent
#Gradient Descent 梯度下降法#x为数据矩阵(mxn m:样本数 n:特征数 );y观测值(mx1);error相邻两次迭代的最大误差;#step为设定的固定步长;maxiter最大迭代次数,alpha,beta为回溯下降法的参数# 在直接设置固定的step时,不宜设置的过大,当步长...
分类:其他   时间:2015-06-04 21:00:50    收藏:0  评论:0  赞:0  阅读:298
十款高效简化移动开发过程的工具-软件-网界CNW.com.cn!
1 using System; 2 using System.Collections.Generic; 3 using System.Data; 4 using System.Data.SqlClient; 5 using System.Text; 6 using System.Web...
分类:移动平台   时间:2015-06-04 21:00:40    收藏:0  评论:0  赞:0  阅读:272
006-数组
数组数组故名思议就是一组数据的集合。int a[10];//可以存储10个整数char c[8];//可以存储8个字符‘一般格式:数组类型 数组名[元素个数];数组元素的访问:下标,a[2],a[0],a[4];//下标是从0开始的下面是示例1 #include 2 3 4 5 //数组作为函...
分类:编程语言   时间:2015-06-04 21:00:30    收藏:0  评论:0  赞:0  阅读:255
ALAssetsLibrary
ALAsset An ALAsset object represent a photo or a video managed by the Photo application. Assets can have multiple representations, for example a pho.....
分类:其他   时间:2015-06-04 21:00:20    收藏:0  评论:0  赞:0  阅读:238
005-进制与位运算
进制二进制 0 1组成,逢2进1八进制 0~7组成,逢8进1十进制 0~9组成,逢10进1十六进制 0~15组成,逢16进1printf以不同进制形式进行输出变量的内存地址形式变量在内存中是从高地址到低地址依次保存的,并且只保存二进制查看内存地址的两种方式:%x和%p各个类型变量的取值范围类型修饰....
分类:其他   时间:2015-06-04 21:00:10    收藏:0  评论:0  赞:0  阅读:189
1874条   上一页 1 ... 10 11 12 13 14 ... 94 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!