<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_30446197的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_30446197</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_30446197]]></copyright><item><title><![CDATA[Git-GitHub-GitLab三者之间的联系及区别]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210986</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210986</guid><author>weixin_30446197</author><pubDate>Sat, 28 Sep 2019 14:39:00 +0800</pubDate><description><![CDATA[在讲区别以及联系之前先简要的介绍一下，这三者都是什么(本篇文章适合刚入门的新手，大佬请出门左转)
1.什么是 Git?
Git 是一个版本控制系统。
　　版本控制是一种用于记录一个或多个文件内容变化，方便我们查阅特定版本修订情况的系统。
以前在没有使用版本控制的时候，我们通常在我们的项目根目录下这样命名项目：
project_v1、project_v1.1、proj...]]></description><category></category></item><item><title><![CDATA[Django中间件-跨站请求伪造-Auth模块-seettings实现可插拔配置（设计思想）]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210984</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210984</guid><author>weixin_30446197</author><pubDate>Wed, 25 Sep 2019 22:36:00 +0800</pubDate><description><![CDATA[---恢复内容开始---
Django中间件
一、什么是中间件
　　django中间件就是类似于django的保安;请求来的时候需要先经过中间件，才能到达django后端(url,views,models,templates)，
响应走的的时候也需要经过中间件才能到达web服务器网关接口处；
中间件位于web服务端与url路由层之间；是介于request与response处理之...]]></description><category></category></item><item><title><![CDATA[交叉熵-loss-理解]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101714147</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101714147</guid><author>weixin_30446197</author><pubDate>Wed, 25 Sep 2019 16:08:00 +0800</pubDate><description><![CDATA[参考链接：
https://blog.csdn.net/tsyccnh/article/details/79163834

转载于:https://www.cnblogs.com/robin2ML/p/11585383.html]]></description><category></category></item><item><title><![CDATA[防止用iframe调用网页dom元素]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102317880</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102317880</guid><author>weixin_30446197</author><pubDate>Wed, 25 Sep 2019 11:00:00 +0800</pubDate><description><![CDATA[&lt;system.webServer&gt;
    &lt;httpProtocol&gt;
      &lt;customHeaders&gt;
        &lt;add name="X-Frame-Options" value="DENY" /&gt;
      &lt;/customHeaders&gt;
    &lt;/httpProtocol&g...]]></description><category></category></item><item><title><![CDATA[多对多的三种创建方式-forms相关组件-钩子函数-cookie与session]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210982</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210982</guid><author>weixin_30446197</author><pubDate>Wed, 25 Sep 2019 08:06:00 +0800</pubDate><description><![CDATA[多对多的三种创建方式
　　1、全自动（推荐使用的**）
优势：第三张可以任意的扩展字段
缺点：ORM查询不方便，如果后续字段增加更改时不便添加修改
　　manyToManyField创建的第三张表属于虚拟的,后缀会自动添加有_id的外键字段
创建的方式：


　　2、纯手动（不推荐使用）
　　需要手动创第三方表
优势：第三张表可以任意的扩展字段
缺点：ORM查询...]]></description><category></category></item><item><title><![CDATA[angular中实现pdf在线预览功能]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101749744</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101749744</guid><author>weixin_30446197</author><pubDate>Tue, 24 Sep 2019 17:34:00 +0800</pubDate><description><![CDATA[1、安装ng2-pdf-viewer与pdfjs-dist
　　npm installng2-pdf-viewer --save
　　npm installpdfjs-dist --save
2、哪个模块用到将包引入哪个模块
　　import{PdfViewerModule}from'ng2-pdf-viewer';
3、代码





&lt;pdf...]]></description><category></category></item><item><title><![CDATA[Django与AJAX-choice字段-MTV和MVC模型-sweetalert搭建页面]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210980</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210980</guid><author>weixin_30446197</author><pubDate>Mon, 23 Sep 2019 23:05:00 +0800</pubDate><description><![CDATA[Django中的choice字段
　　应用的场景：
　　　　用户信息举列：如用户性别、婚否、学历、工作状态等可以列举出来供选择的信息
书写models创建表模型：

数据的获取和查询：


总结：

"""
      1 存choice里面罗列的数字与中文对应关系
           print(user_obj.get_gender_display())...]]></description><category></category></item><item><title><![CDATA[docker 使用网络以及容器互联]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101788334</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101788334</guid><author>weixin_30446197</author><pubDate>Mon, 23 Sep 2019 15:06:00 +0800</pubDate><description><![CDATA[[root@docker01 /]# docker run -d -p 9999:5000 --name web training/webapp
####小p ,容器的5000端口随机映射到宿主机的9999端口
78068be818e2bb7917c97363ce2e6bc5cf1ebeb1741ff6594b2ee1e352afd07c [root@docker01 /]# d...]]></description><category></category></item><item><title><![CDATA[ae基础一]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101295973</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101295973</guid><author>weixin_30446197</author><pubDate>Sun, 22 Sep 2019 21:49:00 +0800</pubDate><description><![CDATA[1.导入素材2.整理素材3.创建合成1280*720是高清的模式 也是平时都用的格式	HDV/HDTV 720 251920*1080是超清的模式格式是以16：9的格式显示的  电脑电视机都是用这个比例的（基于眼球可以看到的画面）帧速率 	分辨率PAL D1/DV 标清 大屁股电视机4.合成素材	高斯模糊 调整模糊度5.预览视频6.渲染ctrl+m
矢量图形：不管放多大 都不会影响像素...]]></description><category></category></item><item><title><![CDATA[字体样式]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101295974</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101295974</guid><author>weixin_30446197</author><pubDate>Sun, 22 Sep 2019 18:51:00 +0800</pubDate><description><![CDATA[font-size 继承性 12px是最小的字体
0就是没有
16px是默认像素
em=父级字体大小 相对的字体单位 默认字体大小为16px和浏览器默认字体大小一样
em用在不是font-size的情况下=当前元素字体大小
rem=html字体大小 前面的数字是给定的倍数 rem在移动端使用 width padding 只要能用像素值都可以用rem来代替
% ...]]></description><category></category></item><item><title><![CDATA[Django静态文件配置-request方法-ORM简介-字段的增删改查]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210978</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210978</guid><author>weixin_30446197</author><pubDate>Sat, 21 Sep 2019 23:56:00 +0800</pubDate><description><![CDATA[app的创建注意事项:
　　在Django新创建的app要在seetings.py中添加注册,才会生效
创建app:django-adminapp an startapp app名称 或者 python3 mansge.py startpp名称

手动创建的app不会自带存放html的templates文件夹,需要手动创建


Django静态文件配置
　　对于前...]]></description><category></category></item><item><title><![CDATA[Django数据库查询优化-事务-图书管理系统的搭建]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210976</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210976</guid><author>weixin_30446197</author><pubDate>Sat, 21 Sep 2019 14:52:00 +0800</pubDate><description><![CDATA[数据库查询优化
　　优化：虽然减轻了数据库的压力，但查询速度大大的减慢
　　ORM内所有的语句操作，默认都是惰性查询，只有你在真正的需要数据的时候才会走数据，
如果你只是写ORM语句时，是不会走数据库的，这样的原理设计，主要是在于减轻数据库的压力。
例如：

查询优化的关键字方法：select_related、only、prefentch_related、defer
Dj...]]></description><category></category></item><item><title><![CDATA[keras multi-label classification 多标签分类]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101714143</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101714143</guid><author>weixin_30446197</author><pubDate>Fri, 20 Sep 2019 23:58:00 +0800</pubDate><description><![CDATA[问题：一个数据又多个标签，一个样本数据多个类别中的某几类；比如一个病人的数据有多个疾病，一个文本有多种题材，所以标签就是： [1,0,0,0,1,0,1] 这种高维稀疏类型，如何计算分类准确率？

分类问题：
二分类
多分类
多标签

Keras metrics (性能度量)
介绍的比较好的一个博客：
https://machinelearningmastery.c...]]></description><category></category></item><item><title><![CDATA[iOS pushViewController 和 presentViewController的区别 详解]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491965</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491965</guid><author>weixin_30446197</author><pubDate>Fri, 20 Sep 2019 16:45:00 +0800</pubDate><description><![CDATA[pushViewController导航控制器入栈的方式切换页面presentViewController模态切换的方式切换页面
1：用 UINavigationController 的时候用 pushViewController:animated  返回之前的视图 [[self navigationController] popViewControllerAnimated:...]]></description><category></category></item><item><title><![CDATA[模型层字段-多表查询-神奇的双下划线查询-F,Q查询]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/102210974</link><guid>https://blog.csdn.net/weixin_30446197/article/details/102210974</guid><author>weixin_30446197</author><pubDate>Fri, 20 Sep 2019 00:08:00 +0800</pubDate><description><![CDATA[Django ORM中常用的字段和参数
常用字段
AutoField
int自增列，必须填入参数 primary_key=True。当model中如果没有自增列，则自动会创建一个列名为id的列。
IntegerField
一个整数类型,范围在 -2147483648 to 2147483647。(一般不用它来存手机号(位数也不够)，直接用字符串存，)
CharField
字...]]></description><category></category></item><item><title><![CDATA[iOS 静态、全局变量、常量]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491958</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491958</guid><author>weixin_30446197</author><pubDate>Thu, 19 Sep 2019 19:55:00 +0800</pubDate><description><![CDATA[关键字static


两个概念：生命周期、作用域生命周期：这个变量能存活多久，它所占用的内存什么时候分配，什么时候收回。作用域：这个变量在什么区域是可见的，可以拿来用的。




static分两种情况：修饰局部变量、修饰全局变量
1、static修饰局部变量局部变量：在函数/方法/代码块内声明的变量。它的生命周期、作用域都是在这个代码块内。
局部变量 存储在栈区（...]]></description><category></category></item><item><title><![CDATA[原子性atomic/nonatomic]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491963</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491963</guid><author>weixin_30446197</author><pubDate>Thu, 19 Sep 2019 18:48:00 +0800</pubDate><description><![CDATA[原子性：并发编程中确保其操作具备整体性，系统其它部分无法观察到中间步骤，只能看到操作前后的结果。
决定编译器生成的getter和setter是否原子（natomic）操作。






i


因此，atomic 效率较低，因为要保证操作完整，线程相对安全；nonatomic 不加同步，多线程并发访问效率高，但线程不安全。


由于锁定机制开销较大，一般 i...]]></description><category></category></item><item><title><![CDATA[iOS数组遍历]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491956</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491956</guid><author>weixin_30446197</author><pubDate>Thu, 19 Sep 2019 18:44:00 +0800</pubDate><description><![CDATA[对于一个数组
    NSArray *array = @[@"111",@"222",@"333",@"444",@"555",@"666",@"777",@"888",@"999",];

    NSInteger count =array.count;

1.for循环
for (NSInteger i=0; i&lt;count; i++) {
   NSLog(...]]></description><category></category></item><item><title><![CDATA[iOS 关键词assign、strong、copy、weak、unsafe_unretained]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491961</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491961</guid><author>weixin_30446197</author><pubDate>Thu, 19 Sep 2019 18:29:00 +0800</pubDate><description><![CDATA[关键词assign、strong、copy、weak、unsafe_unretained
影响：

是否开辟新的内存
是否有引用计数增加

strong
指向并拥有该对象。其修饰的对象引用计数会 +1，该对象只要引用计数不为 0 就不会销毁，置为 nil 可以销毁它。一般用于修饰对象类型、字符串、集合类的可变版本NSMutable。
// .h 文件
@property...]]></description><category></category></item><item><title><![CDATA[OS UIButton之UIButtonType详解-转]]></title><link>https://blog.csdn.net/weixin_30446197/article/details/101491954</link><guid>https://blog.csdn.net/weixin_30446197/article/details/101491954</guid><author>weixin_30446197</author><pubDate>Thu, 19 Sep 2019 16:13:00 +0800</pubDate><description><![CDATA[我做了一个关于UIButtonType的Demo，效果如下图：




UIButtonType各个类型的解释:
typedef NS_ENUM(NSInteger, UIButtonType) {
    UIButtonTypeCustom = 0,                         
    UIButtonTypeSystem,  
    UI...]]></description><category></category></item></channel></rss>