上一页 1 ··· 304 305 306 307 308 309 310 311 312 ··· 353 下一页
摘要: //主功能接受:使用MCU STM8S105C6 的PWM通道2 PC2 来做呼吸灯 已经验证OK,呵 //呵,这个PWM设置刚開始用还是有点麻烦,由于是自己摸索。花点时间。还是解决了 。 //所用子函数都是调用STM8S的库函数stm8s_tim.c 中的。 宏定义: //分频宏 //计数器的时钟 阅读全文
posted @ 2017-05-25 10:03 yfceshi 阅读(1196) 评论(0) 推荐(0)
摘要: 关于消息的提示有两种:一种是Toast,一种就是Notification。前者维持的时间比較短暂。后者维持的时间比較长。 并且我们寻常手机的应用比方网易、贴吧等等都有非常多的推送消息,就是用Notification实现的。 Notification是显示在手机状态栏的通知—手机状态栏位于手机屏幕的上 阅读全文
posted @ 2017-05-25 10:01 yfceshi 阅读(330) 评论(0) 推荐(0)
摘要: 题意:在n*m的方格里有t个棋子,问最多能放多少个炮且每一个炮不能互相攻击(炮吃炮) 炮吃炮:在同一行或同一列且中间有一颗棋子。 #include <stdio.h> #include <iostream> #include <algorithm> #include <string.h> #incl 阅读全文
posted @ 2017-05-25 10:00 yfceshi 阅读(180) 评论(0) 推荐(0)
摘要: 本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie 经验:Templates 生成多个 classes 和多个函数,所以不论什么 template 代码都不该与某个造成膨胀的 template 參数产生相依关系 因非类型模板參数(non-typ 阅读全文
posted @ 2017-05-25 08:34 yfceshi 阅读(185) 评论(0) 推荐(0)
摘要: UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6 For Oracle Automatic Storage Manager (ASM) to use disks, it needs to be able to identify 阅读全文
posted @ 2017-05-24 21:05 yfceshi 阅读(222) 评论(0) 推荐(0)
摘要: Failed t bind to server socket:tcp://localhost:61616 due to : java.net.BindException 通过netstat -aon | findstr "61616" 查找port被谁占用了。但是一直没有找到,google说是 In 阅读全文
posted @ 2017-05-24 20:30 yfceshi 阅读(1399) 评论(1) 推荐(1)
摘要: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction 阅读全文
posted @ 2017-05-24 19:53 yfceshi 阅读(163) 评论(0) 推荐(0)
摘要: 方法一: wordpress发送邮件默认是用的php mail函数。所以发送邮件的地址是能够随意写的。其默认发邮件的地址是wordpress@yourdomain.com。当然这个地址是能够改动的。改动方法例如以下: 找到wordpress文件夹下。打开wp-includes\pluggable.p 阅读全文
posted @ 2017-05-24 18:40 yfceshi 阅读(311) 评论(0) 推荐(0)
摘要: 地址映象:是将每一个虚存单元按某种规则装入实存,即建立多用户虚地址与实存地址之间的相应关系。 地址变换:是程序依照这样的映象关系装入实存后。在运行时,多用户虚地址怎样变换成相应的实存地址。 页面争用(实页冲突):发生两个以上的虚页想要进入主存中同一个页面位置的现象。 因为虚存空间远远大于实存空间,因 阅读全文
posted @ 2017-05-24 17:27 yfceshi 阅读(820) 评论(0) 推荐(0)
摘要: 1、先到开放平台创建一个移动应用。获得key和secret,接着到“应用信息”里面填写授权回调页的网址,该网址能够随意,可是必须是能訪问的。 2、通过新浪提供的api:https://api.weibo.com/oauth2/authorize去请求授权获得授权登录页面(网页形式)。然后填写你的新浪 阅读全文
posted @ 2017-05-24 16:48 yfceshi 阅读(1154) 评论(0) 推荐(0)
上一页 1 ··· 304 305 306 307 308 309 310 311 312 ··· 353 下一页