Coder Social home page Coder Social logo

Comments (9)

jdowner avatar jdowner commented on May 26, 2024

You can specify whether you want to create a private or a public gist but do you mean toggling between the two?

from gist.

jarun avatar jarun commented on May 26, 2024

Right. Is there a way to toggle between private and public after the gist is created?

from gist.

jdowner avatar jdowner commented on May 26, 2024

I've had a quick look at the API but it wasn't clear if that is publically available. It can obviously done via the website so it is possible. I'll do some more research and see if I can figure something out.

from gist.

jarun avatar jarun commented on May 26, 2024

It might be. The official Ruby client can mark a gist private:
https://github.com/defunkt/gist#readme

Please check the -p option.

from gist.

jarun avatar jarun commented on May 26, 2024

On a closer look, I guess that's also a creation-time option.

from gist.

jdowner avatar jdowner commented on May 26, 2024

I talked with github support and they confirm that this is not available in the current API.

from gist.

jarun avatar jarun commented on May 26, 2024

Thanks for looking into the options!

On Fri, Feb 20, 2015 at 6:39 PM, Joshua Downer [email protected]
wrote:

I talked with github support and they confirm that this is not available
in the current API.

Reply to this email directly or view it on GitHub
#2 (comment).

from gist.

jdowner avatar jdowner commented on May 26, 2024

@jarun thanks for the write up :) Just wanted to also point out that I have added an 'edit' command to work with the users default editor. It is pretty rudimentary but functional (for me). However, I suspect that it will be useful to have the editor specified as an option in the config file to allow users to customize how their editor is invoked to edit the files. Also, this functionality is now available from 'gist create' so that you can create a gist entirely on the fly.

from gist.

jarun avatar jarun commented on May 26, 2024

My pleasure! I will update the article. I am a heavy private gist user myself and I liked this tool. :)

from gist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.