<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[WhiteBlackCat的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/github_38339892</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; github_38339892]]></copyright><item><title><![CDATA[Java设计模式之工厂模式]]></title><link>https://blog.csdn.net/github_38339892/article/details/78346747</link><guid>https://blog.csdn.net/github_38339892/article/details/78346747</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 21:08:52 +0800</pubDate><description><![CDATA[Java设计模式：工厂（Factory）模式

1.问题分析



首先，给出一个不够合理的披萨店设计
public class OldStore {
    Pizza orderPizza(){
        Pizza pizza = new Pizza();
        pizza.prepare(); 
        pizza.bake(); 
        p]]></description><category></category></item><item><title><![CDATA[关于Page_Load事件发生情况]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339977</link><guid>https://blog.csdn.net/github_38339892/article/details/78339977</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:40:45 +0800</pubDate><description><![CDATA[Page_Load事件会在第一次加载页面时发生和将该页面回发到服务器时发生

第一种情况Page.IsPostBack返回false，第二种返回True。

若在Page_Load事件中有一些对控件的操作，比如

txtName.Text = name;
txtAuthor.Text = author;
txtCount.Text = count;


 

在另一个事件中也]]></description><category></category></item><item><title><![CDATA[asp.net动态网站文件上传]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339974</link><guid>https://blog.csdn.net/github_38339892/article/details/78339974</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:39:05 +0800</pubDate><description><![CDATA[首先，需要一个上传控件

asp:FileUpload ID="FileUpload1" runat="server" />
asp:Button ID="btnFileUpload" runat="server" Text="上传" onclick="btnFileUpload_Click" />


 

其次，就是有关的后台内容了

//获取上传的文件名

string]]></description><category></category></item><item><title><![CDATA[大数运算之加减乘除]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339954</link><guid>https://blog.csdn.net/github_38339892/article/details/78339954</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:35:28 +0800</pubDate><description><![CDATA[大数运算

1.为什么要有大数运算

我们都知道计算机能够储存的各种类型数的大小是有限的，比如int型在32位的情况下范围是从-2^31~2^31-1，那么如果我们要计算的数非常的大，我们该如何做呢？那样便需要运用到大数运算。

2.大数运算怎么实现

大数运算本质上来说是模仿人们进行笔算时的操作，将人们笔算时的操作通过代码来实现，从而达到实现大数运行的结果。

3.大数加法]]></description><category></category></item><item><title><![CDATA[Git相关操作四]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339944</link><guid>https://blog.csdn.net/github_38339892/article/details/78339944</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:34:28 +0800</pubDate><description><![CDATA[1.克隆远程仓库

git clone remote_location clone_name


remote_location为仓库地址，clone_name为要克隆到本地的仓库名称。

2.显示对应克隆地址

git remote -v


3.查看远程仓库是否更改，并拉取远程仓

git fetch


远程仓并不是直接merge到本地分支上，而是在一个远程]]></description><category></category></item><item><title><![CDATA[Git相关操作三]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339939</link><guid>https://blog.csdn.net/github_38339892/article/details/78339939</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:33:58 +0800</pubDate><description><![CDATA[1.显示当前分支：

git branch


输入上述命令可以显示出分支，*所在的分支为当前分支。

2.新建分支：

git branch new_branch


new_branch为新建分支的名称，注意该名称不能包含空格，如new-branch，new_branch都是有效分支名称，但是new branch不是。

3.切换分支：

git checkou]]></description><category></category></item><item><title><![CDATA[Git相关操作二]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339931</link><guid>https://blog.csdn.net/github_38339892/article/details/78339931</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:32:39 +0800</pubDate><description><![CDATA[1.查看HEAD提交：

git show HEAD


在git中，目前提交被称为HEAD提交，输入上述命令可以查看当前提交所有文件的修改内容。

2.撤销更改：

git checkout HEAD filename


filename为你想要撤销的文件名，该命令可以将文件恢复到上一个提交的版本。

3.git add添加多个文件：

git add file]]></description><category></category></item><item><title><![CDATA[Git相关操作一]]></title><link>https://blog.csdn.net/github_38339892/article/details/78339923</link><guid>https://blog.csdn.net/github_38339892/article/details/78339923</guid><author>github_38339892</author><pubDate>Wed, 25 Oct 2017 12:31:57 +0800</pubDate><description><![CDATA[1.将目录变为Git项目：

输入git init将当期目录变为Git项目

git init


git项目可以被认为分为三个区域，Working Directory，Staging Area，Repository。

Working Directory即工作目录，用来编辑删除添加文件。

Staging Area即暂存区，用来显示对工作目录的修改。

