跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
随机页面
特殊页面
参与编写
搜索
搜索
外观
登录
个人工具
登录
查看“︁100天编程挑战”︁的源代码
页面
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
刷新
常规
链入页面
相关更改
页面信息
外观
移至侧栏
隐藏
←
100天编程挑战
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
== 天明 == === 1-30 === * Day 1(2024-12-23): 完成了音乐播放器小练习<ref>https://www.freecodecamp.org/chinese/learn/javascript-algorithms-and-data-structures-v8/#learn-basic-string-and-array-methods-by-building-a-music-player</ref>; * Day 2(2024-12-24):看了一篇 [[JS]] 代码重构简化的小文章<ref>https://www.freecodecamp.org/news/how-to-write-code-thats-easy-to-read/</ref>; * Day 3(2024-12-25):浏览并收藏了一个仓库,作者详细展示了 JS 代码的建议写法<ref>https://github.com/ryanmcdermott/clean-code-javascript</ref>; * Day 4(2024-12-26):完成了一个日期选择器的小练习来理解 JS 中的 Date 对象<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-the-date-object-by-building-a-date-formatter</ref>; * Day 5(2024-12-27):完成了足球队小卡片的练习来巩固 <code>switch</code> 语句以及提取对象的方法<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-modern-javascript-methods-by-building-football-team-cards</ref>; * Day 6(2024-12-28):通过Todo App的小练习理解 [[JavaScript]] 的 <code>localStorage</code> 和简单的 [[CRUD]]<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-localstorage-by-building-a-todo-app</ref>; * Day 7(2024-12-29):查阅 [[MediaWiki]] 官方文档<ref>https://www.mediawiki.org/wiki/Manual:Upgrading/zh</ref>,<s>为百科站点升级做准备</s>,成功从<code>1.42.3</code>升级到<code>1.43</code>,但依然没有实现 Vector 2022 皮肤的深色模式; * Day 8(2024-12-30):练习[[二进制]]转换理解[[递归]]函数的概念以及<code>setTimeout()</code><ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-recursion-by-building-a-decimal-to-binary-converter</ref>,还练习了[[正则表达式]]<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-regular-expressions-by-building-a-spam-filter</ref>; * Day 9(2024-12-31):了解了 [[rc]] 这个名称后缀的含义,是一种历史遗留的约定,用于表示这些文件是配置文件; * Day 10(2025-01-01):通过小项目练习了排序算法(冒泡排序<ref>[https://www.runoob.com/w3cnote/bubble-sort.html 冒泡排序 | 菜鸟教程]</ref>、选择排序<ref>[https://www.runoob.com/w3cnote/selection-sort.html 选择排序 | 菜鸟教程]</ref>、插入排序<ref>[https://www.runoob.com/w3cnote/insertion-sort.html 插入排序 | 菜鸟教程]</ref>)<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-basic-algorithmic-thinking-by-building-a-number-sorter</ref>,但是非常生涩,几乎没有理解; * Day 11(2025-01-02):简单练习了 JavaScript 的<code>fetch</code>方法,功能与 Python 的 [[requests]] 类似,都是向目标 [[API]] 接口发送 GET 请求以获取数据,但调用方法有点不同<ref>https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/#learn-fetch-and-promises-by-building-an-fcc-authors-page</ref>; * Day 12(2025-01-03):通过创建一个票据页面,练习了 [[CSS]] 的伪类选择器<ref>https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-more-about-css-pseudo-selectors-by-building-a-balance-sheet</ref>; * Day 13(2025-01-04):[[React]] 的入门项目学了一半卡壳了,以后再看看<ref>https://www.freecodecamp.org/learn/front-end-development-libraries/#react</ref>; * Day 14(2025-01-05):练习了加解密小项目来巩固 Python 综合的基础概念(字符串操作、循环、函数调用等)<ref>https://www.freecodecamp.org/learn/scientific-computing-with-python/#learn-string-manipulation-by-building-a-cipher</ref>; * Day 15(2025-01-06):通过 Python 创建密码生成器来学习[[正则表达式]]<ref>https://www.freecodecamp.org/chinese/learn/scientific-computing-with-python/#learn-regular-expressions-by-building-a-password-generator</ref>; * Day 16(2025-01-07):简单上手体验 [[pandas]]<ref name=":0" />; * Day 17(2025-01-08):学习 [[npm]] 基础<ref>https://www.freecodecamp.org/learn/back-end-development-and-apis/#managing-packages-with-npm</ref>; * Day 18(2025-01-09):练习 [[Express]] 基础,'''<s>但是卡壳了,卡在<code>/now</code>端点,不知道哪里的代码出了问题,总是通不过测试(可能是在线环境自己的Bug,已解决)</s>'''<ref>https://www.freecodecamp.org/learn/back-end-development-and-apis/#basic-node-and-express</ref>; * Day 19(2025-01-10):通过小练习了解 [[MongoDB]] 和 [[Mongoose]] 基础<ref>https://www.freecodecamp.org/learn/back-end-development-and-apis/mongodb-and-mongoose</ref>; * Day 20(2025-01-11):通过支出追踪器的小练习理解了 Python 里<code>lambda</code>表达式的基本概念和用法<ref>https://www.freecodecamp.org/learn/scientific-computing-with-python/#learn-lambda-functions-by-building-an-expense-tracker</ref>; * Day 21(2025-01-12):了解了 [[D3.js|D3]] 的基本概念及使用,常用于数据可视化,在网页中呈现图表<ref>https://www.freecodecamp.org/learn/data-visualization/data-visualization-with-d3</ref>; * Day 22(2025-01-13):了解到 [[LaTeX]] 的基础使用,它是常用于学术论文的标记语言,类似于 [[Markdown]]<ref>https://zilutian.github.io/latex-tutorial-chinese/</ref>; * Day 23(2025-01-14):通过绘制小猫咪练习了 [[CSS]] 的多种属性用法<ref>https://www.freecodecamp.org/learn/2022/responsive-web-design/#learn-intermediate-css-by-building-a-cat-painting</ref>,还看了 [[JMeter]] 的基础使用,进度是12/55<ref name=":1">https://www.bilibili.com/video/BV1ty4y1q72g?p=12</ref>; * Day 24(2025-01-15):了解了一下 [[Anki]] 选择题模板的制作,其本质是 [[HTML]]/CSS/JavaScript 的组合<ref>[https://rstyro.github.io/blog/2020/07/20/Anki%E9%80%89%E6%8B%A9%E9%A2%98%E5%8D%A1%E7%89%87%E5%88%B6%E4%BD%9C%E8%AF%A6%E8%A7%A3/ Anki选择题卡片制作详解 | 胖不了小陆]</ref>; * Day 25(2025-01-16):通过数独的小练习强化理解 Python 里类与[[对象]]的创建和调用<ref>https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-classes-and-objects-by-building-a-sudoku-solver</ref>; * Day 26(2025-01-17):通过打印城堡的小练习学习了 [[nano|Nano]] 编辑器的基础使用<ref>https://www.freecodecamp.org/learn/relational-database/learn-nano-by-building-a-castle</ref>; * Day 27(2025-01-18):练习了 [[PostgreSQL]] 的基础使用,查询、插入甚至还有 [[Shell]] 脚本的简单编写<ref>https://www.freecodecamp.org/learn/relational-database/learn-sql-by-building-a-student-database-part-1</ref>; * Day 28(2025-01-19):继续编写脚本来练习 SQL 查询<ref>https://www.freecodecamp.org/learn/relational-database/learn-sql-by-building-a-student-database-part-2</ref>;<!-- #!/bin/bash # Info about my computer science students from students database echo -e "\n~~ My Computer Science Students ~~\n" PSQL="psql -X --username=freecodecamp --dbname=students --no-align --tuples-only -c" echo -e "\nFirst name, last name, and GPA of students with a 4.0 GPA:" echo "$($PSQL "SELECT first_name, last_name, gpa FROM students WHERE gpa=4.0")" echo -e "\nAll course names whose first letter is before 'D' in the alphabet:" echo "$($PSQL "SELECT course FROM courses WHERE course<'D'")" echo -e "\nFirst name, last name, and GPA of students whose last name begins with an 'R' or after and have a GPA greater than 3.8 or less than 2.0:" echo "$($PSQL "SELECT first_name, last_name, gpa FROM students WHERE last_name>='R' AND (gpa>3.8 OR gpa<2.0)")" echo -e "\nLast name of students whose last name contains a case insensitive 'sa' or have an 'r' as the second to last letter:" echo "$($PSQL "SELECT last_name FROM students WHERE last_name ILIKE '%sa%' OR last_name ILIKE '%r_'")" echo -e "\nFirst name, last name, and GPA of students who have not selected a major and either their first name begins with 'D' or they have a GPA greater than 3.0:" echo "$($PSQL "SELECT first_name, last_name, gpa FROM students WHERE major_id IS NULL AND (first_name LIKE 'D%' OR gpa > 3.0)")" echo -e "\nCourse name of the first five courses, in reverse alphabetical order, that have an 'e' as the second letter or end with an 's':" echo "$($PSQL "SELECT course FROM courses WHERE course LIKE '_e%' OR course LIKE '%s' ORDER BY course DESC LIMIT 5;")" echo -e "\nAverage GPA of all students rounded to two decimal places:" echo "$($PSQL "SELECT ROUND(AVG(gpa),2) FROM students")" echo -e "\nMajor ID, total number of students in a column named 'number_of_students', and average GPA rounded to two decimal places in a column name 'average_gpa', for each major ID in the students table having a student count greater than 1:" echo "$($PSQL "SELECT major_id, COUNT(*) AS number_of_students, ROUND(AVG(gpa),2) AS average_gpa FROM students GROUP BY major_id HAVING COUNT(*) > 1;")" echo -e "\nList of majors, in alphabetical order, that either no student is taking or has a student whose first name contains a case insensitive 'ma':" echo "$($PSQL "SELECT major FROM majors LEFT JOIN students ON majors.major_id = students.major_id WHERE first_name ILIKE '%ma%' OR first_name IS NULL ORDER BY major")" echo -e "\nList of unique courses, in reverse alphabetical order, that no student or 'Obie Hilpert' is taking:" echo "$($PSQL "SELECT DISTINCT(course) FROM courses LEFT JOIN majors_courses USING (course_id) LEFT JOIN students USING (major_id) WHERE student_id IS NULL OR (first_name='Obie' AND last_name='Hilpert') ORDER BY course DESC ;")" echo -e "\nList of courses, in alphabetical order, with only one student enrolled:" echo "$($PSQL "SELECT course FROM courses LEFT JOIN majors_courses USING (course_id) LEFT JOIN students USING (major_id) GROUP BY course HAVING COUNT(student_id) = 1 ORDER BY course; ")" --> * Day 29(2025-01-20):练习了 Mario 数据库的小项目,少量记录的增删改查已经掌握了<ref>https://www.freecodecamp.org/learn/relational-database/learn-relational-databases-by-building-a-mario-database</ref>; * Day 30(2025-01-21):继续练习 Bash 脚本的编写<ref>https://www.freecodecamp.org/learn/relational-database/learn-bash-scripting-by-building-five-programs</ref>,意识到其实 Shell 本身也是一门编程语言hh它也有自己的各种条件语句以及逻辑处理🌚; === 31-60 === === 61-90 === === 91-100 === == lucky-unicorn == === 1-30 === * <s>Day 1(2024-12-24)</s>:了解<code>playwright codegen</code>如何产生自动化代码<ref>[https://www.bilibili.com/video/BV1Gw411N73T?spm_id_from=333.788.videopod.episodes&vd_source=47666999c0c613da04732d253d4d28c5&p=5 https://www.bilibili.com/video/BV1Gw411N73T]</ref>; * <s>Day 2(2024-12-25)</s>:发现一个学习各种编程的网站,适合快速上手一些感兴趣的编程应用<ref>https://www.byhy.net/</ref>; * <s>Day 3(2024-12-26)</s>:完成了 [[Conda]] 环境变量配置; * <s>Day 4(2024-12-27)</s>:安装 [[Playwright]] 及浏览环境<ref>[https://playwright.dev/python/docs/intro Playwright for Python]</ref>,测试 Playwright 自动化录制功能,自动打开百度搜索[[大麦]]网,进行登录。'''卡点:模拟不出来拖动按钮校验;''' * <s>Day 5(2024-12-28)</s>:学习 Playwright 实现自动记录和管理 [[Cookie]] 信息<ref>https://www.bilibili.com/video/BV1UD4y1s7Wi</ref>; * <s>Day 6(2024-12-29)</s>:Playwright 登录滑块验证码<ref>https://www.bilibili.com/video/BV1ho4y1n7mM</ref>; * Day 1(2024-12-31):了解 [[k8s]] 和 [[Docker|docker]] 的关系<ref>https://mp.weixin.qq.com/s/dckA1ezcABndN5WSg1BOBA</ref><ref>https://mp.weixin.qq.com/s/_ldWjMNgyAsglGexSbsqEw</ref>; * Day 2(2025-01-01):了解 [[Navicat]] 如何链接数据库,数据库路径 ini 文件需进行配置<ref>https://m.jb51.net/article/279902.htm</ref><ref>https://blog.csdn.net/qq_41322100/article/details/140402153</ref>; * Day 3(2025-01-02):回顾创建[[虚拟环境]],记录过程中会用到的命令<ref>[[Conda|Conda 创建虚拟环境]]</ref>; * Day 4(2025-01-03):第一个 Playwright 简单脚本<ref>https://www.bilibili.com/video/BV1UD4y1s7Wi</ref>(打印网页标题); * Day 5(2025-01-04):大概回顾一下 [[Python]] 基础<ref>https://mp.weixin.qq.com/s/vtlenvHnu-1Jc2wMd_vuqw</ref>; * Day 6(2025-01-05):学习 Python 对于 [[Excel]] 处理的操作方法<ref name=":0">https://mp.weixin.qq.com/s/x-UwYUQcyVWmypiM-lrFpg</ref>; * Day 7(2025-01-06):学习 Playwright 对浏览器进行控制<ref>https://douyin.com/video/7164592588601724167</ref>; * Day 8(2025-01-07):用 [[Mimo|mimo]] 学习了一下 Python,具体是一些值和变量的关系; * Day 9(2025-01-08):学习 Python 对于 Excel 处理的一些办法,上次没学完<ref name=":0" />; * Day 10(2025-01-09):了解 Python 的一些函数<ref>https://mp.weixin.qq.com/s/__k7HOQRSxfbhJ1O2th_YQ</ref>; * Day 11(2025-01-10):学习 [[MySQL]] 如何三个表进行连接,理解内连接和左右连接的区别,实现方式点击[[三表连接|这里]]查看; * Day 12(2025-01-11):[[SQL]] 十分钟速成<ref>https://bilibili.com/video/BV1bQxMehETa</ref>; * Day 13(2025-01-12):了解502问题如何排查,[[HTTP]] 状态码用来表示响应结果的状态,其中200是正常响应,4xx是客户端错误,5xx是服务端错误<ref>https://mp.weixin.qq.com/s/ThX72K7Ktx6rJM6Q9DZnGA</ref>; * Day 14(2025-01-13):练习 SQL 的运用,当需要多列需要计数时,不能连续使用三个count,有且只能有一个,其他用判断语句计数,group by需相同项放进去一起分组,order by默认降序,但是条件多时默认不生效<ref>https://t.me/ztm0929_digitalhub/24</ref>; * Day 15(2025-01-14):学习观看使用jmeter需要配置的环境,及如何测试api请求<ref name=":1" />; * Day 16(2025-01-15):了解为什么MySQL的count计算比较慢<ref>https://mp.weixin.qq.com/s/6U30GqA7afsGb_QS4RHKhg</ref>; * Day 17(2025-01-16):了解 [[Kafka]] 是什么<ref>https://mp.weixin.qq.com/s/SNMmCMV-gqkHtWS0Ca3j4g</ref>; * Day 18(2025-01-17):了解为什么 [[RocketMQ]] 不如 kafka<ref>https://mp.weixin.qq.com/s/4ZTqvsLzg6-kJFJez4Zkqw</ref>; * Day 19(2025-01-18):了解 [[RabbitMQ]] 是什么<ref>https://mp.weixin.qq.com/s/v5XVoEaHJcUqpRWW2U9pkw</ref>; * Day 20(2025-01-19):了解数据库三大范式<ref>https://mp.weixin.qq.com/s/9NGiiMJnJm0PYYwWEUiIeA</ref>(第一范式:每个列都不可以再拆分;第二范式:在第一范式的基础上,非主键列完全依 赖于主键,而不能是依赖于主键的一部分;第三范式:在第二范式的基础上,非主键列只依赖 于主键,不依赖于其他非主键。 ) * Day 21(2025-01-20):了解[[HTTP|http]]和[[HTTPS|https]]的区别,简单来说http是80端口,https是443端口,需要注册[[SSL|ssl]]证书,通过加密数据进行保护数据安全<ref>https://mp.weixin.qq.com/s/920K2w7xSSear-TRWYMf6Q</ref>; === 31-60 === === 61-90 === === 91-100 === {{联系天明}} == 参考资料 ==
返回
100天编程挑战
。
搜索
搜索
查看“︁100天编程挑战”︁的源代码
添加话题