Skip to content

Commit

Permalink
feat: badges for the project
Browse files Browse the repository at this point in the history
::by sergio giraldo
@ 20240513T2124CEST, gpg signed
  • Loading branch information
sergiorgiraldo committed May 13, 2024
1 parent dcd464f commit 8fd51d2
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 28 deletions.
2 changes: 1 addition & 1 deletion ITERATION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.140
0.0.141
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ https://github.com/users/sergiorgiraldo/projects/3

*status*

![Static Badge](https://img.shields.io/badge/Backlog-2-red?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Prioritized-1-blue?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Backlog-2-red?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)
8 changes: 2 additions & 6 deletions _site/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,10 @@
</header><div class="px-4 py-2 desktop:px-0 page">
<h2 class="mb-6 mt-0 desktop:text-h4 text-h5 font-bold">About</h2>

<p>
<pre>
Sergio Giraldo, PhD student.
</p>

<pre>
My journey.
May 2024 -> ...
</pre>

</div><div class="border-t border-porcelain py-4 text-caption">
<div class="text-center desktop:flex desktop:justify-between space-y-2">
<p>
Expand Down
3 changes: 1 addition & 2 deletions _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://sergiorgiraldo.github.io/phd/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sergiorgiraldo.github.io/phd/" rel="alternate" type="text/html" /><updated>2024-05-13T21:07:11+02:00</updated><id>https://sergiorgiraldo.github.io/phd/feed.xml</id><title type="html">PHD SRG.</title><subtitle>My journey.
May 2024 -&gt; ...</subtitle><author><name>Sergio Giraldo</name></author><entry><title type="html">AI Based Banking Data Analysis with a Design Thinking Approach</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html" rel="alternate" type="text/html" title="AI Based Banking Data Analysis with a Design Thinking Approach" /><published>2024-05-09T14:54:36+02:00</published><updated>2024-05-09T14:54:36+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html"><![CDATA[]]></content><author><name>Sergio Giraldo</name></author><category term="design-thinking" /><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">Leiden</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html" rel="alternate" type="text/html" title="Leiden" /><published>2024-05-05T22:37:00+02:00</published><updated>2024-05-05T22:37:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html"><![CDATA[<p><a href="https://www.universiteitleiden.nl/en/science/graduate-school-of-science">Faculty of Science</a></p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[Faculty of Science]]></summary></entry><entry><title type="html">Erasmus Rotterdam</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html" rel="alternate" type="text/html" title="Erasmus Rotterdam" /><published>2024-05-05T22:34:00+02:00</published><updated>2024-05-05T22:34:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">University of Amsterdam - UvA</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html" rel="alternate" type="text/html" title="University of Amsterdam - UvA" /><published>2024-05-05T22:28:00+02:00</published><updated>2024-05-05T22:28:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">Design Thinking Topics</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html" rel="alternate" type="text/html" title="Design Thinking Topics" /><published>2024-05-03T17:02:00+02:00</published><updated>2024-05-03T17:02:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/03/homedt</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html"><![CDATA[<h4 id="2024-05-08">2024-05-08</h4>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://sergiorgiraldo.github.io/phd/feed.xml" rel="self" type="application/atom+xml" /><link href="https://sergiorgiraldo.github.io/phd/" rel="alternate" type="text/html" /><updated>2024-05-13T21:24:27+02:00</updated><id>https://sergiorgiraldo.github.io/phd/feed.xml</id><title type="html">PHD SRG.</title><subtitle>Sergio Giraldo, PhD student.</subtitle><author><name>Sergio Giraldo</name></author><entry><title type="html">AI Based Banking Data Analysis with a Design Thinking Approach</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html" rel="alternate" type="text/html" title="AI Based Banking Data Analysis with a Design Thinking Approach" /><published>2024-05-09T14:54:36+02:00</published><updated>2024-05-09T14:54:36+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-Think.html"><![CDATA[]]></content><author><name>Sergio Giraldo</name></author><category term="design-thinking" /><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">Leiden</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html" rel="alternate" type="text/html" title="Leiden" /><published>2024-05-05T22:37:00+02:00</published><updated>2024-05-05T22:37:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leiden.html"><![CDATA[<p><a href="https://www.universiteitleiden.nl/en/science/graduate-school-of-science">Faculty of Science</a></p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[Faculty of Science]]></summary></entry><entry><title type="html">Erasmus Rotterdam</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html" rel="alternate" type="text/html" title="Erasmus Rotterdam" /><published>2024-05-05T22:34:00+02:00</published><updated>2024-05-05T22:34:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmus.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">University of Amsterdam - UvA</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html" rel="alternate" type="text/html" title="University of Amsterdam - UvA" /><published>2024-05-05T22:28:00+02:00</published><updated>2024-05-05T22:28:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdam.html"><![CDATA[<p>I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.</p>]]></content><author><name>Sergio Giraldo</name></author><category term="unis" /><summary type="html"><![CDATA[I couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]></summary></entry><entry><title type="html">Design Thinking Topics</title><link href="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html" rel="alternate" type="text/html" title="Design Thinking Topics" /><published>2024-05-03T17:02:00+02:00</published><updated>2024-05-03T17:02:00+02:00</updated><id>https://sergiorgiraldo.github.io/phd/2024/05/03/homedt</id><content type="html" xml:base="https://sergiorgiraldo.github.io/phd/2024/05/03/homedt.html"><![CDATA[<h4 id="2024-05-08">2024-05-08</h4>

<ul>
<li>
Expand Down
5 changes: 2 additions & 3 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ title: PHD SRG.
subtitle: Research
email: sergiorgiraldo@gmail.com
description: >- # this means to ignore newlines until "baseurl:"
My journey.
May 2024 -> ...
Sergio Giraldo, PhD student.
baseurl: "/phd"
url: "https://sergiorgiraldo.github.io"
author: Sergio Giraldo
Expand Down
16 changes: 11 additions & 5 deletions docs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
permalink: /about/
---

<p>
Sergio Giraldo, PhD student.
</p>

<pre>
{{ site.description }}
</pre>
</pre>

<h2>Project</h2>

<a href="https://github.com/users/sergiorgiraldo/projects/3" target="_blank">Follow</a>

![Static Badge](https://img.shields.io/badge/Prioritized-1-blue?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Backlog-2-red?style=for-the-badge)

![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)
12 changes: 3 additions & 9 deletions queryproject
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,23 @@ gh api graphql -f query='
"""
result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

# Check if the command executed successfully
if result.returncode == 0:
# Decode the output from bytes to string
output = result.stdout.decode("utf-8")

# Parse the output as JSON
json_data = json.loads(output)

statuses = set()
status_counts = {}

items = (json_data["data"]["node"]["items"]["nodes"])
for item in items:
title_ = item["content"]["title"]
status = item["fieldValues"]["nodes"][-1]["name"]
statuses.add(status)

# Increment the count for the current status
statuses.add(status)

status_counts[status] = status_counts.get(status, 0) + 1

# print(item["fieldValues"]["nodes"][-1]["name"])
# print("-")
# print((item["content"]["title"]))
# print("\n--------\n")

badges = []

Expand Down
File renamed without changes.
15 changes: 15 additions & 0 deletions templates/about.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
layout: page
title: About
permalink: /about/
---

<pre>
{{ site.description }}
</pre>

<h2>Project</h2>

<a href="https://github.com/users/sergiorgiraldo/projects/3" target="_blank">Follow</a>

badges

0 comments on commit 8fd51d2

Please sign in to comment.