封装打印,区分颜色,显示文件名,函数名和行号 01_test_printf.c #include <stdio.h> #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" #define ANSI_COLOR_YE ...
                            
                            
                                分类:
其他好文   时间:
2020-11-06 02:32:36   
                                阅读次数:
17
                             
                    
                        
                            
                            
                                
                    一、GCC分布编译 xxx.c文件经历的一系列编译过程: #include <stdio.h> int main() { printf("Hello, World!\n"); return 0; } /* * gcc * * GCC的分布编译 * xxx.c文件 -> xxx.exe可执行文件 *  ...
                            
                            
                                分类:
其他好文   时间:
2020-11-06 01:54:59   
                                阅读次数:
16
                             
                    
                        
                            
                            
                                书接上文《一文快速入门分库分表(必修课)》,这篇拖了好长的时间,本来计划在一周前就该写完的,结果家庭内部突然人事调整,领导层进行权利交接,随之宣布我正式当爹,紧接着家庭地位滑落至第三名,还给我分配了一个长期维护任务:带娃。看看我们的靓照,标准的小淑女一枚萌萌哒。作为Sharding-JDBC分库分表实战系列的开篇文章,我们在前文中回顾了一下分库分表的基础知识,对分库分表的拆分方式有了一定的了解,下
                            
                            
                                分类:
数据库   时间:
2020-11-06 00:52:09   
                                阅读次数:
18
                             
                    
                        
                            
                            
                                
                    Docker Docker是以容器技术为核心的一套应用的构建,分发,执行的体系和生态。 Docker的优点 简化项目发布步骤 不同项目环境相互独立 不需要额外安装其他基础库 兼容性好,跨平台 方便迁移 Docker的目的 集装箱:变革了人类整个的生产流程体系,让货物全世界流通 Docker:变革了I ...
                            
                            
                                分类:
其他好文   时间:
2020-11-04 19:22:58   
                                阅读次数:
45
                             
                    
                        
                            
                            
                                
                    目录下的文件 build-node-addon-api-with-cmake.node CMakeLists.txt hello.cc hello.js package.json build-node-addon-api-with-cmake.node 为 npm run install后生成的 n ...
                            
                            
                         
                    
                        
                            
                            
                                
                    #include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f); return 0; } 在int型中, ...
                            
                            
                                分类:
其他好文   时间:
2020-11-04 17:46:57   
                                阅读次数:
13
                             
                    
                        
                            
                            
                                
                    AKKA是可用于设计跨处理器核心和网络的可伸缩、有弹性的系统的开源库。使用Scala语言编写,是基于Actor模型处理并发,提供了Java和Scala的API。下面总结如何基于SpringBoot搭建hello world项目。 第一步引入依赖, <properties> <akka.version ...
                            
                            
                                分类:
其他好文   时间:
2020-11-02 10:45:33   
                                阅读次数:
32
                             
                    
                        
                            
                            
                                //ex1.cpp #include<stdio.h> int main(){ int a=5,b=7,c=100,d,e,f; d=a/b*c; e=a*c/b; f=c/b*a; printf("d=%d,e=%d,f=%d\n",d,e,f); return 0; } //ex2.cpp #i ...
                            
                            
                                分类:
其他好文   时间:
2020-11-02 10:39:02   
                                阅读次数:
18
                             
                    
                        
                            
                            
                                
                    E Nothing is eternal in the world, Kostya understood it on the 7-th of January when he saw partially dead four-color garland. Now he has a goal to rep ...
                            
                            
                                分类:
其他好文   时间:
2020-11-02 10:34:31   
                                阅读次数:
23
                             
                    
                        
                            
                            
                                
                    创建第一个TestNG的例子 1.创建一个TestNG的类 选择项目路径“右键”--NEW--Other 选择TestNG cLass(如果没有这个选项是testng没有配置成功) 2.输入Class 名,点击【Finish】 3编辑代码,运行TestNG 4运行方式 右键--Run As--Tes ...
                            
                            
                                分类:
其他好文   时间:
2020-11-01 21:56:39   
                                阅读次数:
17