diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2251989 --- /dev/null +++ b/Makefile @@ -0,0 +1,85 @@ +PY?= +PELICAN?=pelican +PELICANOPTS= + +BASEDIR=$(CURDIR) +INPUTDIR=$(BASEDIR)/content +OUTPUTDIR=$(BASEDIR)/output +CONFFILE=$(BASEDIR)/pelicanconf.py +PUBLISHCONF=$(BASEDIR)/publishconf.py + +S3_BUCKET=n + +GITHUB_PAGES_BRANCH=gh-pages + + +DEBUG ?= 0 +ifeq ($(DEBUG), 1) + PELICANOPTS += -D +endif + +RELATIVE ?= 0 +ifeq ($(RELATIVE), 1) + PELICANOPTS += --relative-urls +endif + +SERVER ?= "0.0.0.0" + +PORT ?= 0 +ifneq ($(PORT), 0) + PELICANOPTS += -p $(PORT) +endif + + +help: + @echo 'Makefile for a pelican Web site ' + @echo ' ' + @echo 'Usage: ' + @echo ' make html (re)generate the web site ' + @echo ' make clean remove the generated files ' + @echo ' make regenerate regenerate files upon modification ' + @echo ' make publish generate using production settings ' + @echo ' make serve [PORT=8000] serve site at http://localhost:8000' + @echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 ' + @echo ' make devserver [PORT=8000] serve and regenerate together ' + @echo ' make devserver-global regenerate and serve on 0.0.0.0 ' + @echo ' make s3_upload upload the web site via S3 ' + @echo ' make github upload the web site via gh-pages ' + @echo ' ' + @echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html ' + @echo 'Set the RELATIVE variable to 1 to enable relative urls ' + @echo ' ' + +html: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +clean: + [ ! -d "$(OUTPUTDIR)" ] || rm -rf "$(OUTPUTDIR)" + +regenerate: + "$(PELICAN)" -r "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +serve-global: + "$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) -b $(SERVER) + +devserver: + "$(PELICAN)" -lr "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) + +devserver-global: + $(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b 0.0.0.0 + +publish: + "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) + +s3_upload: publish + aws s3 sync "$(OUTPUTDIR)"/ s3://$(S3_BUCKET) --acl public-read --delete + +github: publish + ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)" + git push origin $(GITHUB_PAGES_BRANCH) + + +.PHONY: html help clean regenerate serve serve-global devserver publish s3_upload github \ No newline at end of file diff --git a/_includes/analytics.html b/_includes/analytics.html deleted file mode 100644 index 97517ac..0000000 --- a/_includes/analytics.html +++ /dev/null @@ -1,11 +0,0 @@ - - \ No newline at end of file diff --git a/_includes/color-bar.html b/_includes/color-bar.html deleted file mode 100644 index cbc5a0a..0000000 --- a/_includes/color-bar.html +++ /dev/null @@ -1,2 +0,0 @@ -
- \ No newline at end of file diff --git a/_includes/disqus.html b/_includes/disqus.html deleted file mode 100644 index 344b7e3..0000000 --- a/_includes/disqus.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index bf9098e..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,9 +0,0 @@ - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 086600a..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - -{% seo %} - - - - - diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 53ddbb3..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,14 +0,0 @@ - -
-
- " %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% assign _lastchar = _pres.last | split: "" | last %}{% assign _outerloop = forloop %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if forloop.last and _lastchar == _LINE_FEED %}{% unless _outerloop.last %}{{ _LINE_FEED }}{% endunless %}{% continue %}{% endif %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "" %}{% endif %}{% unless _pre_before contains "" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " | Step | Bytes |
| raw | {{ content | size }}{% if _profile_endings %} |
| endings | {{ _profile_endings }}{% endif %}{% if _profile_startings %} |
| startings | {{ _profile_startings }}{% endif %}{% if _profile_comments %} |
| comments | {{ _profile_comments }}{% endif %}{% if _profile_collapse %} |
| collapse | {{ _profile_collapse }}{% endif %}{% if _profile_clippings %} |
| clippings | {{ _profile_clippings }}{% endif %} |
We had a great first meetup of 2017, very well attended at ShopKeep Belfast.
+Pete McConnell gave a talk on AWS Lambda.
+Simon Hewitt gave a talk on Alexa and Python - "Parseltongue - Speaking to the Snake".
+Chris Nixon gave a talk on property testing.
+Rehabstudio Belfast
+Philip Herron gave a talk on asyncio. The link to the talk can be found here.
+Code of the mentioned projects:
+ +Date: Tuesday March 24th, 2022 (2022-03-24)
+Time: 6pm (1800)
+Venue: Slice Offices, 14 Castle Street, Belfast (54.59909880408056 N, -5.93103321919092 W)
+Registration: Sign up to the Meetup Event here
+Finally, after a long hiatus, we are excited to announce that PyBelfast is back and ready to host our …
+ read more +We had a great first meetup of 2017, very well attended at ShopKeep Belfast.
+Pete McConnell gave a talk on AWS Lambda.
+Simon Hewitt gave a talk on Alexa and Python - "Parseltongue - Speaking to the Snake".
+Stephen McCullough gave a talk on Django v Rails a non troll talk on what is good and what is bad about both. The talk can be found here.
+Chris Nixon will be presenting a talk on "Extending …
+ read more +ShopKeep Belfast
+Stephen McCullough gave a talk on behave and factory_boy. The links to both talks can be found here
+Paddy Carey gave a talk on building CLI applications with Click. The link to the talk can be found here.
+ read more +Ryan Grieve gave a talk on Websocket experiments in Flask. Unfortunately we can't find any links on this talk.
+ read more +Rehabstudio Belfast
+Philip Herron gave a talk on asyncio. The link to the talk can be found here.
+Code of the mentioned projects:
+ + read more +Date: Tuesday March 24th, 2022 (2022-03-24)
+Time: 6pm (1800)
+Venue: Slice Offices, 14 Castle Street, Belfast (54.59909880408056 N, -5.93103321919092 W)
+Registration: Sign up to the Meetup Event here
+Finally, after a long hiatus, we are excited to announce that PyBelfast is back and ready to host our …
+ read more +We had a great first meetup of 2017, very well attended at ShopKeep Belfast.
+Pete McConnell gave a talk on AWS Lambda.
+Simon Hewitt gave a talk on Alexa and Python - "Parseltongue - Speaking to the Snake".
+Stephen McCullough gave a talk on Django v Rails a non troll talk on what is good and what is bad about both. The talk can be found here.
+Chris Nixon will be presenting a talk on "Extending …
+ read more +ShopKeep Belfast
+Stephen McCullough gave a talk on behave and factory_boy. The links to both talks can be found here
+Paddy Carey gave a talk on building CLI applications with Click. The link to the talk can be found here.
+ read more +Ryan Grieve gave a talk on Websocket experiments in Flask. Unfortunately we can't find any links on this talk.
+ read more +Rehabstudio Belfast
+Philip Herron gave a talk on asyncio. The link to the talk can be found here.
+Code of the mentioned projects:
+ + read more +Stephen McCullough gave a talk on Django v Rails a non troll talk on what is good and what is bad about both. The talk can be found here.
+Chris Nixon will be presenting a talk on "Extending Python with Rust and CFFI" - A Walkthrough of creating a Python package using Mozilla's powerful systems programming language, leveraging a state of the art Python FFI library. The talk can be found here and the source materials here.
+ShopKeep Belfast
+Stephen McCullough gave a talk on behave and factory_boy. The links to both talks can be found here
+Paddy Carey gave a talk on building CLI applications with Click. The link to the talk can be found here.
+Date: Tuesday March 24th, 2022 (2022-03-24)
+Time: 6pm (1800)
+Venue: Slice Offices, 14 Castle Street, Belfast (54.59909880408056 N, -5.93103321919092 W)
+Registration: Sign up to the Meetup Event here
+Finally, after a long hiatus, we are excited to announce that PyBelfast is back and ready to host our …
+ read more +We had a great first meetup of 2017, very well attended at ShopKeep Belfast.
+Pete McConnell gave a talk on AWS Lambda.
+Simon Hewitt gave a talk on Alexa and Python - "Parseltongue - Speaking to the Snake".
+Stephen McCullough gave a talk on Django v Rails a non troll talk on what is good and what is bad about both. The talk can be found here.
+Chris Nixon will be presenting a talk on "Extending …
+ read more +ShopKeep Belfast
+Stephen McCullough gave a talk on behave and factory_boy. The links to both talks can be found here
+Paddy Carey gave a talk on building CLI applications with Click. The link to the talk can be found here.
+ read more +Ryan Grieve gave a talk on Websocket experiments in Flask. Unfortunately we can't find any links on this talk.
+ read more +Rehabstudio Belfast
+Philip Herron gave a talk on asyncio. The link to the talk can be found here.
+Code of the mentioned projects:
+ + read more +pyBelfast is a group of people who use Python in their work or personal +programming projects and like to meet and talk about it.
+We try and meet bi-monthly however this varies. We keep a +meetup page for definitive information.
+Yes we encourage people to talk. Drop by the slack channel and let us know, we +are a very welcoming bunch.
+Pop into the Irish Tech Slack user group and
+join the #pybelfast group. Just say 'hi!'.
Paddy Carey and Stephen +McCullough are the organisers, you can find them +on the slack channel.
+This site was created by Stephen McCullough using Jekyll +(if you don't like it then please change it). Pull Requests for improvements +are encouraged and welcomed. You can see a list of +issues if you want +to tackle one.
+Date: Tuesday March 24th, 2022 (2022-03-24)
+Time: 6pm (1800)
+Venue: Slice Offices, 14 Castle Street, Belfast (54.59909880408056 N, -5.93103321919092 W)
+Registration: Sign up to the Meetup Event here
+Finally, after a long hiatus, we are excited to announce that PyBelfast is back and ready to host our next Python meetup in Belfast at the Slice office space in the city center.
+As always, we welcome returning and new speakers to come to give a talk of any duration (5 minutes to 30) on any Python-related subject.
+Ever think to yourself that a better product or service must exist but you failed to find one? Solving a real problem with technology can often be time-consuming when you first have to go build it. Yet building an MVP in a weekend is an achievable goal when the focus is maintained on the core problem. In this talk, Kyle will explore a solution to how you too can enjoy your comic book collection using a mix of open-source tech and GraphQL.
+While we’re used to thinking of maps and charts as being two-dimensional representations of reality, an alternative approach is to view maps as a graph of vertices (locations) and edges (roads or paths). Using the osnmx library, we’re going to do a short introduction to acquiring, manipulating, analysing, and plotting this stranger perspective on the world around us.
++May include lasers.
+
by Curtis Wilson
+Human brains are hard-wired to derive insights from what we see. Whenever we make a graph or chart or infographic we are trying to trick this system into understanding much more abstract information than “that apple looks good to eat” or “that tiger thinks I look good to eat”. A little insight into how our sense of sight works can help us create visualisations that express the underlying data as accurately as possible (or not, as the case may be).
+If you wish to present a lightning talk, feel free to reach out via Meetup or using either @pybelfast on Twitter or Slack (We are on both the NITech and ITC slacks)
+Date: Monday, April 24th, 2022 (2022-04-25)
+Time: 6pm (1800)
+Venue: Slice Offices, 14 Castle Street, Belfast (54.59909880408056 N, -5.93103321919092 W)
+Registration: Sign up to the Meetup Event here
+After an awesome turnout at our last meetup on Thursday, March 24th, 2022, we are excited to return with the PyBelfast meetup in what will soon become a return to a regular cadence of Python meetups again!
+As always, we welcome returning and new speakers to come to give a talk of any duration (5 minutes to 30) on any Python-related subject.
+An introduction to FastAPI, a modern, high-performance web framework for building APIs with Python 3.6+ based on standard Python type hints.
+Google has once again rewritten the rule book with SRE. As it finally gains momentum in Northern Ireland, I examine why it is such a revolution. The rise of Platform Engineering or PaaS has built upon SRE and DevOps culture to connect services in ways never thought possible. Let me take you through its history, and present and explore how it can help your business.
+by Danielle from (@djangogirlsbel)
+An insight into Django Girls Belfast and the work they do to help create a safe environment where women can explore technology.
+Django Girls Belfast is trans-inclusive and welcome all women from all walks of life. Men are welcome to attend as well. We don't want men out of the IT industry, we want more women in it.
+If you are a woman and between the ages of 18-100 you can apply for a pass to the workshop on the 18th of June 2022, in Puppet Belfast! You don’t need to know any technical stuff - it is a very informal day with coaches on hand to help assist.
+If you wish to present a lightning talk, feel free to reach out via Meetup or using either @pybelfast on Twitter or Slack (We are on both the NITech and ITC slacks)
+Ryan Grieve gave a talk on Websocket experiments in Flask. Unfortunately we can't find any links on this talk.
+