forked from Decentrala/website
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
|
||||
# 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
|
||||
|
||||
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
|
||||
|
||||
PAGES = [
|
||||
@ -38,4 +39,4 @@ def main():
|
||||
f.close()
|
||||
|
||||
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 io
|
||||
@ -86,4 +86,4 @@ img = drawPoster(events, (0, 0, 0), (20, 250, 50))
|
||||
img.save('poster_dark.png')
|
||||
|
||||
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 datetime as dt
|
||||
from dateutil import relativedelta
|
||||
|
Loading…
Reference in New Issue
Block a user