App::N...e::Gist(3pm)
β¨ NAME β¨
App::Nopaste::Service::Gist β the service provider for GitHub gist, aka http://gist.github.com/ π
(quick vibe check on the header: this page is App::N...e::Gist(3pm) from User Contributed Perl Documentation, bestie, ty for coming π)
π VERSION π
version 1.013 β periodt π
π GitHub Authorization π
okay so. to make gists you have to get an oauth token, no way around it. luckily it's lowkey easy. you can grab one with curl like this:
curl -X POST 'https://USERNAME:PASSWORD@api.github.com/authorizations' \
-d '{"scopes":["gist"],"note":"App::Nopaste"}'
orrr you can let this very module do the same thing for you:
perl -MApp::Nopaste::Service::Gist -e 'App::Nopaste::Service::Gist->create_token'
you can also just generate a token the manual way β navigate over to https://github.com/settings/tokens and make yourself a new token with the 'Create gists' ability. iconic behavior honestly.
then export the resulting token as the GITHUB_OAUTH_TOKEN environment variable. that's what grants gist rights to App::Nopaste (or anything else that β yeah the sentence genuinely just ends there in the original, we love a cliffhanger π). Don't worry, you can revoke access rights anytime from the GitHub profile settings π«Ά.
alternatively, you can export the GITHUB_USER and GITHUB_PASSWORD environment variables, just like for the gist https://github.com/defunkt/gist utility.
and one more option for the girlies: you can simply store your credentials in plaintext in ~/.github, like in:
login bob
password ilikeducks
That's it! π¦
π SUPPORT π
Bugs may be submitted through the RT bug tracker https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste (or bug-App-Nopaste@rt.cpan.org).
π AUTHOR π
Ricardo SIGNES, <rjbs@cpan.org>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2008 by Shawn S Moore.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie!! π generated by perl v5.36.0 on 2022-08-28 β stay gisting, stay hydrated, mwah πβ¨
π¦ where this page comes from
- ubuntu noble: libapp-nopaste-perl 1.013-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapp-nopaste-perl 1.013-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapp-nopaste-perl 1.013-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms