- 博客(22)
- 资源 (28)
- 收藏
- 关注
原创 树莓派(raspberry pi)远程下载(aria2)最简单的方式
树莓派(raspberry pi)远程下载(aria2)最简单的方式1.安装 docker curl -sSL https://get.docker.com | sh2 根据 Github.运行 docker 镜像docker run -d --name aria2-ariang-pi \-p 6800:6800 -p 6880:80 -p 6888:8080 \-v ...
2018-08-15 15:51:48
3151
原创 python使用网易云音乐 api下载mv
import jsonimport requestsimport urllibimport osimport sysfrom urllib.parse import urlparse,parse_qsdef http_get(api): my_cookie = { "version":0, "name":'appver', "value":'1.5.0.75
2016-06-09 10:50:52
2659
原创 Python 网易云音乐 MV 下载
Python 网易云音乐 MV 下载from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.webdriver.support import expected_con
2016-06-08 11:12:55
1309
原创 树状菜单
树结构类 public class DepartmentNode { public int ID { get; set; } public string Name { get; set; } public int? ParentID { get; set; } public DepartmentNode Parent { g
2015-06-19 14:07:23
481
原创 mvc 上传文件
View@using (Html.BeginForm("FileUpload", "Home", FormMethod.Post, new { enctype = "multipart/form-data" })){ <br /> <input type="file" name="file" /> <input type="submit" value="Upload Fil
2015-06-11 21:12:55
412
原创 identity 读取用户表
public JsonResult Users() { Object o = new Object(); using (var db = new ApplicationDbContext()) { o = db.Users.FirstOrDefault().Weixin;
2015-05-26 20:57:54
546
原创 mvc5接收xml
[HttpPost]public ActionResult Foo(){ using (var reader = new StreamReader(Request.InputStream)) { string xml = reader.ReadToEnd(); // process the XML ... }}参考链接
2015-05-26 10:32:59
579
原创 c# object to xml
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml;using System.Xml.Serialization;namespace object2xm
2015-05-21 09:47:30
1356
原创 SQL 连接
内连接(inner join) 返回符合条件的左表和右边的行左连接(left join ,left outer join) 返回左边所有行和右表符合条件的行右连接(right join,right outer join) 返回右表所有的行和左边符合条件的行全连接(full join,full outer join) 返回左表和右表的所有行
2015-05-05 12:56:04
336
原创 禁用Cookie对Session的影响
Cookie与 Session,一般认为是两个独立的东西,Session采用的是在服务器端保持状态的方案,而Cookie采用的是在客户端保持状态的方案。但为什么禁用Cookie就不能得到Session呢?因为Session是用Session ID来确定当前对话所对应的服务器Session,而Session ID是通过Cookie来传递的,禁用Cookie相当于失去了Session ID,也就得不到S
2015-05-05 12:44:21
530
原创 递归斐波那契数列
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace net{ class Hello { static void Main() {
2015-05-04 22:32:58
309
原创 模拟发牌(随机不重复)
随机不重复using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace net{ class Hello { //模拟随机发牌 static void Main()
2015-05-04 22:27:28
859
原创 101到200间的素数及其个数
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace net{ class Hello { static void Main() {
2015-05-04 22:15:12
596
原创 .net知识要点
结构和类之间有什么区别? 结构是值类型,类是引用类型。 结构不能有构造函数和析构函数。 类可以同时有构造函数和析构函数。 结构不支持继承,而类支持继承。
2015-05-04 22:11:56
397
原创 99乘法
static void NineNine() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { Console.Write(j+"*"+i+"="+i*
2015-05-04 00:16:01
447
转载 快速排序
快速排序是C.R.A.Hoare于1962年提出的一种划分交换排序。它采用了一种分治的策略,通常称其为分治法(Divide-and-ConquerMethod)。该方法的基本思想是:1.先从数列中取出一个数作为基准数。2.分区过程,将比这个数大的数全放到它的右边,小于或等于它的数全放到它的左边。3.再对左右区间重复第二步,直到各区间只有一个数。
2014-11-18 16:15:46
387
原创 go can't find import: "github.com/** 错误
can't find import: "github.com/ 错误原因:1.gopath 没配好
2014-04-15 20:58:19
2298
TOMCAT权威指南(第二版) 中文 带书签
2017-10-30
Freemaker 中文手册
2014-04-23
Go for Java programmers(面向java开发者的go编程).pdf
2014-04-08
UML2.0实战教程.pdf
2014-03-19
TortoiseSVN-1.8.5-zh_CN.pdf
2014-03-19
Spring-JdbcTemplate.pdf
2014-03-19
Spring+Security3中文教程.pdf
2014-03-19
PowerDesigner教程完整版.pdf
2014-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人