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

Weekly-325 #375

Open
github-actions bot opened this issue Oct 30, 2023 · 4 comments
Open

Weekly-325 #375

github-actions bot opened this issue Oct 30, 2023 · 4 comments
Assignees
Labels

Comments

@github-actions
Copy link

联合周报第 325 期开始投稿 🎉

@at15
Copy link
Member

at15 commented Nov 16, 2023

https://gist.github.com/idan/325676d192b32f169b032fde2d866c2c#github-next--technical-preview-sunsets

github blocks ... is already shutting down ....

With regards to GitHub Blocks, blocks.githubnext.com will no longer work once the technical preview concludes and we will not make Blocks into a full GitHub product. Blocks was an exciting experiment and thanks to your feedback, we learned a lot about how we might add extensibility to GitHub.com. We expect GitHub will continue to explore this capability in the future, but for now we’re focusing our efforts on other areas.

@at15
Copy link
Member

at15 commented Nov 18, 2023

TIL there are postgres extension for sending http requests using postgres's cron https://github.com/supabase/pg_net
https://typesense.org/docs/guide/supabase-full-text-search.html#step-4-understanding-scheduling-in-supabase

SELECT
  cron.schedule(
    'cron-job-name',
    '* * * * *', -- Executes every minute (cron syntax)
	$$
    -- SQL query
    SELECT net.http_get(
        -- URL of Supabase Edge function
        url:='https://<reference id>.functions.Supabase.co/Typesense-example',
        headers:='{
            "Content-Type": "application/json", 
            "Authorization": "Bearer <TOKEN>"
        }'::JSONB
    ) as request_id;
	$$
  );

@at15
Copy link
Member

at15 commented Mar 7, 2024

@at15
Copy link
Member

at15 commented Apr 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant