Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
micro-teaching-assistant-fucker
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
micro-teaching-assistant-fucker
Commits
14f22788
There was an error fetching the commit references. Please try again later.
Unverified
Commit
14f22788
authored
7 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
simplify output && update readme
parent
e4181eb0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-0
4 additions, 0 deletions
README.md
d.fish
+3
-2
3 additions, 2 deletions
d.fish
with
7 additions
and
2 deletions
README.md
+
4
−
0
View file @
14f22788
...
...
@@ -17,4 +17,8 @@ d.fish使用了gnome的notify-send,kde/其他de用户请根据自己的情况
d.fish使用了cvlc来播放mp3,其他播放器用户请根据自己情况进行修改。请将电脑声音调大。
## Tips
使用./informed.sh来停止一次提醒。
警惕以下情形: 老师发出一个题,脚本发出警报,你成功答题,老师在第一个题过期之前发出第2个题,你不知道。
This diff is collapsed.
Click to expand it.
d.fish
+
3
−
2
View file @
14f22788
...
...
@@ -5,10 +5,11 @@
set _url 'https://www.teachermate.com.cn/wechat/wechat/guide/answer?openid=161067e64d98cbb23d3ceb2947f004a8'
function _is_informed
if test (cat /tmp/gay_known) = "known"
# May not exist.
if test (cat /tmp/gay_known 2>&1) = "known"
echo "LOG> skipped because informed."
return 0
# ok
# ok
.
else
echo "LOG> not informed. Launching cvlc."
return 1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment