Cal-CS-61A-Staff / 61a-code

Web-based IDE for Python, Scheme, and SQL intended for students taking CS 61A.
MIT License
7 stars 9 forks source link

How to load e01.py #15

Closed papajohn closed 5 years ago

papajohn commented 5 years ago

I'd like to generate a link in the extra lecture page to https://cs61a.org/assets/slides/e01.py, but I'm not sure what that link should be. I tried the following, but they didn't work. Thanks!

https://code.cs61a.org/lece01 https://code.cs61a.org/e01

rahularya50 commented 5 years ago

Hi Prof. DeNero,

The links are configurable at https://code.cs61a.org/api/_registry - I've added a link to the extra lecture.

But as it turns out, it seems that the extra lecture code is exceeding the length limit for cookies, which is how I load files. I'll fix this ASAP (tonight), so the link should be ready for tomorrow.

papajohn commented 5 years ago

Thanks!

On Wed, Sep 4, 2019 at 7:52 PM Rahul Arya notifications@github.com wrote:

Hi Prof. DeNero,

The links are configurable at code.cs61a.org/api/_registry - I've added a link to the extra lecture.

But as it turns out, it seems that the extra lecture code is exceeding the length limit for cookies, which is how I load files. I'll fix this ASAP (tonight), so the link should be ready for tomorrow.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cal-CS-61A-Staff/61a-editor/issues/15?email_source=notifications&email_token=AACOFENZIQF3R75ZLUFBQRTQIBX5PA5CNFSM4ITYWLVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD55UXCI#issuecomment-528173961, or mute the thread https://github.com/notifications/unsubscribe-auth/AACOFEKLXE3ZFWKJ3LLFQDDQIBX5PANCNFSM4ITYWLVA .

rahularya50 commented 5 years ago

Alright, https://code.cs61a.org/e01 should work now (though the link isn't yet on the extra lectures page on cs61a.org).

If you've tried the link before, then it may be cached and so will not work. Please try clearing your cache and accessing the link again, and hopefully it should start working!

rahularya50 commented 5 years ago

This PR makes the extra lectures on the homepage link up to code.cs61a.org correctly: https://github.com/Cal-CS-61A-Staff/berkeley-cs61a/pull/2720

rahularya50 commented 5 years ago

The link format has been changed. It's now just code.cs61a.org/<filename> - e.g. code.cs61a.org/01.py. All previous links will continue to work.