上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 由于 GitHub 目前在国内半墙不墙的状态,我们在从 GitHub 上 push 或者 pull 都很容易卡住甚至出现 git 443: Timed out的报错。报错如下 Failed to connect to github.com port 443: Timed out 下面就是使用代理来解 阅读全文
posted @ 2022-11-16 00:10 今天代码写完了吗 阅读(572) 评论(0) 推荐(0) 编辑
摘要: public class GsonUtil { private static final Gson gson = new Gson(); /** * 转成 Json 字符串 */ public static String toJson(Object object) { return gson.toJ 阅读全文
posted @ 2022-11-09 23:57 今天代码写完了吗 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Cascadia Code 许可证:SIL Open Font License 1.1 官网:https://github.com/microsoft/cascadia-code 开发商:微软 字体预览: Cascadia Code是在2020年5月微软的Build活动上发布的。它是微软最新推出的一 阅读全文
posted @ 2022-11-03 18:25 今天代码写完了吗 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 我们在使用 IDEA 编写 MyBatis 的 xml 文件时,会发现出现一大片的黄色背景提示,每次编写代码的时候都感觉很突兀,所以在这里说下如何解决这个问题。 设置 -> 编辑器 -> 代码样式 -> 检查(Inspections) -> SQL 中的 没有配置数据源(No data source 阅读全文
posted @ 2022-11-03 15:03 今天代码写完了吗 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: 宝塔自从升级到7.9版本以后面板首页就有了强制广告和首页软件推荐。下面是关闭软件推荐的方法教程 文件位置:/www/server/panel/BTPanel/static/js/index.js 使用宝塔编辑器搜索 搜索 setTimeout(function () { _this.get_inde 阅读全文
posted @ 2022-10-10 12:01 今天代码写完了吗 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 开启外网访问 找到 redis 配置文件, redis 的默认配置文件为:/etc/redis/redis.conf 修改保护模式为 no protected-mode no 将所有的bind 都全部注释掉 # bind 127.0.0.1 开放防火墙端口 6379, 如果有云防护,云防火墙也开放 阅读全文
posted @ 2022-05-24 10:43 今天代码写完了吗 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Mybatis可以把自增主键的值放到实体中返回 这个是实体类 public class UserEntity { private Long id; private String username; private String type; private String name; private L 阅读全文
posted @ 2022-04-15 11:17 今天代码写完了吗 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 在MySQL中,数据库对应数据目录中的目录。数据库中的每个表至少对应数据库目录中的一个文件(也可能是多个,取决于存储引擎)。因此,所使用操作系统的大小写敏感性决定了数据库名和表名的大小写敏感性。 在大多数Unix中数据库名和表名对大小写敏感,而在 Windows 中对大小写不敏感。一个显著的例外情况 阅读全文
posted @ 2021-12-28 11:45 今天代码写完了吗 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 上传本地文件到服务器 scp /path/local_filename username@servername:/path 例如: scp /var/www/test.php codinglog@192.168.0.101:/var/www/ 把本机/var/www/目录下的test.php文件上传 阅读全文
posted @ 2021-12-04 00:11 今天代码写完了吗 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 修改日期格式: echo "export TIME_STYLE='+%Y-%m-%d %H:%M:%S'" >> /etc/profile && source /etc/profile 友好显示文件大小 echo "alias ll='ls -lh --color=auto'" >> ~/.bash 阅读全文
posted @ 2021-12-03 16:58 今天代码写完了吗 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页