Difference between revisions of "@bazbt3/Sandbox"
m (Added items to list) |
(Added app GitHub link) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Template:Banner|'''♻️'''|'''Test pages''' for inclusion into this wiki.}} | + | {{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 === | === Likely to remain static once implemented === | ||
− | * [[@bazbt3/Sandbox/EventToday]] - a tiny bit of code (compared to the following humongous thing) to automatically display | + | * [[@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. | * [[@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 === | === 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. | 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. | + | * [[@bazbt3/Sandbox/Events]] - to test the effects of transcluded pages.<br> |
− | * [[@bazbt3/Sandbox/MainPage]] - to test new layouts and the effects of transcluded pages | + | : - 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.