Difference between revisions of "@bazbt3/Sandbox"
(Bazbt3 moved page @bazbt3/Sandbox to @bazbt3/Sandbox/EventCode: Created hierarchy: @bazbt3/Sandbox/EventCode subpage) |
(Added app GitHub link) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Template:Banner|'''♻️'''|'''Test pages and other stuff''' for inclusion into this wiki and for enhancing use of pnut.io.}} | |
+ | === Likely to remain static once implemented === | ||
+ | * [[@bazbt3/Sandbox/EventToday]] - a tiny bit of code (compared to the following humongous thing) to automatically display the day's event(s) at the main page. It's really quite trivial but I'm hoping to build in it. | ||
+ | : - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=EventToday&rev1=&page2=%40bazbt3%2FSandbox%2FEventToday&rev2=&action=&diffonly=&unhide= here.] | ||
+ | * [[@bazbt3/Sandbox/EventCode]] - an automated event display/listing. Started for the [[14 October 2017]] '''[[Hackathon]]''' the code, ''copied from my previous work at the ADN wiki'', is rough and difficult to follow, and thus unsuitable for casual editing. It has bugs. | ||
+ | |||
+ | === Dynamic === | ||
+ | I need to remember to paste the live pages' contents into the test pages each time to accurately replicate what's likely to happen. | ||
+ | * [[@bazbt3/Sandbox/Events]] - to test the effects of transcluded pages.<br> | ||
+ | : - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=Events&rev1=&page2=%40bazbt3%2FSandbox%2FEvents&rev2=&action=&diffonly=&unhide= here.] | ||
+ | * [[@bazbt3/Sandbox/MainPage]] - to test new layouts and the effects of transcluded pages. | ||
+ | : - Compare live vs test [https://wiki.pnut.io/Special:ComparePages?page1=Main+Page&rev1=&page2=%40bazbt3%2FSandbox%2FMainPage&rev2=&action=&diffonly=&unhide= here.] | ||
+ | |||
+ | === Programming === | ||
+ | I decided to have a go with [[PNUTpy]], [[@thrrgilag]]'s Python library for interacting with pnut.io. | ||
+ | *First steps: | ||
+ | ** I need a name for the app; peanut related, obviously. | ||
+ | ** I'll need an access token from here: https://pnut.io/dev | ||
+ | * Links: | ||
+ | ** PNUTpy: https://github.com/pnut-api/PNUTpy | ||
+ | ** Pythonista Python development IDE for iOS: http://omz-software.com/pythonista/ | ||
+ | ** A gist with instructions to install a bash-like shell for Pythonista (needed to install pip before installing PNUTpy: https://gist.github.com/CodyKochmann/4d6b40e77ba862e634185a038d2c3f13 | ||
+ | * '''I started an app: https://github.com/bazbt3/PigPen ''' - rudimentary it is. |
Latest revision as of 23:12, 28 October 2017
♻️ |
Test pages and other stuff for inclusion into this wiki and for enhancing use of pnut.io. |
Likely to remain static once implemented
- @bazbt3/Sandbox/EventToday - a tiny bit of code (compared to the following humongous thing) to automatically display the day's event(s) at the main page. It's really quite trivial but I'm hoping to build in it.
- - Compare live vs test here.
- @bazbt3/Sandbox/EventCode - an automated event display/listing. Started for the 14 October 2017 Hackathon the code, copied from my previous work at the ADN wiki, is rough and difficult to follow, and thus unsuitable for casual editing. It has bugs.
Dynamic
I need to remember to paste the live pages' contents into the test pages each time to accurately replicate what's likely to happen.
- @bazbt3/Sandbox/Events - to test the effects of transcluded pages.
- - Compare live vs test here.
- @bazbt3/Sandbox/MainPage - to test new layouts and the effects of transcluded pages.
- - Compare live vs test here.
Programming
I decided to have a go with PNUTpy, @thrrgilag's Python library for interacting with pnut.io.
- First steps:
- I need a name for the app; peanut related, obviously.
- I'll need an access token from here: https://pnut.io/dev
- Links:
- PNUTpy: https://github.com/pnut-api/PNUTpy
- Pythonista Python development IDE for iOS: http://omz-software.com/pythonista/
- A gist with instructions to install a bash-like shell for Pythonista (needed to install pip before installing PNUTpy: https://gist.github.com/CodyKochmann/4d6b40e77ba862e634185a038d2c3f13
- I started an app: https://github.com/bazbt3/PigPen - rudimentary it is.