Berkeley-Sysadmin_DeCal - Lab3b
作者学习的版本为spring 2021,但近年的作业内容基本一致 Scpriting # phonebook.sh #!/bin/bash flag=$1 case "$flag" in new) # check arg count if [ $# -ne 3 ]; then echo "Usage: $0 new name...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Scpriting # phonebook.sh #!/bin/bash flag=$1 case "$flag" in new) # check arg count if [ $# -ne 3 ]; then echo "Usage: $0 new name...
课程来源:b站我是龙套小果丁 Tips 第七题如果使用std::range_formatter编译失败,可以使用统一的方法: template <typename T> struct std::formatter<List<T>> { // We need to parse format specifiers constexpr au...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Q1 Developer: Pierre Schmitz Fingerprint: 3E80 CA1A 8B89 F69C BA57 D98A 76A5 EF90 5444 9A5C gpg: assuming signed data in 'archlinux-2024.02.01-x86_64.iso' gpg:...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Pipes and Redirection grep -i -v '[aeiouy]' words.txt | head -10 grep -i '\b.*cal.*\b' your_wordlist_file.txt | awk 'length($0) >= 7' > cal.txt Vim ...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Exercise 2: Troubleshooting Intro Got the error message when try to install ocfspy package: dpkg: dependency problems prevent configuration of ocfspy: ocfspy ...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Shell spelunking ls -a ls | xargs cat rm * grep -B 2 'http' big_data.txt chmod +x a_script Use vim, nan...
课程来源:b站我是龙套小果丁 见答案 #include <cstddef> #include <new> template <typename T, std::size_t N> class InplaceVector { public: InplaceVector() = default; ~...
作者学习的版本为spring 2021,但近年的作业内容基本一致 Question 1 curl -s https://raw.githubusercontent.com/0xcf/decal-labs/master/a1/albums.txt | \ grep ', Future' | \ cut -d',' -f1 | \ while read album;...
课程来源:b站我是龙套小果丁 template <typename Range> void Function(Range &range) { for (auto &elem : range) { elem *= 2; } } #include <iostream> #include <...
课程来源:b站我是龙套小果丁 前半部分 加上-ftrapv后,溢出会被捕获,程序会abort #include <cstdint> #include <print> int main() { std::uint8_t a = 123; std::println("0x{:x}", reinterpret_cast&...