and shebangs and make all scripts executable
This commit is contained in:
parent
fb50c076fe
commit
768f1c66e6
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
# needs lowdown and feegden installed
|
# needs lowdown and feegden installed
|
||||||
# feedgen can be installed with pip
|
# feedgen can be installed with pip
|
||||||
|
1
blog.py
Normal file → Executable file
1
blog.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#! /usr/bin/env python3
|
||||||
# just testing markdown library for now
|
# just testing markdown library for now
|
||||||
|
|
||||||
from markdown import markdown as to_markdown
|
from markdown import markdown as to_markdown
|
||||||
|
3
build_pages.py
Normal file → Executable file
3
build_pages.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#! /usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
|
|
||||||
PAGES = [
|
PAGES = [
|
||||||
@ -38,4 +39,4 @@ def main():
|
|||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
4
image_poster.py
Normal file → Executable file
4
image_poster.py
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
import freetype
|
import freetype
|
||||||
import io
|
import io
|
||||||
@ -86,4 +86,4 @@ img = drawPoster(events, (0, 0, 0), (20, 250, 50))
|
|||||||
img.save('poster_dark.png')
|
img.save('poster_dark.png')
|
||||||
|
|
||||||
img = drawPoster(events, (255, 255, 255), (0, 0, 0))
|
img = drawPoster(events, (255, 255, 255), (0, 0, 0))
|
||||||
img.save('poster_light.png')
|
img.save('poster_light.png')
|
||||||
|
1
poster.py
Normal file → Executable file
1
poster.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#! /usr/bin/env python3
|
||||||
import csv
|
import csv
|
||||||
import datetime as dt
|
import datetime as dt
|
||||||
from dateutil import relativedelta
|
from dateutil import relativedelta
|
||||||
|
Loading…
Reference in New Issue
Block a user