Skip to content

A tool for students of North University of China to make pictures of applications for leave quickly.

License

Notifications You must be signed in to change notification settings

swfeiyu/NUC-AFLtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUC-AFLtool

Who am I

This is a tool for students of North University of China to make pictures of applications for leave quickly.

Use

Use as a python script

  1. Install dependencies.This tool depend on pillow libraray. So we need install it first.
pip install pillow
  1. Pull this repository.
git clone https://github.com/swfeiyu/NUC-AFLtool.git
  1. Modify the config file conf.ini. You can add multiple templates. You should write which template you use after "template=".
  2. Execute the program.
python main.py

Answer questions as requested. You can see what you need in the output folder.

Use like a program

How to pack

We have written the script to pack using pyinstaller. Command like

pip install pyinstaller
bash pack.sh

Then you can see an executable file named AFLtool in this folder.You can use it in the terminal.

Linux

Modify the config file conf.ini. You can add multiple templates, you should write which template you use after "template=".Then run this

./AFLtool

Remember, if you wanna create exe on linux, use wine. Docker is a good idea. I use batonogov/pyinstaller-windows:latest Command likedocker run -it -v VOLUME:/src batonogov/pyinstaller-windows:latest /bin/bash

Windows

Modify the config file conf.ini. You can add multiple templates, you should write which template you use after "template=".Then run this

run AFLtool.exe

Postscript

If you find some bugs or have some new suggestions, you can submit in the issue. If this project is helpful to you, please click Star in the upper right corner of the page to support, thank you!

Some reflections

Why did I build this tool? I am in my second year of college in 2023-2024. But there was a disgusting thing in my college life. It`s the morning reading. It was arranged in my precious sleep time and I don`t like other people to take control of my time. So I found my headteacher to talk about it. But nothing worked. Of course, it also made me realize what kind of person my headteacher is.

It also made me realize one thing, students can`t be united. Each student has his or her own pursuits, such as securing graduate school and getting money. Create trouble for those above is tantamount to threatening their own interests. Of course, there are some people who are just waiting, waiting for someone else to make a move, and then they make a profit in the back, and those losses are all borne by the people who came out. This reminds me of what Mr.Lu Xun said, studying medicine can only save the body of a small number of people, but cannot save the spirit of all Chinese.

My instructor, who used to be the rotating president of the student union,once said to me, if you think it`s unfair and unreasonable and you want to change it, you should first climb to the position where you have that power. I`m quite disgusted with this sentence. But in this environment, this statement is indeed very true. Of course my instructor is good and conscientious but due to environmental problems.

I think a good university should give students the freedom to study and give students the freedom to study. I just hope that will be the case in the future.

My English is very poor and thank you very much for reading the text above.

About

A tool for students of North University of China to make pictures of applications for leave quickly.

Resources

License

Stars

Watchers

Forks