basic\components\HelloWidgetnamespace app\components; use yii\base\Widget; use yii\helpers\Html; class HelloWidget extends Widget { public $m...
分类:
其他好文 时间:
2015-08-28 00:33:27
阅读次数:
282
http://www.cs.indiana.edu/~geobrown/book.pdfAn example of a basic timer is illustrated in Figure 10.1.This timer has four components – a controller, a...
分类:
其他好文 时间:
2015-08-27 22:49:51
阅读次数:
684
An interesting problem. The code is also short and clear.The basic idea is to use a 2d array dp[i][j] to denote the minimum hp that is required before...
分类:
其他好文 时间:
2015-08-27 20:55:26
阅读次数:
229
文件架构:bollat
..include
....check.func.php
....common.inc.php
....count.inc.php
....global.func.php
....input.inc.php
....mysql.func.php
..style
....basic.css
..index.php
..count.phpcheck.func.php<?php
/**
*Version1.0
*=================================..
分类:
其他好文 时间:
2015-08-27 19:00:32
阅读次数:
204
HTTP基本认证是一种用来允许Web浏览器,或其他客户端程序在请求时提供以用户名和口令形式的凭证的登录方式。用户名追加一个冒号然后串接上口令,得出的结果字符串再用Base64算法编码。例如,用户名
是: admin,口令是: admin123,拼接后的结果是: admin:admin123,然后再用Base64编码,得到YWRtaW46YWRtaW4xMjM=。Base64编码的字符串发送出去,并由接收者解码,得到一个由冒号分隔的用户名和口令的字符串。...
分类:
移动开发 时间:
2015-08-27 18:52:22
阅读次数:
167
One of the basic needs of the embedded software development through the terminal to output debugging information, generally two ways to achieve:one is...
分类:
其他好文 时间:
2015-08-27 15:11:35
阅读次数:
313
大家通常验证用户做法:1. BASIC验证模式: 把用户名和密码采用Base64编码之后,放在HTTP HEADER里,发到服务器的。2. FORM验证模式: 就什么都不处理,直接发到服务器。3. 还有其他证书验证,摘要验证等,这些不在这篇文章讨论范围。由于是明文传输,密码很容易被截获,从而造成密码...
分类:
其他好文 时间:
2015-08-27 14:57:18
阅读次数:
145
近期需要用到Oracle11g,并使用PL/SQL进行管理。
软硬件说明
OS:Win8 64位操作系统,内存:8G。Oracle 11g 64位版本,PL/SQL Developer、instantclient-basic-win32-11.2.0.1.0.zip(一定要32位的),其中instantclient-basic-win32-11.2.0.1.0.zip的...
分类:
数据库 时间:
2015-08-27 13:39:32
阅读次数:
187
【题目链接】某城镇进行人口普查,得到了全体居民的生日。现请你写个程序,找出镇上最年长和最年轻的人。这里确保每个输入的日期都是合法的,但不一定是合理的——假设已知镇上没有超过200岁的老人,而今天是2014年9月6日,所以超过200岁的生日和未出生的生日都是不合理的,应该被过滤掉。输入格式:输入在第一...
分类:
其他好文 时间:
2015-08-27 10:57:03
阅读次数:
110
0xWS2812 STM32 driver for WS2812(B) RGB LEDs0xWS2812 pronounced "hex-WS2812"This code aims at providing a basic interface to the WS2812(B) individuall...
分类:
其他好文 时间:
2015-08-27 02:02:24
阅读次数:
802