首页 > 编程语言
java发送内嵌图片邮件
前言: 博客系统中需要邮件服务的功能,以前写过类似的功能,不过功能太简单了,仅仅是发送文本内容,现在尝试一下发送内嵌图片邮件!准备工作: 请参考:http://www.cnblogs.com/hujunzheng/p/4792831.html整体效果: 发送端:网易邮箱;接收端:qq邮箱。1....
分类:编程语言   时间:2016-01-01 18:56:26    收藏:0  评论:0  赞:0  阅读:575
[LeetCode]题解(python):064-Minimum Path Sum
题目来源https://leetcode.com/problems/minimum-path-sum/Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichmin...
分类:编程语言   时间:2016-01-01 18:55:36    收藏:0  评论:0  赞:0  阅读:197
语言相关
JAVA: 1.问题: public boolean returnTest() { try { return true; } catch (Exception e) { } finally { return false; } } 以下代码返回值是什么? true false 解答: 参考这里 htt...
分类:编程语言   时间:2016-01-01 18:54:46    收藏:0  评论:0  赞:0  阅读:216
[LeetCode]题解(python):063-Unique path II
题目来源https://leetcode.com/problems/unique-paths-ii/Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique ...
分类:编程语言   时间:2016-01-01 18:52:46    收藏:0  评论:0  赞:0  阅读:309
线程池
1、线程池简介: 多线程技术主要解决处理器单元内多个线程执行的问题,它可以显著减少处理器单元的闲置时间,增加处理器单元的吞吐能力。 假设一个服务器完成一项任务所需时间为:T1 创建线程时间,T2 在线程中执行任务的时间,T3 销毁线程时间。 如果:T1 + T3 远大于 T2,则可以采用线程池,以提...
分类:编程语言   时间:2016-01-01 18:50:46    收藏:0  评论:0  赞:0  阅读:273
spfa 的算法实现之一
问题描述:给定一个n个顶点,m条边的有向图(其中某些边权可能为负,但保证没有负环)。请你计算从1号点到其他点的最短路(顶点从1到n编号)。输入格式:第一行两个整数n, m。接下来的m行,每行有三个整数u, v, l,表示u到v有一条长度为l的边。输出格式:共n-1行,第i行表示1号点到i+1号点的最...
分类:编程语言   时间:2016-01-01 18:44:46    收藏:0  评论:0  赞:0  阅读:169
递归算法复杂度分析方法
递归算法的复杂度分析方法。 a、分析出复杂度公式(关于n的规模) b、求解这个公式1、齐次 例如求fabonaci的第n项,f(n) = f(n-1)+f(n-2) => f(n)-f(n-1)-f(n-2)=0 =>特征方程:x^2-x-...
分类:编程语言   时间:2016-01-01 18:43:56    收藏:0  评论:0  赞:0  阅读:229
[LeetCode]题解(python):061-Rotate list
题目来源https://leetcode.com/problems/rotate-list/Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4-...
分类:编程语言   时间:2016-01-01 18:43:16    收藏:0  评论:0  赞:0  阅读:352
[LeetCode]题解(python):062 Unique path
题目来源https://leetcode.com/problems/unique-paths/A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot c...
分类:编程语言   时间:2016-01-01 18:42:16    收藏:0  评论:0  赞:0  阅读:264
1.Spring IoC简单例子
Spring IoC简单例子1.IHelloMessage.java1 package com.tony.spring.chapter01;2 3 public interface IHelloMessage {4 public String sayHello();5 }2.HelloWor...
分类:编程语言   时间:2016-01-01 18:41:46    收藏:0  评论:0  赞:0  阅读:234
讲解Python中if语句的嵌套用法
分类:编程语言   时间:2016-01-01 18:37:06    收藏:0  评论:0  赞:0  阅读:121
Python函数参数类型*、**的区别
分类:编程语言   时间:2016-01-01 18:34:57    收藏:0  评论:0  赞:0  阅读:195
爬山算法简介和Python实现实例
分类:编程语言   时间:2016-01-01 18:26:36    收藏:0  评论:0  赞:0  阅读:430
python的三目运算符和not in运算符使用示例
分类:编程语言   时间:2016-01-01 18:25:36    收藏:0  评论:0  赞:0  阅读:165
perl中的$a和$b介绍
分类:编程语言   时间:2016-01-01 18:18:36    收藏:0  评论:0  赞:0  阅读:235
python对字典进行排序实例
分类:编程语言   时间:2016-01-01 18:14:56    收藏:0  评论:0  赞:0  阅读:200
Python fileinput模块使用实例
分类:编程语言   时间:2016-01-01 18:13:16    收藏:0  评论:0  赞:0  阅读:281
python实现在目录中查找指定文件的方法
分类:编程语言   时间:2016-01-01 18:07:16    收藏:0  评论:0  赞:0  阅读:159
Super Object Toolkit (支持排序)
(* * Super Object Toolkit * * Usage allowed under the restrictions of the Lesser GNU General Public License * or alternatively...
分类:编程语言   时间:2016-01-01 17:02:56    收藏:0  评论:0  赞:0  阅读:466
Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file
今天在导入maven项目的时候在problems视图中报错: Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZI....
分类:编程语言   时间:2016-01-01 17:02:16    收藏:0  评论:0  赞:0  阅读:4853
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!