12 Commits

Author SHA1 Message Date
1d1cde2ede added 2020-03-25 21:22:43 +01:00
Lerking
8451e315a3 Update . gitattributes 2019-06-19 21:22:01 +02:00
Lerking
f2f0afba54 Update . gitattributes 2019-06-19 21:20:45 +02:00
Lerking
d58c105c2a Update . gitattributes 2019-06-19 21:20:02 +02:00
Lerking
c003edf060 Update . gitattributes 2019-06-18 21:53:13 +02:00
Lerking
558f488445 Update . gitattributes 2019-06-18 21:50:41 +02:00
Lerking
f04f28d563 Update . gitattributes 2019-06-18 21:49:28 +02:00
Lerking
f361bd4d3a Update . gitattributes 2019-06-18 21:47:05 +02:00
Lerking
8f0f4dc13b Create . gitattributes 2019-06-18 21:46:11 +02:00
Lerking
61a7d37ef1 Update issue templates 2019-02-04 20:27:52 +01:00
Lerking
9a579123f6 Update issue templates 2019-02-04 20:27:13 +01:00
Lerking
5c4e69d5de Merge pull request #15 from Lerking/Development
Development testing pull request
2018-12-19 12:56:35 +01:00
5 changed files with 95 additions and 0 deletions

4
. gitattributes Normal file
View File

@@ -0,0 +1,4 @@
*.h linguist-detectable=false
*.c linguist-detectable=false
*.inc linguist-detectable=true
*.py linguist-detectable=true

38
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

10
.github/ISSUE_TEMPLATE/custom.md vendored Normal file
View File

@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''
---

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

23
watchdog_test.py Normal file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/python3
import time
from watchdog.observers import Observer
from watchdog.events import FileSystemEventHandler
class MyHandler(FileSystemEventHandler):
def on_modified(self, event):
print(f'event type: {event.event_type} path : {event.src_path}')
if __name__ == "__main__":
event_handler = MyHandler()
observer = Observer()
observer.schedule(event_handler, path='/usr/include', recursive=False)
observer.start()
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
observer.stop()
observer.join()