码迷,mamicode.com
首页 >  
搜索关键字:ror    ( 7126个结果
Python-文件阅读(open函数)
mode是一个可选的字符串,它指定文件的模式已打开。它默认为“r”,这意味着可以在文本中阅读模式。其他常用值是“w”用于写入(如果它已经存在),用于创建和写入新文件的“x”,以及'a'表示附加(在某些Unix系统上,表示所有写入追加到文件末尾,而不考虑当前的查找位置)。在文本模式下,如果未指定编码, ...
分类:编程语言   时间:2020-07-20 22:53:59    阅读次数:110
20200720记录:部署LNMP环境,构建LNMP平台,地址重写
1 案例1:部署LNMP环境 1.1 问题 安装部署Nginx、MariaDB、PHP环境 安装部署Nginx、MariaDB、PHP、PHP-FPM; 启动Nginx、MariaDB、FPM服务; 并测试LNMP是否工作正常。 1.2 方案 目前的网站一般都会有动态和静态数据,默认nginx仅可以 ...
分类:其他好文   时间:2020-07-20 15:49:52    阅读次数:74
vs code 需要更新git
今天打开vs code 提示: 安装的 Git 2.25.1.windows.1 存在已知问题。要使 Git 功能正常工作,请至少将 Git 更新到 2.27 版本。 明摆着让我更新git啊。 点击更新GIT 跳到官网下载。(先别点往下看) 下载太慢有木有!下载好几次都失败有木有! 阿里的源: ht ...
分类:其他好文   时间:2020-07-20 13:18:00    阅读次数:229
rest_framework视图家族
表与序列化类准备 models.py from django.db import models # Create your models here. class Book(models.Model): name = models.CharField(max_length=32) price = mo ...
分类:其他好文   时间:2020-07-19 23:27:00    阅读次数:62
PHP socket 编程
1. 什么是socket Socket就是应用层与TCP/IP协议族通信的中间软件抽象层,它是一组接口。 在设计模式中,Socket其实就是一个门面模式,它把复杂的TCP/IP协议族隐藏在Socket接口后面, 对用户来说,一组简单的接口就是全部,让Socket去组织数据,以符合指定的协议。 Soc ...
分类:Web程序   时间:2020-07-19 23:08:22    阅读次数:89
vue怎么看报错
. 1.看以上错误 "TypeError: Cannot read property 'path' of null".说明是执行了null.path导致报错, 那么正常情况下应该是有一个数组,path是数组里面的其中一个值,但是返回的数据为null,赋值给了这个数组。 所以执行array.path时 ...
分类:其他好文   时间:2020-07-19 16:25:04    阅读次数:84
1507. Reformat Date
package LeetCode_1507 import java.lang.StringBuilder /** * 1507. Reformat Date * https://leetcode.com/problems/reformat-date/description/ * * Given a ...
分类:其他好文   时间:2020-07-19 00:30:33    阅读次数:69
git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/objects
* branch master -> FETCH_HEAD error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fa ...
分类:数据库   时间:2020-07-18 22:35:47    阅读次数:88
ArcGIS Python工具箱.pyt裁剪工具
# coding: utf-8 import arcpy class Toolbox(object): def __init__(self): """Define the toolbox (the name of the toolbox is the name of the .pyt file)." ...
分类:编程语言   时间:2020-07-18 22:16:15    阅读次数:119
Windows环境下Zookeeper的安装及启动
一、下载及安装配置 JDK (Kafka依赖于Zookeeper服务,而Zookeeper的运营依赖JDK) 1.地址:https://www.oracle.com/java/technologies/javase-jdk14-downloads.html 下载windows可执行文件,直接点击安装 ...
分类:Windows程序   时间:2020-07-18 22:08:50    阅读次数:94
7126条   上一页 1 ... 28 29 30 31 32 ... 713 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!