Skip to content

Instantly share code, notes, and snippets.

View MaxwellBo's full-sized avatar
🎈
please do not swear on my profile thanks

Max Bo MaxwellBo

🎈
please do not swear on my profile thanks
View GitHub Profile
@MaxwellBo
MaxwellBo / PlayRss.scala
Created July 6, 2017 23:24 — forked from crudh/PlayRss.scala
Scala/Play RSS example
def rss = Action { implicit request =>
Ok(
<rss version="2.0">
<channel>
<title>News Application</title>
<link>{ routes.Application.index.absoluteURL(false) }</link>
<description>News Application</description>
{ NewsArticle.all.map { newsArticle =>
<item>
<title>{ newsArticle.title }</title>
@MaxwellBo
MaxwellBo / .git-commit-template.txt
Last active July 25, 2016 05:03 — forked from adeekshith/.git-commit-template.txt
A Git commit template to make it easy to enforce a good and uniform commit message style across teams.
# |<--- ^ <emoji>? <type>: <subject> ^ --->|
# |<--- v Explain why this change is being made v --->|
# |<--- v Provide links to tickets, issues or other resources v --->|
# --- COMMIT END ---