turn on grub menu if your grub menu don’t show when you boot up your system , you can follow this : edit grub config sudo vim /etc/default/grub # GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 commit sudo update-grub get a theme gnome grub themes store deadsec theme change some grub settings edit grub config sudo vim /etc/default/grub find and change: GRUB_DEFAULT=saved add this line GRUB_SAVEDEFAULT=true this 2 line make grub rember your choice commit sudo update-grub
Fix dual system time problem fix a dual system bug : windows time not right everytime after using ubuntu. run this in ubuntu sudo timedatectl set-local-rtc 1 --adjust-system-clock why having this problem there a hardware called RTC in your computer: if RTC time is 00:00 , and you are in UTC+8:00 time zone , windows think : ok ,RTC time is just right : now is 00:00 ubuntu think : RTC time is UTC+0:00 so i have to add 8 hours and now is 08:00 command make ubuntu think in windows way.
关于如何在2023年使用zlibrary,可以下载很多小说、电子书、期刊等等。(我以前以为只能下载学术论文啥的所以从来没有关注过!) 去 telegram 上搜索 zlib,会找到:@zlibrary2bot 给 bot 发送 /weblink ,他会给你一个最新链接,是 zlib 现在的链接,需要通过tor浏览器访问。 ⚠️ Z-library website is currently available only in Tor network. You can find out more and download Tor browser at https://www.torproject.org Books link: bookszlibb74ugqojhzhg2a63w5i2atv5bqarulgczawnbmsb6s6qead.onion Articles link: articles24t2d47kb6rbabobokvrnymh2smkleosntcu6qxou6sxewyd.onion 下载 tor : https://www.torproject.org 使用 tor …
最近工作终于闲了下来,可以上班研究代码。遇到一些需要正则表达式的编程问题,无法解决所以决定个学一下。 Regex 101 - ZH-CN (regexlearn.com) Regex Learn - 练习场 Regex Learn - cheatsheet 练习题 简单 匹配单词 he is in black. black . 允许匹配任何字符,包括特殊字符和空格 A B C D E . 肯定字符集 [abc] 匹配字母可以用[a-z] 匹配数字可以用[0-9] 或者 \d bar ber bir bor bur b[aeiou]r 否定字符集[^abc] bar ber bir bor bur b[^ei]r 字母范围[a-z] 重复? + * ? 加在字母后代表出现0次或1次 color, colour colou?r + 加在字母后代表出现1次或多次 br ber beer be+r * 加在字母后代表出现0次或多次 br ber beer be*r 大括号 {x}加在字母后代表出现x次 ber beer beeer beeeer be{2}r {n, }加在字母后代表出现n到正…