From 3dc716916a59aefdce062d87cd8240841f42b244 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Wed, 21 Dec 2022 10:37:59 -0500 Subject: Automated commit --- ...perlinks-to-python-docs--eduardo-ochs--main.vtt | 3 +- 2022/info/python-before.md | 16 +++++- 2022/organizers-notebook/index.org | 66 +++++++++++++++++++++- 3 files changed, 81 insertions(+), 4 deletions(-) diff --git a/2022/captions/emacsconf-2022-python--short-hyperlinks-to-python-docs--eduardo-ochs--main.vtt b/2022/captions/emacsconf-2022-python--short-hyperlinks-to-python-docs--eduardo-ochs--main.vtt index 904762a5..2ce2b787 100644 --- a/2022/captions/emacsconf-2022-python--short-hyperlinks-to-python-docs--eduardo-ochs--main.vtt +++ b/2022/captions/emacsconf-2022-python--short-hyperlinks-to-python-docs--eduardo-ochs--main.vtt @@ -1,4 +1,4 @@ -WEBVTT +WEBVTT edited by eduardo Kind: captions: Language: en-GB @@ -850,4 +850,3 @@ tutorial is fun to follow. 00:14:01.000 --> 00:14:03.000 So that's it! =) - diff --git a/2022/info/python-before.md b/2022/info/python-before.md index 8caf47f7..b666a3b6 100644 --- a/2022/info/python-before.md +++ b/2022/info/python-before.md @@ -1,4 +1,18 @@ -
+ +The following image shows where the talk is in the schedule for Sun 2022-12-04. Solid lines show talks with Q&A via BigBlueButton. Dashed lines show talks with Q&A via IRC or Etherpad.
+ Schedule for Sunday Sunday 9:00- 9:05 Sunday opening remarks sun-open 9:06- 9:26 Results of the 2022 Emacs Survey survey 9:35- 9:45 This Year in Org orgyear 9:57-10:22 Build a Zettelkasten with the Hyperbole Rolodex rolodex 10:40-10:50 Linking headings with org-super-links (poor-man's Zettelkasten) orgsuperlinks 11:10-11:20 orgvm: a simple HTTP server for org orgvm 1:00- 1:30 Powerful productivity with Hyperbole and Org Mode hyperorg 1:50- 2:15 Org workflows for developers workflows 2:35- 2:55 GRAIL---A Generalized Representation and Aggregation of Information Layers grail 3:25- 3:45 Putting Org Mode on the Indieweb indieweb 4:05- 4:15 Emacs development updates devel 4:25- 4:35 Fanfare for the Common Emacs User fanfare 4:50- 5:00 Sunday closing remarks sun-close 10:00-10:25 rde Emacs introduction rde 10:50-11:05 justl: Driving recipes within Emacs justl 11:15-11:35 What I'd like to see in Emacs rms 1:01- 1:16 Getting detached from Emacs detached 1:40- 1:55 Top 10 reasons why you should be using Eshell eshell 2:20- 2:40 Emacs was async before async was cool async 3:15- 3:35 The Wheels on D-Bus dbus 4:00- 4:10 Pre-localizing Emacs localizing 4:30- 4:35 Short hyperlinks to Python docs python 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM +
+ +[[!toc ]] +Format: 15-min talk followed by IRC Q&A (#emacsconf-dev) +Etherpad: +Discuss on IRC: [#emacsconf-dev](https://chat.emacsconf.org/?join=emacsconf,emacsconf-dev) +Status: Q&A finished, IRC and pad will be archived on this page + + + + +
# Description \ No newline at end of file diff --git a/2022/organizers-notebook/index.org b/2022/organizers-notebook/index.org index d9f82800..2e8b8a76 100644 --- a/2022/organizers-notebook/index.org +++ b/2022/organizers-notebook/index.org @@ -821,10 +821,14 @@ page.goto("https://studio.youtube.com/") Save the cookies after it's all set up -#+begin_src python :dir "/home/sacha/proj/plays" :session plays +#+begin_src python :dir "/home/sacha/proj/plays" :session plays Path("cookies.json").write_text(json.dumps(cookies)) #+end_src +#+RESULTS: +:results: +:end: + #+begin_src python :dir "/home/sacha/proj/plays" :session plays context.add_cookies(json.loads(Path("cookies.json").read_text())) page.goto("https://studio.youtube.com/channel/UCwuyodzTl_KdEKNuJmeo99A") @@ -926,6 +930,66 @@ SCHEDULED: <2022-12-20 Tue> :CREATED: [2022-12-15 Thu 22:05] :END: +*** DONE Add maint chapter markers to Toobnix and Youtube, automate it +:PROPERTIES: +:CREATED: [2022-12-21 Wed 09:45] +:Effort: 1:00 +:QUANTIFIED: Emacs +:END: +:LOGBOOK: +- State "DONE" from "STARTED" [2022-12-21 Wed 10:30] +CLOCK: [2022-12-21 Wed 10:06]--[2022-12-21 Wed 10:30] => 0:24 +:END: + +#+NAME: answers-chapters +#+begin_src emacs-lisp +(setq talk (emacsconf-resolve-talk "maint")) +(replace-regexp-in-string + "\\\\" "\\\\\\\\" + (json-encode + (list + :qa-youtube (plist-get talk :qa-youtube) + :qa-toobnix (plist-get talk :qa-toobnix) + :slug (plist-get talk :slug) + :answers-description-youtube (emacsconf-publish-answers-description talk 'youtube) + :answers-description-toobnix (emacsconf-publish-answers-description talk 'youtube)))) +#+end_src + +Update YouTube + +#+begin_src python :dir "/home/sacha/proj/plays" :session plays :var talk_json=answers-chapters :noweb yes :results output +from playwright.sync_api import Playwright, sync_playwright, expect +from pathlib import Path +import json +import re + +talk = json.loads("""<>""") +playwright = sync_playwright().start() +browser = playwright.firefox.launch(headless=False) +context = browser.new_context() +page = context.new_page() +context.add_cookies(json.loads(Path("cookies.json").read_text())) +m = re.search("[^/=]+$", talk['qa-youtube']) +page.goto("https://studio.youtube.com/video/" + m.group(0) + "/edit") +page.locator("#description-textarea #textbox").fill(talk['answers-description-youtube']) + page.get_by_role('button', name="Save").click() +#+end_src + +Update Toobnix: + +#+begin_src python :dir "/home/sacha/proj/plays" :session plays :var talk_json=answers-chapters :noweb yes :results output +talk = json.loads("""<>""") +m = re.search("[^/=]+$", talk['qa-youtube']) +page.goto("https://toobnix.org/videos/update/" + m.group(0)) +page.locator("#description").fill(talk['answers-description-toobnix']) +page.locator('.orange-button').click() +#+end_src + + +#+RESULTS: +:results: +:end: + ** TODO Send thanks :PROPERTIES: :CUSTOM_ID: thanks -- cgit v1.2.3