Reposito]]></description><category></category></item><item><title><![CDATA[JSP前后台数据交互]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336138</link><guid>https://blog.csdn.net/github_38339892/article/details/78336138</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:17:58 +0800</pubDate><description><![CDATA[1.一般方法：在页面加载时载入数据

首先，新建一个包，在包内创建一个类，类实现接口Servlet-javax.servlet

然后，在web.xml文件里配置如下

web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sc]]></description><category></category></item><item><title><![CDATA[Junit基本使用]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336129</link><guid>https://blog.csdn.net/github_38339892/article/details/78336129</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:17:21 +0800</pubDate><description><![CDATA[Junit基本用法

1.创建Junit Test Case





2.基本使用（以oracle数据库操作为例）
package com.csit.adminsystem1.tests;

import static org.junit.Assert.*;

import java.sql.Connection;
import java.sql.DriverManager;]]></description><category></category></item><item><title><![CDATA[oracle建表权限问题和JSP连接oracle数据库基本操作]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336124</link><guid>https://blog.csdn.net/github_38339892/article/details/78336124</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:16:37 +0800</pubDate><description><![CDATA[JSP连接oracle数据库相关操作

1.创建表

打开Enterprise Manager Console，为用户添加权限CREATE ANY TABLE和分配一定的表空间USERS限额1024k。





或者在SQL Plus里执行下面两条命令赋予权限
grant connect,create view ,resource  to TEST;　　　　//给表提供创建]]></description><category></category></item><item><title><![CDATA[新建JSPWeb应用]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336114</link><guid>https://blog.csdn.net/github_38339892/article/details/78336114</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:15:38 +0800</pubDate><description><![CDATA[首先，在eclipse Java EE里新建项目，选择Dynamic Web Project



目录如图所示，在WebContent里建立新文件JSP File。



先在body标签里写入hello world！

然后点击菜单栏Window->Show View->Servers调出Servers

　

在现在的Tomcat v7.0Server处有一个可点]]></description><category></category></item><item><title><![CDATA[Centos7安装Python3的方法]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336102</link><guid>https://blog.csdn.net/github_38339892/article/details/78336102</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:13:33 +0800</pubDate><description><![CDATA[由于centos7原本就安装了Python2，而且这个Python2不能被删除，因为有很多系统命令，比如yum都要用到。

[root@VM_105_217_centos Python-3.6.2]# python
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on l]]></description><category></category></item><item><title><![CDATA[Python连接SQLite数据库]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336094</link><guid>https://blog.csdn.net/github_38339892/article/details/78336094</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:12:00 +0800</pubDate><description><![CDATA[SQLite作为一款轻型数据库，管理工具有很多，比如SQLite Expert Professional，很适合用来存储Python网站，爬虫的相关数据，下面列出基本的增删查改操作

读取操作：


conn1 = sqlite3.connect(board.DatabasePath)
conn1.row_factory = sqlite3.Row
conn1.execute("prag]]></description><category></category></item><item><title><![CDATA[Python3处理HTML获取所需内容]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336091</link><guid>https://blog.csdn.net/github_38339892/article/details/78336091</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:11:23 +0800</pubDate><description><![CDATA[处理HTML页面，经常使用的便是使用beautifulsoup库

pip install beautifulsoup4


执行上述语句下载bs4库

一般请求下来的所需数据都位于tbody的tr标签里，下面给出对应代码：


 soup = BeautifulSoup(r.text, "html.parser")
    informationlist = []
    f]]></description><category></category></item><item><title><![CDATA[Python3爬虫登录模拟]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336087</link><guid>https://blog.csdn.net/github_38339892/article/details/78336087</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:10:25 +0800</pubDate><description><![CDATA[使用Python爬虫登录系统之后，能够实现的操作就多了很多，下面大致介绍下如何使用Python模拟登录。

我们都知道，在前端的加密验证，只要把将加密环境还原出来，便能够很轻易地登录。

首先分析登录的步骤，通过审查元素得知

input type="button" id="login" name="login" class="login" onclick="Logon();" val]]></description><category></category></item><item><title><![CDATA[Python 3 使用venv创建虚拟环境]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336076</link><guid>https://blog.csdn.net/github_38339892/article/details/78336076</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:09:14 +0800</pubDate><description><![CDATA[Python 3.3以上使用venv来代替了原来Python2使用的virtualenv创建虚拟环境。

虚拟环境的作用是使得不同项目的Python包之间不会相互干扰，避免了由此产生的各种问题。

现在演示下如何在桌面创建一个虚拟环境

C:\Users\dell\Desktop>mkdir python3VenvTest
C:\Users\dell\Desktop>cd python]]></description><category></category></item><item><title><![CDATA[ASP动态网站建设之连接数据库相关操作]]></title><link>https://blog.csdn.net/github_38339892/article/details/78336047</link><guid>https://blog.csdn.net/github_38339892/article/details/78336047</guid><author>github_38339892</author><pubDate>Tue, 24 Oct 2017 23:05:32 +0800</pubDate><description><![CDATA[连接数据库：

string str = @"server=服务器名称;Integrated Security=SSPI;database=数据库名称;";

注意封装公共类，将常用重复部分提取出，提高代码效率。

建立数据库连接对象

SqlConnection conn = new SqlConnection(str);
conn.Open();
SqlCommand cmd]]></description><category></category></item></channel></rss>