在用ruby的smtp库发送邮件的时候,出现了这个错误454 Authenti cation failed, please open smtp flag first! (Net::SMTPAuthenticationError) 我用的是QQ邮箱 解决办法: 在QQ邮箱的设置-》账户中找到POP.....
分类:
Web程序 时间:
2014-09-29 21:35:51
阅读次数:
538
栈 stack 是一种先进后出的(First In Last Out, FILO)的数据结构。在 STL中,其底层容器默认使用的是 deque, 也可以自己指定用 vector 或 list容器,然后将其接口适配为栈的接口。队列 queue 是一种先进先出(First In First Out, FIFO)的数据结构。在 STL 中,其底层容器默认使用的也是 deque,也可以自己指定用 vector 或 list容器,然后将其接口适配为队列的接口。优先级队列 priority_queue 是一种允许用户以...
分类:
其他好文 时间:
2014-09-29 20:25:01
阅读次数:
230
入门题
#include
#include
#include
using namespace std;
const int maxn = 50010;
struct edge
{
int v, next;
}e[maxn*2];
int n, m, q;
int first[maxn], cnt;
int top[maxn], tid[maxn], rank[maxn], sz[ma...
分类:
其他好文 时间:
2014-09-29 19:36:51
阅读次数:
252
my work environment:
aliyun Ubuntu 14.04 64位
first phase:apt-get update (it is very important,otherwise will cause 404 error)
second phase:installation referenced by other website informatio...
分类:
其他好文 时间:
2014-09-29 19:36:41
阅读次数:
287
Below is table with all MFC language codes. I think it can be sometimes very useful. First column contains names of languages, second column contains ...
分类:
其他好文 时间:
2014-09-29 15:49:51
阅读次数:
339
Code First自动更新数据库有几种方法 Code First什么都不做Database.SetInitializer(null); 发布网站的话一般要在Application_Start方法里加上这句,发布后不需要Code First了。 Code First总是重建数据库并重设数据...
分类:
其他好文 时间:
2014-09-29 15:02:11
阅读次数:
182
题意:每一个人 都有frist name 和 last name! 从每一个人的名字中任意选择 first name 或者 last name 作为这个人的编号!通过对编号的排序,得到每一个人 最终顺序!比较中的序列能否得到给定输出的序列一致! 1 #include 2 #include 3 #i....
分类:
其他好文 时间:
2014-09-29 14:40:21
阅读次数:
184
单链表大整数加法,节点是char型。First List: head->1->8->9Second List: head->9->8->1Result List: head->1->1->7->0实现了单链表(单链表类模板),现在使用单链表实现大整数加法 1 #include "stdaf...
分类:
其他好文 时间:
2014-09-29 12:56:00
阅读次数:
272
## Welcome to MarkdownPad 2 ## **MarkdownPad** is a full-featured Markdown editor for Windows. ### Built exclusively for Markdown ### Enjoy first-class Markdown support with easy access to Markdown...
分类:
其他好文 时间:
2014-09-29 00:58:27
阅读次数:
291
简单的示例Shell程序示例1.#!/bin/bash
#This is to show what a shell script looks like
echo "Our first example"
echo # This inserts an empty line in output.
echo "We are currently in the following directory."
/b...
分类:
其他好文 时间:
2014-09-28 20:05:46
阅读次数:
266