matlab基本语法 Posted on 2020-02-07 | In MATLAB | Words count in article: 339 字 | Reading time ≈ 1 mins 加;表示不输出,不加表示输出 ctrl+R 注释 ctrl+T 取消注释 disp()输出函数,不受;影响 向量 a=[1 2 3] ;隔开表示列向量 strcat(字符串1,字符串2) 合并字符串 [字符串1 字符串2 num2str() 数字转换成字符串 input(提示符) ... Read more »
csapp_bombLab Posted on 2019-12-18 | In 计算机系统基础 | Words count in article: 5.5k 字 | Reading time ≈ 29 mins phase_11234567891011121308048b30 <phase_1>: 8048b30: 55 push %ebp 8048b31: 89 e5 mov %esp,%ebp 8048b33: ... Read more »
事务 Posted on 2019-09-06 | In Java-Web&Java | Words count in article: 177 字 | Reading time ≈ 1 mins 数据库对同样的数据有不同的存储方式和管理方式,在mysql中称为存储引擎 myisam:速度快,不安全,不支持事务,不支持外键 InnoDB:速度慢,安全,如果支持事务,必须用InnoDB 事务: 原子性:一组操作,要么全部执行成功要么全部执行失败 隔离性:一组操作未完成之前其他会话不能看到中间过程 ... Read more »
分页查询 Posted on 2019-09-04 | In Java-Web&Java | Words count in article: 486 字 | Reading time ≈ 2 mins select * from 表名 limit 0,2;; (页数-1)*要显示的条数,要显示的条数 分页内容:上一页,下一页,首页,尾页,跳转页,总页数,当前页,每页的数量 每页的数量:程序员设置 总条数:select count(*) from表名 总页数:总条数%每页的数量==0?(总条数%每页 ... Read more »
JSP Posted on 2019-08-30 | In Java-Web&Java | Words count in article: 894 字 | Reading time ≈ 3 mins html不能写java代码 JSP看起来是HTML,本质是servlet java代码写在<%%>中称为脚本片段,最终在service方法里运行,❗但不要在JSP里写java代码 jsp声明:<%! %>里面可以写方法 jsp注释:<%– –%> 输出到浏览器& ... Read more »
JavaWeb Posted on 2019-08-27 | In Java-Web&Java | Words count in article: 2.5k 字 | Reading time ≈ 10 mins 软件两大架构 B/S C/SC/SC:客户端 S:服务器 eg:QQ,LOL,WPS,就是桌面应用程序 特点 软件使用前必须安装 软件更新时,客户端和服务端也要更新 不能跨平台,就类似于手机版qq不能在电脑上安装 cs软件通信采用自有协议,比较安全 B/SB:浏览器, s 服务器 ... Read more »
数据库 Posted on 2019-08-26 | In 数据库 | Words count in article: 978 字 | Reading time ≈ 4 mins 登陆 进入MySQL的bin目录下 1mysql -hlocalhost -uroot -p 数据库数据库是一个二维表,每行是一个实体,列叫字段 decimal小数更精确 Varchar:变长字符串 date:YYYY-MM-DD time:HH:MM:SS datetime:YYYY-MM-DD ... Read more »
JDBC Posted on 2019-08-26 | In Java-Web&Java | Words count in article: 663 字 | Reading time ≈ 2 mins Java DataBase Connectivity Java数据库连接,访问数据库的一种技术 JDBC编程步骤 加载注册驱动类Driver 建立连接 操作数据 释放资源 Connection:连接对象,负责应用程序和数据库建立连接,连接成功之后才能向数据库发送命令,但是在创建连接之前, ... Read more »
Java 二丢丢 Posted on 2019-08-20 | In Java-Web&Java | Words count in article: 2.3k 字 | Reading time ≈ 8 mins 数组数组也可以用引用类型 数组类型[]数组名 数组遍历 1234int[] num=new int[]{1,2,3,4};for(int num1:num){ System.out.println(num1);} 数组必须初始化 ✪动态初始化 (指定数组长度 ... Read more »
fatal-unable-to-auto-detect-email-address Posted on 2019-08-19 | Words count in article: 62 字 | Reading time ≈ 1 mins 五个月没开博客,我的git他有了自己的想法。。。 git: fatal unable to auto-detect email address (got "some wrong email") 解决方法: 1$ git config --global user.email "yo ... Read more »