Here's how to restore SteamOS boot entry after installing SteamOS update 0. sudo rm /etc/systemd/system/force-steamos-on-next-boot.service 1.Start with Steam Deck off. 2.Hold …
MySQL中的视图在判断权限时将根据SQL SECURITY中的设置。🤔Invoker将判断调用者的权限。而Definer将去判断指定的固定用户的权限。因此在迁移数据时要小心此处的设置。
js中的for of遍历的是数组元素值(数组实现了Iterator接口)。而当for in在遍历数组时,得到的是索引。(for in用以进行对象的遍历)😂
https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/config/annotation/web/builders/HttpSecurity.html 在HttpSecurity中,可以通过设置anonymous方法来允许特…
You can access the latest development snapshot by using the Maven repository https://repository.apache.org/snapshots and the current SNAPSHOT version. Generally, the master br…
创建目录或文件符号链接或硬链接。若要创建一个名为 MyFolder 的符号链接,并从根目录到 \Users\User1\Documents 目录,以及名为 Myfile.file 的硬链接到位于 目录中的 example.file 文件,请键入: mklink /d \MyFolder \Users\User1\Documents mklink /…
在http中 如果要在http块中设置access_log,可以使用map设置变量 map $time_iso8601 $logdate { '~^(?<ymd>\d{4}-\d{2}-\d{2})' $ymd; default 'date-not-found'; } 日志路径 access_log lo…
偶然发现个可以在web应用上玩弄各种声音,功能还挺强大的框架Tone.js。不过官方没有中文文档,官方文档也稍微有点让人无语。稍微翻译记录下一些基础操作,日后再研究。 为了使用Tone.js,首先需要创建合成器。框架里其实内置了不少合成器,这里用最简单的示例。 const synth = new Tone.Synth().toMaster(); 这…
给家里的旧杂牌Windows平板升级Win10时发现一堆坑。特别是驱动问题,给这种没咋维护的旧设备装上最新版本的Win10,有好多驱动都没法靠Windows正常自动更新。好在当年曾经备份过驱动包,可以直接把驱动刷进Win10镜像里,在安装系统时就直接解决这个问题。顺便记录下dism的操作。 由于在使用dism挂载wim镜像时需要wim中的index…