对近期的数据库配置进行一个记录,方便我以后查阅。 我的Django项目配备的是Mysql的数据库,平时使用的工具是VS Code,推荐安装Mysql插件,效果不错: 下面是在项目的setting.py中配置的Mysql连接数据: DATABASES = { 'default': { 'ENGINE' ...
                            
                            
                                分类:
数据库   时间:
2021-05-24 09:06:47   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                安装 ./configure --enable-threads=no && make sudo make install ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 05:41:55   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    go-micro 支持很多通信协议:http、tcp、grpc等,支持的编码方式也很多有json、protobuf、bytes、jsonrpc等。也可以根据自己的需要实现通信协议和编码方式。go-micro 默认的通信协议是http,默认的编码方式是protobuf。 主要代码定义如下: // Cl ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 04:28:27   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Little Q is very sleepy, and he really needs some coffee to make him awake. At this time, Little L brings a pot to Little Q, and he states the pot as  ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 02:14:37   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    报错步骤:Making for target: squirrel - On platform: win32 - For arch: x64 解决方法:填写 package.json 里的 description 和 author Authors is required.Description is  ...
                            
                            
                                分类:
其他好文   时间:
2021-05-24 00:05:43   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    编译JDK步骤大致是这样的: 下载源码 configure make 看起来很简单,但是实践的时候总会遇到很多问题。所以我总结了一下自己的踩坑经历。 下载源码 方式一:使用Mercurial下载 安装Mercurial sudo apt-get install mercurial 访问OpenJDK ...
                            
                            
                                分类:
其他好文   时间:
2021-05-04 16:15:24   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    https://www.serverless.com/learn/comparisons/ Docker Docker packages software into standardized units (containers) to make it easier to manage applica ...
                            
                            
                                分类:
其他好文   时间:
2021-05-03 11:49:54   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    题目 题目链接:http://codeforces.com/problemset/problem/1511/D 定义一个字符串 \(s\) 的花费为满足 \(s_i=s_j\) 且 \(s_{i+1}=s_{j+1}\) 的数对 \((i,j)\) 的数量(\(0 \leq i<j<|s|-1\)) ...
                            
                            
                                分类:
其他好文   时间:
2021-04-30 12:45:53   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to ...
                            
                            
                                分类:
其他好文   时间:
2021-04-30 12:41:09   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    由于某些原因,直接下载Fabric CA有诸多不便。 可以通过如下两种方式下载: git clone git://github.com/hyperledger/fabric-ca.git ,然后对clone下来的源码进行编译:make fabric-ca-server 和 make fabric-c ...
                            
                            
                                分类:
其他好文   时间:
2021-04-26 14:11:52   
                                阅读次数:
0