├── data ├── 2027.dat ├── 2025.dat └── 2026.dat ├── logout ├── new_feature ├── newfile ├── buggy.txt ├── README.md ├── login.py ├── stats.py ├── stats.c └── LICENSE /data/2027.dat: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /data/2025.dat: -------------------------------------------------------------------------------- 1 | data 2 | -------------------------------------------------------------------------------- /data/2026.dat: -------------------------------------------------------------------------------- 1 | # 2026 data -------------------------------------------------------------------------------- /logout: -------------------------------------------------------------------------------- 1 | # jadi is going to work on logout 2 | -------------------------------------------------------------------------------- /new_feature: -------------------------------------------------------------------------------- 1 | And this is going to be a new feature -------------------------------------------------------------------------------- /newfile: -------------------------------------------------------------------------------- 1 | We will add some more information to this file soon -------------------------------------------------------------------------------- /buggy.txt: -------------------------------------------------------------------------------- 1 | Overnight work! this might have some BUGGGS 2 | 3 | here is the bug -> BUG 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # aibook 2 | 3 | writing a silly book to teach git 4 | 5 | We are going to use this file during this course... 6 | -------------------------------------------------------------------------------- /login.py: -------------------------------------------------------------------------------- 1 | # craete a login in bash 2 | #!/bin/bash 3 | 4 | read -p "Enter your username: " username 5 | read -p "Enter your password: " password 6 | 7 | if [ "$username" == "admin" ] && [ "$password" == "password" ]; then 8 | echo "Login successful" 9 | else 10 | echo "Login failed" 11 | fi -------------------------------------------------------------------------------- /stats.py: -------------------------------------------------------------------------------- 1 | # write a stats collector in python 2 | # the stats collector should collect stats from the system and store them in a database 3 | # the stats collector should be able to collect stats from the system and store them in a database 4 | # the stats collector should be able to collect stats from the system and store them in a database 5 | -------------------------------------------------------------------------------- /stats.c: -------------------------------------------------------------------------------- 1 | // write a small routine to calculate the stats of a file 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 Jadi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------