This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivymd.app import MDApp | |
from kivy.lang import Builder | |
from kivy.properties import ObjectProperty | |
from kivymd.uix.dialog import MDDialog | |
from kivymd.uix.button import MDFlatButton | |
kv = """ | |
Screen: | |
in_class: text | |
MDLabel: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivymd.app import MDApp | |
from kivy.lang import Builder | |
kv = """ | |
Screen: | |
ScrollView: | |
MDList: | |
OneLineListItem: | |
text: "Single-line item" | |
TwoLineListItem: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivymd.app import MDApp | |
from kivy.lang import Builder | |
from kivymd.uix.datatables import MDDataTable | |
from kivy.metrics import dp | |
kv = """ | |
Screen: | |
MDRectangleFlatButton: | |
text: 'Click me to get table contents' | |
pos_hint: {'center_x': 0.5, 'center_y': 0.5} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kv = """ | |
Screen: | |
BoxLayout: | |
orientation: 'vertical' | |
MDToolbar: | |
title: "MDToolbar" | |
left_action_items: [["menu", lambda x: nav_draw.set_state()]] | |
Widget: | |
NavigationLayout: | |
ScreenManager: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from github import Github | |
git = Github("TOKEN HERE") | |
user_object = git.get_user() | |
git_username = user_object.login | |
user_data = {'username': git_username, | |
'git_photo_url': user_object.avatar_url, | |
'git_bio': user_object.bio, | |
'git_email': user_object.email, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3 | |
RUN pip install -Iv PyGithub==1.53 | |
COPY ./ /gen_index | |
ENTRYPOINT ["python", "/gen_index/generate_index.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest portfolio | |
on: | |
schedule: | |
# Runs at the end of every day. | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
job_1: | |
name: update-index-with-project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest blog post workflow | |
on: | |
push: # Everytime index.html is pushed, this action runs and updates the blogs section! | |
jobs: | |
update-readme-with-blog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: gautamkrishnar/blog-post-workflow@master |