ZY ZY
4年前
js堆和栈
浅析js中堆内存和栈内存我们常遇见的varletconst区别cont定义的基本类型不能改变,但是定义的对象是可以通过修改对象属性等方法来改变的consta1;console.log(a)//a;cosnole.log(a2)//报错constb;b.name1;console.log(b)//name:1con
Irene181 Irene181
3年前
一篇文章带教会你Python访问限制那些事儿
一、前言在Class内部,可以有属性和方法,而外部代码可以通过直接调用实例变量的方法来操作数据,这样,就隐藏了内部的复杂逻辑。二、案例分析以Teacher类的定义来看,外部代码还是可以自由地修改一个实例的name、score属性。classTeacher(object):definit(self,name,score):s
Stella981 Stella981
3年前
Nginx 反向代理Springboot oAuth https配置方案
Nginx配置方案server{listen80;server_namewww.yourname.com;rewrite^(.)$https://${server_name}$1permanent;}server{
Stella981 Stella981
3年前
Flask 【第四篇】使用Flask的扩展实现简单页面登录功能
fromflaskimportFlask,render_template,request,redirect,sessionappFlask(__name__,template_folder'templates')app.secret_key"sdsfdsgdfgdfgfh"@app.befo
Stella981 Stella981
3年前
Git 手册
gitinit                                                 初始化本地git仓库(创建新仓库)gitconfigglobaluser.name"xxx"                      配置用户名gitconfigglobaluser.emai
Stella981 Stella981
3年前
CSS _text
参考:https://segmentfault.com/q/1010000007136263法一:textalignlast:justify;html<div<pclass"item"<labelfor"name"class"itemLabel"姓名</la
Stella981 Stella981
3年前
Git基本配置
Git配置安装yuminstallgit全局配置设置提交用户名gitconfigglobaluser.name"leoxu"设置提交邮箱gitconfiggl
Stella981 Stella981
3年前
Echarts 数据视图 生成Excel的方法
一、生成Excel,两大方向:1后台生成Excel  查询数据库,使用NOPI生成Excel。2前台js生成Excel三种方式1)jquery.table2excel.js\采用,优势:兼容IE和Chrome。2)handsontable0.32.0问题:不兼容IE。3)手写js有兼容性问题。问题:浏览器兼容
Stella981 Stella981
3年前
Extjs标悬浮在grid单元格上时,显示单元格中内容的值
{xtype:'gridcolumn',text:'名称',width:120,dataIndex:'name',editor:{xtype:'textfield',allowBlank:false,maxLength:20},renderer:function(v,m,r,i){
Stella981 Stella981
3年前
Django之常用配置
<h1在其它文件导入及变量命名注意事项</h1变量命名:必须都大写<preclass'brush:python'fromdjango.confimportsettings</pre<h1静态文件夹配置</h1比如需要引入jquery、bootstrap等文件,需要配置静态文件,步骤如下:步骤一、在<项目名称目录下新建