diff --git a/.github/workflows/issue2project.yml b/.github/workflows/issue2project.yml
index a2f48ff..3e51071 100644
--- a/.github/workflows/issue2project.yml
+++ b/.github/workflows/issue2project.yml
@@ -12,8 +12,6 @@ jobs:
steps:
- uses: actions/add-to-project@v1.0.1
with:
- # You can target a project in a different organization
- # to the issue
project-url: https://github.com/users/sergiorgiraldo/projects/3
github-token: ${{ secrets.GH_PAT_PHD }}
labeled: search, analyze, refine, write, teacher, decide, review
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index 850cbe6..b22ba5d 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -1,54 +1,37 @@
-# This workflow uses actions that are not certified by GitHub.
-# They are provided by a third-party and are governed by
-# separate terms of service, privacy policy, and support
-# documentation.
-
-# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages
on:
- # Runs on pushes targeting the default branch
push:
branches: ["main"]
- # Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
-# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
-# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
- # Build job
build:
runs-on: ubuntu-latest
steps:
- name: Get site source
uses: actions/checkout@v3
- name: Upload artifact
- # Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
- # Deploy job
deploy:
- # Add a dependency to the build job
needs: build
- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
- pages: write # to deploy to Pages
- id-token: write # to verify the deployment originates from an appropriate source
+ pages: write
+ id-token: write
- # Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
- # Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
\ No newline at end of file
+ uses: actions/deploy-pages@v4
\ No newline at end of file
diff --git a/ITERATION b/ITERATION
index cc5ed63..7547e44 100644
--- a/ITERATION
+++ b/ITERATION
@@ -1 +1 @@
-0.0.147
+0.0.148
diff --git a/README.md b/README.md
index d7d12ff..6677460 100644
--- a/README.md
+++ b/README.md
@@ -16,8 +16,8 @@ https://github.com/users/sergiorgiraldo/projects/3
*status*
+![Static Badge](https://img.shields.io/badge/Doing-1-green?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/Prioritized-1-blue?style=for-the-badge)
-
-![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)
diff --git a/_site/about/index.html b/_site/about/index.html
index e745e04..a523605 100644
--- a/_site/about/index.html
+++ b/_site/about/index.html
@@ -51,12 +51,12 @@
diff --git a/_site/feed.xml b/_site/feed.xml
index 1779095..a292d35 100644
--- a/_site/feed.xml
+++ b/_site/feed.xml
@@ -1,4 +1,4 @@
-Jekyll2024-05-13T21:45:42+02:00https://sergiorgiraldo.github.io/phd/feed.xmlPHD SRG.Sergio Giraldo, PhD student.Sergio GiraldoAI Based Banking Data Analysis with a Design Thinking Approach2024-05-09T14:54:36+02:002024-05-09T14:54:36+02:00https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-ThinkSergio GiraldoLeiden2024-05-05T22:37:00+02:002024-05-05T22:37:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leidenFaculty of Science
]]>Sergio GiraldoErasmus Rotterdam2024-05-05T22:34:00+02:002024-05-05T22:34:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmusI couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]>Sergio GiraldoUniversity of Amsterdam - UvA2024-05-05T22:28:00+02:002024-05-05T22:28:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdamI couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]>Sergio GiraldoDesign Thinking Topics2024-05-03T17:02:00+02:002024-05-03T17:02:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/03/homedt2024-05-08
+Jekyll2024-05-13T22:01:43+02:00https://sergiorgiraldo.github.io/phd/feed.xmlPHD SRG.Sergio Giraldo, PhD student.Sergio GiraldoAI Based Banking Data Analysis with a Design Thinking Approach2024-05-09T14:54:36+02:002024-05-09T14:54:36+02:00https://sergiorgiraldo.github.io/phd/2024/05/09/AI-Based-Banking-Data-Analysis-with-a-Design-ThinkSergio GiraldoLeiden2024-05-05T22:37:00+02:002024-05-05T22:37:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-leidenFaculty of Science]]>Sergio GiraldoErasmus Rotterdam2024-05-05T22:34:00+02:002024-05-05T22:34:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-erasmusI couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]>Sergio GiraldoUniversity of Amsterdam - UvA2024-05-05T22:28:00+02:002024-05-05T22:28:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/05/uni-amsterdamI couldnt find a suitable program in the topics I chose. I’ll try again by EOY, maybe new fields arise.]]>Sergio GiraldoDesign Thinking Topics2024-05-03T17:02:00+02:002024-05-03T17:02:00+02:00https://sergiorgiraldo.github.io/phd/2024/05/03/homedt2024-05-08
diff --git a/docs/about.md b/docs/about.md
index f38d599..90686e3 100644
--- a/docs/about.md
+++ b/docs/about.md
@@ -10,8 +10,8 @@ permalink: /about/
[Follow](https://github.com/users/sergiorgiraldo/projects/3)
+![Static Badge](https://img.shields.io/badge/Doing-1-green?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/Prioritized-1-blue?style=for-the-badge)
-
-![Static Badge](https://img.shields.io/badge/Doing-1-green?style=for-the-badge)
diff --git a/newpost b/newpost
index 667b74c..d3dc4ff 100755
--- a/newpost
+++ b/newpost
@@ -6,9 +6,9 @@ from datetime import datetime, timedelta, timezone
def main(args):
if len(args) < 3:
- print('usage: newpost ')
- print('title should be quoted')
- print('categories should be quoted and separated by commas')
+ print("usage: newpost ")
+ print("title should be quoted")
+ print("categories should be quoted and separated by commas")
sys.exit(2)
name = args[0]
@@ -25,14 +25,14 @@ def main(args):
short_dt = now.strftime("%Y-%m-%d")
full_dt = now.strftime("%Y-%m-%d %H:%M:%S %z")
- with open('docs/_posts/' + short_dt + '-' + name + '.md', 'w') as f:
- f.write('---\n')
- f.write('layout: post\n')
- f.write('title: "' + title + '"\n')
- f.write('date: ' + full_dt + '\n')
- f.write('categories: [' + cats + ']\n')
- f.write('---\n\n')
+ with open("docs/_posts/" + short_dt + "-" + name + ".md", "w") as f:
+ f.write("---\n")
+ f.write("layout: post\n")
+ f.write("title: "" + title + ""\n")
+ f.write("date: " + full_dt + "\n")
+ f.write("categories: [" + cats + "]\n")
+ f.write("---\n\n")
-if __name__ == '__main__':
+if __name__ == "__main__":
main(sys.argv[1:])
diff --git a/newreview b/newreview
index bbf308a..670cd15 100755
--- a/newreview
+++ b/newreview
@@ -5,19 +5,18 @@ from datetime import datetime, timedelta, timezone
import requests
import re
-
def main(args):
if len(args) < 3:
- print('usage: newreview ')
- print('title should be quoted')
- print('categories should be quoted and separated by commas')
+ print("usage: newreview ")
+ print("title should be quoted")
+ print("categories should be quoted and separated by commas")
sys.exit(2)
title = args[0]
name = get_name(title)
doi = args[1]
cats = args[2]
- cite = ''
+ cite = ""
now_ = datetime.now(timezone.utc)
tz_offset = timezone(timedelta(hours=3)) # NL
@@ -34,24 +33,24 @@ def main(args):
headers = {"Accept": "text/x-bibliography; style=apa"}
response = requests.get(url, headers=headers, allow_redirects=True)
- cite = response.text if response.status_code == 200 else 'error retrieving cite'
+ cite = response.text if response.status_code == 200 else "error retrieving cite"
- with open('docs/_posts/' + short_dt + '-' + name + '.md', 'w') as f:
- f.write('---\n')
- f.write('layout: review\n')
- f.write('title: "' + title + '"\n')
- f.write('doi: "' + doi + '"\n')
- f.write('cite: "' + cite + '"\n')
- f.write('date: ' + full_dt + '\n')
- f.write('categories: [' + cats + ']\n')
- f.write('---\n\n')
+ with open("docs/_posts/" + short_dt + "-" + name + ".md", "w") as f:
+ f.write("---\n")
+ f.write("layout: review\n")
+ f.write("title: "" + title + ""\n")
+ f.write("doi: "" + doi + ""\n")
+ f.write("cite: "" + cite + ""\n")
+ f.write("date: " + full_dt + "\n")
+ f.write("categories: [" + cats + "]\n")
+ f.write("---\n\n")
def get_name(title):
- cleaned_title = re.sub(r'\s+', '-', title)
+ cleaned_title = re.sub(r"\s+", "-", title)
return cleaned_title[:50] if len(cleaned_title) > 50 else cleaned_title
-if __name__ == '__main__':
+if __name__ == "__main__":
main(sys.argv[1:])
diff --git a/queryproject b/queryproject
index e8378ba..9d13079 100755
--- a/queryproject
+++ b/queryproject
@@ -3,7 +3,6 @@
import subprocess
import json
-# Execute the command-line command
command = """
gh api graphql -f query='
query{
@@ -11,22 +10,8 @@ gh api graphql -f query='
... on ProjectV2 {
items(first: 20) {
nodes{
- fieldValues(last: 5) {
+ fieldValues(last: 1) {
nodes{
- ... on ProjectV2ItemFieldTextValue {
- field {
- ... on ProjectV2FieldCommon {
- name
- }
- }
- }
- ... on ProjectV2ItemFieldDateValue {
- field {
- ... on ProjectV2FieldCommon {
- name
- }
- }
- }
... on ProjectV2ItemFieldSingleSelectValue {
name
field {
@@ -84,6 +69,5 @@ if result.returncode == 0:
print("\n\n".join(badges))
else:
- # Handle command execution error
- error_message = result.stderr.decode('utf-8')
+ error_message = result.stderr.decode("utf-8")
print(f"Error: {error_message}")
\ No newline at end of file