码迷,mamicode.com
首页 >  
搜索关键字:rgba    ( 1931个结果
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
volatile 的使用
① 编译器很聪明,会帮我们做些优化,比如: int a; a = 0; // 这句话可以优化掉,不影响 a 的结果 a = 1; ② 有时候编译器会自作聪明,比如: int *p = ioremap(xxxx, 4); // GPIO 寄存器的地址 *p = 0; // 点灯,但是这句话被优化掉了 ...
分类:其他好文   时间:2021-04-23 11:48:41    阅读次数:0
中文繁体简体问题
1.可以把一段文字中的繁体字全部自动转化为简体字` $in="繁体繁體"; $in=iconv('UTF-8','BIG5//TRANSLIT',$in); $in=iconv('BIG5','GB2312//TRANSLIT',$in); $out=iconv('GB2312','UTF-8//T ...
分类:其他好文   时间:2021-04-22 16:34:19    阅读次数:0
重拾MySQL
关系型数据库系统(RDBMS):是指使用了关系模型的数据库系统(MySQL、Oracle、DB2、SQL Server) NoSQL数据库:指的是数据分类存放,但是数据之间没有 关联关系的数据库系统(Redis、MongoDB、Neo4J、MemCache) MySQL数据库(使用Navicat工具 ...
分类:数据库   时间:2021-04-22 16:13:48    阅读次数:0
SQL语句-判断数据库中是否有这张表
方法1 select count(1) from sys.objects where name = 'student' 方法2 SELECT table_name FROM information_schema.TABLES WHERE table_name ='student' 程序员阿飞 202 ...
分类:数据库   时间:2021-04-22 16:12:38    阅读次数:0
RabbitMQ入门(二)-- Springboot实现消息推送和消费
RabbitMQ主要实现消息推送和消费 用springboot实现消息推送 1. 新建springboot项目 通过idea,创建一个springboot默认项目,在pom.xml中添加如下依赖。 <dependency> <groupId>org.springframework.boot</gro ...
分类:编程语言   时间:2021-04-22 16:11:55    阅读次数:0
linux 系统中read命令
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:系统相关   时间:2021-04-22 15:41:37    阅读次数:0
54. Spiral Matrix
Given an m x n matrix, return all elements of the matrix in spiral order. Example 1: Input: matrix = [[1,2,3],[4,5,6],[7,8,9]] Output: [1,2,3,6,9,8,7, ...
分类:其他好文   时间:2021-04-22 15:34:12    阅读次数:0
求自定义对象集合中的属性和
例: analysisReturnGoodsList --》集合 AnalysisReturnGoods--》集合中的自定义对象 getRefundAmount--》对象中的方法 int sum = analysisReturnGoodsList.stream().mapToInt(Analysis ...
分类:其他好文   时间:2021-04-22 15:21:10    阅读次数:0
接口的使用
static void Main(string[] args) { var k = new Test() { ID = 1, Age = 15 }; T1 a = k; T2 b = k; a.show(); //Console.WriteLine(b.Age); b.show(); } } cla ...
分类:其他好文   时间:2021-04-22 15:19:53    阅读次数:0
1931条   上一页 1 ... 29 30 31 32 33 ... 194 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!