<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[whatthinking的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/whatthinking</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; whatthinking]]></copyright><item><title><![CDATA[thinkphp将base64格式图片存储到本地]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/126262118</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/126262118</guid><author>whatthinking</author><pubDate>Wed, 10 Aug 2022 10:54:43 +0800</pubDate><description><![CDATA[thinkphp将base64格式图片存储到本地]]></description><category></category></item><item><title><![CDATA[在think PHP模板文件中使用JQuery动态添加文本输入框，后端think PHP]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/126261625</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/126261625</guid><author>whatthinking</author><pubDate>Wed, 10 Aug 2022 10:45:19 +0800</pubDate><description><![CDATA[前端：html、js、jquery，后端：php、thinkPHP。在前端网页中动态添加输入框，后端整理数据。]]></description><category></category></item><item><title><![CDATA[c# unity自学笔记04-变换组件助手类]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/120623508</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/120623508</guid><author>whatthinking</author><pubDate>Mon, 11 Oct 2021 11:43:59 +0800</pubDate><description><![CDATA[using UnityEngine;
using System.Collections;

public class TransformHelper : MonoBehaviour {

	//查找子物体，找到FindChild 放在这里 递归！
    public static Transform FindChild(Transform trans, string goName)
    {
        Transform child = trans.FindChild(goName);
    .]]></description><category></category></item><item><title><![CDATA[c# 自学笔记03-游戏对象池_工具类]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/120611127</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/120611127</guid><author>whatthinking</author><pubDate>Wed, 06 Oct 2021 12:26:17 +0800</pubDate><description><![CDATA[1










]]></description><category></category></item><item><title><![CDATA[c#-自学笔记02-数组工具类基础01，通用的遍历取值排序]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/120597446</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/120597446</guid><author>whatthinking</author><pubDate>Mon, 04 Oct 2021 17:06:28 +0800</pubDate><description><![CDATA[using System;
using System.Collections.Generic;
using System.Text;
/// &lt;summary&gt;
/// 自己写的Array工具类
/// &lt;/summary&gt;
static class ArrayHelper
{//第二个参数是实例化委托handler，然后在下面调用声明委托handler；
    static public void OrderBy4&lt;T, TKey&gt;(T[] array, Selec.]]></description><category></category></item><item><title><![CDATA[c# 自学笔记01-泛型]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/120562228</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/120562228</guid><author>whatthinking</author><pubDate>Mon, 04 Oct 2021 17:01:16 +0800</pubDate><description><![CDATA[namespace App01OOPtest
{
    class Program
    {
        static void Main(string[] args)
        {
            var re = My&lt;int&gt;.Max(2,5);
            var re1 = My&lt;string&gt;.Max("aa","bb");
        }
    }

    class My&lt;T&gt; where T : ICompar.]]></description><category></category></item><item><title><![CDATA[2020-10-24 UE4更改缓存路径]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/109252527</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/109252527</guid><author>whatthinking</author><pubDate>Sat, 24 Oct 2020 00:33:05 +0800</pubDate><description><![CDATA[找到自己的UE4引擎安装目录下的一个配置目录，比如：D:\Epic Games\UE_4.24\Engine\Config。

打开文件BaseEngine.ini文件，将文件中[InstalledDerivedDataBackendGraph]这个条目下的Local=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true, UnusedFileAge=34, Fol]]></description><category></category></item><item><title><![CDATA[基本的PHP查询MySQL数据库全部数据代码]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/108431387</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/108431387</guid><author>whatthinking</author><pubDate>Sun, 06 Sep 2020 14:40:10 +0800</pubDate><description><![CDATA[&lt;!doctype html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta charset="utf-8"&gt;
		&lt;title&gt;图书&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;	
	&lt;table border=1&gt;
		&lt;tr&gt;
			&lt;th&gt;图书编号&lt;/th&gt;
			&lt;th&gt;书名&lt;/th&gt;
			&lt;th&gt;所属种类&lt.]]></description><category></category></item><item><title><![CDATA[简单的PHP登陆页面和登陆成功页面代码]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/108431333</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/108431333</guid><author>whatthinking</author><pubDate>Sun, 06 Sep 2020 14:36:51 +0800</pubDate><description><![CDATA[PHP登陆页面代码


&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;登陆页面&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;form action="welcome.php" method="post"&gt;
账号: &lt;input type="text" name="name"&gt;&lt;br&gt;
密码: &lt;input type="password"]]></description><category></category></item><item><title><![CDATA[PHP网页向MySQL添加数据基本代码示例]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/108431308</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/108431308</guid><author>whatthinking</author><pubDate>Sun, 06 Sep 2020 14:33:53 +0800</pubDate><description><![CDATA[&lt;!doctype html&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta charset="utf-8"&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;?php 
	if(isset($_POST["tj"])){
		$bid=$_POST['bid'];
		$bname=$_POST['bname'];
		$sort=$_POST['sort'];
		$author=$_POST['author'];
		$press=.]]></description><category></category></item><item><title><![CDATA[创建PHP网站站点的步骤（1）]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/108423066</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/108423066</guid><author>whatthinking</author><pubDate>Sat, 05 Sep 2020 22:52:42 +0800</pubDate><description><![CDATA[1、创建虚拟主机

①、编辑apache虚拟主机配置文件，文件路径“xampp\apache\conf\extra\httpd-vhosts.conf”




]]></description><category></category></item><item><title><![CDATA[用requests库、bs4的BeautifulSoup库和pandas爬取房地产网页的房屋出售信息]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/108394511</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/108394511</guid><author>whatthinking</author><pubDate>Thu, 03 Sep 2020 22:37:45 +0800</pubDate><description><![CDATA[# -*- coding:utf-8 -*-
import requests
from bs4 import BeautifulSoup
import pandas as pd

# 获取网页源码
def get_html(url):
    try:
        res=requests.get(url,timeout=30)  # 发送url请求，并将请求到的结果赋值给res
        res.encoding='gb2312'       # 同一改成 GB2312 编码
        .]]></description><category></category></item><item><title><![CDATA[window下如何用python开机就启动某个程序]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/105264174</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/105264174</guid><author>whatthinking</author><pubDate>Thu, 02 Apr 2020 11:11:55 +0800</pubDate><description><![CDATA[以下内容是在window10电脑，python3.8版本做的。


from datetime import date  # 导入日期类库下的date类，用来获取本地时间
from os import startfile  # 导入os模块下的startfile函数，用来启动程序
a=date.today().strftime("%m%d")  # 获取本地今天的日期，几月几号，并只以挨着的两个...]]></description><category></category></item><item><title><![CDATA[win10系统VMware14安装CentOS7有界面版本步骤]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/104846709</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/104846709</guid><author>whatthinking</author><pubDate>Fri, 13 Mar 2020 18:37:47 +0800</pubDate><description><![CDATA[安装新的虚拟机时，选“典型模式”安装，在新建虚拟机的时候在下面这个对话框里选择“稍后安装操作系统”。

完成之后不要开启虚拟机。



在“我的计算机”中找到刚才创建的虚拟机，点击右键，点击设置，设置虚拟机的网络连接方式



因为刚才没有选择镜像文件，所以现在添加镜像文件，与更改其他选项。



设置完上面的之后，开启创建的虚拟机，鼠标点进虚拟机文字里，用键盘上的上下键选择“Install Ce...]]></description><category></category></item><item><title><![CDATA[win10下安装sql server2008时出现的小问题解决办法（仅供参考）]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/90607265</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/90607265</guid><author>whatthinking</author><pubDate>Mon, 27 May 2019 17:39:14 +0800</pubDate><description><![CDATA[1、有时候执行某些操作后没有反应，多试几次吧。

2、验证时，报重启失败。运行注册表，找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager目录，在右侧找到PendingFileRenameOperations，将其删除。

3、安装程序集“Microsoft.VC90.ATL,version="9.0.21022...]]></description><category></category></item><item><title><![CDATA[学习python第四天03【函数】]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/80111880</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/80111880</guid><author>whatthinking</author><pubDate>Mon, 03 Sep 2018 15:01:13 +0800</pubDate><description><![CDATA[1.函数是组织好的，可复用的，用来实现单一或相关联功能的代码段；因为写代码的原则是高复用、低耦合。
2.语法：


def 函数名(参数列表):
    函数体 
    return XXX

return有两个作用，一是返回数据，二是结束方法（当函数执行到return时，函数会结束执行）。


#有参函数：
def add():
    a=1
    b=1
    print(a+b)
a...]]></description><category></category></item><item><title><![CDATA[Django的基本流程（依据个人Django技能熟练度而整理的笔记）]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/81981935</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/81981935</guid><author>whatthinking</author><pubDate>Thu, 23 Aug 2018 16:51:53 +0800</pubDate><description><![CDATA[本文内容是个人笔记，摘自《千锋python教程：Django基础到实战讲解（精华版）》视频。

千锋教育的老师使用的是：Python版本3.6x；Django版本1.1.4；

我使用的是：Python版本3.6.4；Django版本2.1b1；硬件环境：win10电脑；软件环境：PyCharm；

进入某目录下创建项目（自动创建文件夹）：

    D:\qfdjango\01-sunck&amp;gt...]]></description><category></category></item><item><title><![CDATA[学习python第四天02【set集合】]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/80086929</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/80086929</guid><author>whatthinking</author><pubDate>Fri, 27 Apr 2018 18:23:24 +0800</pubDate><description><![CDATA[set：集合是一个无序不重复元素的集（用哈希算法计算位置）。哈希算法不能计算list；set集合没有下标。集合对象还支持union(联合)，intersection(交)，difference(差)，sysmmetric difference(对称差集)等数学运算。大括号或set()函数可以用来创建集合。注意：要创建空集合，必须用set()，不能用{}大括号来创建空集合。set()可以将字符串、列...]]></description><category></category></item><item><title><![CDATA[2018.1.25学习python第四天01【字典】]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/79166456</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/79166456</guid><author>whatthinking</author><pubDate>Thu, 25 Jan 2018 22:05:34 +0800</pubDate><description><![CDATA[字典以键值对的方式存在：{键:值}；键key是唯一的，如果有重复的key，会以后者为准，但值value不必是唯一的；i={};#创建一个空的字典；
d={2:22,'abc':'ABC'};
b={'key1':'value1','key2':'value2'};#这是一个字典。在字典中增加一项：d['new1']='NEW1';[]里填健名，'='号后面写值；删除字典中的一项：deldel d[...]]></description><category></category></item><item><title><![CDATA[2018.1.16学习python第三天03【元组】]]></title><link>https://blog.youkuaiyun.com/whatthinking/article/details/79165465</link><guid>https://blog.youkuaiyun.com/whatthinking/article/details/79165465</guid><author>whatthinking</author><pubDate>Thu, 25 Jan 2018 20:09:33 +0800</pubDate><description><![CDATA[创建一个空元组：元组是用小括号()括起来的字符串。

t=();
元组与列表类似，不同之处在于元祖里面的内容/元素不能被修改。
而列表增、删、改都可以。元组安全性比较高。
a=(1,2);
c,b=a;#a中的1和2会分别赋值给c和b。
print(c);
print(b);
a=(1,2);
d,e,f=a;#因为a里面的元素没有三个，所以无法分别赋给三个变量，超出/不够a的长度，这]]></description><category></category></item></channel></rss>