GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  APP::NOPASTE::SERVICE::GIST (3)

.ds Aq ’

NAME

App::Nopaste::Service::Gist - Service provider for GitHub gist - http://gist.github.com/

CONTENTS

VERSION

version 1.004

GitHub Authorization

In order to create gists you have to get an oauth token. That could be easily obtained via curl:



    curl -X POST https://USERNAME:PASSWORD@api.github.com/authorizations \
        -d {"scopes":["gist"],"note":"App::Nopaste"}



or you can use this module to do the same:



    perl -MApp::Nopaste::Service::Gist -e App::Nopaste::Service::Gist->create_token



This will grant gist rights to the App::Nopaste, don’t worry you can revoke access rights anytime from the GitHub profile settings. Search for token in response and export it as GITHUB_OAUTH_TOKEN environment variable.

Alternatively, you can export the GITHUB_USER and GITHUB_PASSWORD environment variables, just like for the gist <https://github.com/defunkt/gist> utility.

That’s it!

AUTHOR

Ricardo SIGNES, <rjbs@cpan.org>

AUTHOR

Shawn M Moore, <sartak@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2008 by Shawn M 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 APP::NOPASTE::SERVICE::GIST (3) 2015-03-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.