Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add linkedin logo in templates.json #2358

Merged
merged 2 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tags": []
},
"source": [
"# ImagineAPI.dev - Generate and Display Image\n",
"# ImagineAPI - Generate and Display Image\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/ImagineAPI.dev/ImagineAPI.dev_Create_Image.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=ImagineAPI.dev+-+Generate+and+Display+Image:+Error+short+description\">Bug report</a>"
]
},
Expand Down Expand Up @@ -347,4 +347,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tags": []
},
"source": [
"# ImagineAPI.dev - Get Image\n",
"# ImagineAPI - Get Image\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/ImagineAPI.dev/ImagineAPI.dev_Get_Image.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=ImagineAPI.dev+-+Get+Image:+Error+short+description\">Bug report</a>"
]
},
Expand Down Expand Up @@ -293,4 +293,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tags": []
},
"source": [
"# ImagineAPI.dev - List Images\n",
"# ImagineAPI - List Images\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/ImagineAPI.dev/ImagineAPI.dev_List_Images.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/Open_in_Naas_Lab.svg\"/></a><br><br><a href=\"https://bit.ly/3JyWIk6\">Give Feedback</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=ImagineAPI.dev+-+List+Images:+Error+short+description\">Bug report</a>"
]
},
Expand Down Expand Up @@ -294,4 +294,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
76 changes: 14 additions & 62 deletions generate_readme.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@
"execution_count": null,
"id": "sitting-directory",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:05.875610Z",
"iopub.status.busy": "2023-11-05T16:46:05.875420Z",
"iopub.status.idle": "2023-11-05T16:46:08.325553Z",
"shell.execute_reply": "2023-11-05T16:46:08.324904Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -93,12 +87,6 @@
"execution_count": null,
"id": "guided-edgar",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.328829Z",
"iopub.status.busy": "2023-11-05T16:46:08.328438Z",
"iopub.status.idle": "2023-11-05T16:46:08.332213Z",
"shell.execute_reply": "2023-11-05T16:46:08.331643Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -139,12 +127,6 @@
"execution_count": null,
"id": "36c9011e-5f51-4779-8062-a627503100e1",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.334921Z",
"iopub.status.busy": "2023-11-05T16:46:08.334555Z",
"iopub.status.idle": "2023-11-05T16:46:08.530772Z",
"shell.execute_reply": "2023-11-05T16:46:08.530186Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -210,12 +192,6 @@
"execution_count": null,
"id": "7fa60d66-a43a-4ba3-abfb-ee1779afdfc3",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.533654Z",
"iopub.status.busy": "2023-11-05T16:46:08.533183Z",
"iopub.status.idle": "2023-11-05T16:46:08.536880Z",
"shell.execute_reply": "2023-11-05T16:46:08.536353Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -250,12 +226,6 @@
"execution_count": null,
"id": "f9a4c7b2-d667-4555-98ed-31786278e947",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.539399Z",
"iopub.status.busy": "2023-11-05T16:46:08.539100Z",
"iopub.status.idle": "2023-11-05T16:46:08.552845Z",
"shell.execute_reply": "2023-11-05T16:46:08.552214Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -385,12 +355,6 @@
"execution_count": null,
"id": "9f21cfbb-2bcc-4bca-81a4-fad14b081371",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.555180Z",
"iopub.status.busy": "2023-11-05T16:46:08.554989Z",
"iopub.status.idle": "2023-11-05T16:46:08.560769Z",
"shell.execute_reply": "2023-11-05T16:46:08.560243Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -478,12 +442,6 @@
"execution_count": null,
"id": "94dcc3bd-07e2-48a3-bf81-a327e940a934",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.563100Z",
"iopub.status.busy": "2023-11-05T16:46:08.562910Z",
"iopub.status.idle": "2023-11-05T16:46:08.566494Z",
"shell.execute_reply": "2023-11-05T16:46:08.565939Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -520,12 +478,6 @@
"execution_count": null,
"id": "e45fc17e-ba5a-4317-92b3-f6de4c1a0bde",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:08.568822Z",
"iopub.status.busy": "2023-11-05T16:46:08.568634Z",
"iopub.status.idle": "2023-11-05T16:46:11.420702Z",
"shell.execute_reply": "2023-11-05T16:46:11.420060Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -572,6 +524,18 @@
" new_title_cell\n",
" )\n",
" print(\"✅ Title cell successfully updated\")\n",
" \n",
" # Image URL\n",
" image_url = \"\"\n",
" aws_url = \"https://media.licdn.com/dms/image/C560BAQER_QnUTXrPJw/company-logo_200_200/0/1670264050886?e=1707350400&v=beta&t=MgLMbMJCebJ3_IYqkifY8XNrz4cp9Z29lDvXa8a0OL0\"\n",
" linkedin_url = \"https://media.licdn.com/dms/image/C560BAQHaVYd13rRz3A/company-logo_200_200/0/1638831589865?e=1707350400&v=beta&t=43UtGFVTYryl189dtNZY69KCroFgdE4gfQEJLBsrbPI\"\n",
" notion_url = \"https://media.licdn.com/dms/image/D560BAQGSOTc29sEYDA/company-logo_200_200/0/1680539341112/notionhq_logo?e=1707350400&v=beta&t=QqIF5DJE51fQ2wQINxrk96YU-sOCQDwWXAjZGH7aZxA\"\n",
" if tool == \"AWS\":\n",
" image_url = aws_url\n",
" if tool == \"LinkedIn\":\n",
" image_url = linkedin_url\n",
" if tool == \"Notion\":\n",
" image_url = notion_url\n",
"\n",
" # Update json\n",
" new_json = {\n",
Expand All @@ -589,7 +553,7 @@
" \"open_in_chat\": open_in_chat,\n",
" \"notebook_url\": html_url,\n",
" \"imports\": imports,\n",
" \"image_url\": \"\",\n",
" \"image_url\": image_url,\n",
" }\n",
" json_templates.append(new_json)\n",
" \n",
Expand Down Expand Up @@ -623,12 +587,6 @@
"execution_count": null,
"id": "younger-consensus",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:11.423645Z",
"iopub.status.busy": "2023-11-05T16:46:11.423178Z",
"iopub.status.idle": "2023-11-05T16:46:11.428571Z",
"shell.execute_reply": "2023-11-05T16:46:11.428074Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -660,12 +618,6 @@
"execution_count": null,
"id": "2a95cba3-027c-4a57-8bfa-2ee1e9053bb7",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-05T16:46:11.430855Z",
"iopub.status.busy": "2023-11-05T16:46:11.430663Z",
"iopub.status.idle": "2023-11-05T16:46:11.461815Z",
"shell.execute_reply": "2023-11-05T16:46:11.461259Z"
},
"tags": []
},
"outputs": [],
Expand Down Expand Up @@ -704,7 +656,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.9.6"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
Expand Down
Loading