We've been able to toggle visibility of gists since 2014 (https://github.com/blog/1837-change-the-visibility-of-your-gists), but I just noticed that I can no longer make public gists private. That is, when I edit private gists I still see the "Make Public" button, but not the other way round — there's only a "Delete" button when I edit public gists; the "Make Secret" which should be next to it (as shown in the screencast in the linked blog post) is nowhere to be found. I made a screenshot and a screencast demonstrating the issue, both of which are attached. Could you please confirm this issue? Was this an intentional change, and why? Thank you for your attention.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(version 1) | |
(allow default) | |
(debug deny) | |
(define (home-subpath home-relative-subpath) | |
;; should be able to use something like (param "HOME_DIR") here, but it's not working for me | |
(subpath (string-append "/Users/pete" home-relative-subpath))) | |
;; can't write anywhere or read /Users by default | |
(deny file-write*) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use anyhow::{bail, Result}; | |
use std::sync::{Arc, RwLock}; | |
struct Processor<'a> { | |
callback: Box<dyn FnMut() -> Result<()> + 'a>, | |
} | |
impl<'a> Processor<'a> { | |
fn set_callback(&mut self, c: impl FnMut() -> Result<()> + 'a) { | |
self.callback = Box::new(c); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module EA exposing (..) | |
port ea0 : Int -> Cmd msg | |
port ea1 : Int -> Cmd msg | |
port ea2 : Int -> Cmd msg | |
port ea3 : Int -> Cmd msg | |
port ea4 : Int -> Cmd msg | |
port ea5 : Int -> Cmd msg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- if elm was imperative | |
import Console | |
import Proc | |
type alias Model = | |
{ prompt : String | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Fraction exposing (Fraction, create, toFloat_) | |
-- See https://discourse.elm-lang.org/t/proposal-extending-built-in-typeclasses/5510/2 | |
type Fraction [ number, comparable ] | |
= Fraction Int Int | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module NeverGonna exposing (main) | |
import Html exposing (..) | |
main : Html Never -- gonna give you up | |
main = | |
let | |
neverGonna : List String | |
neverGonna = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I am ashamed for writing this. | |
import inspect; | |
class Cin: | |
""" time to whip out some python magic """ | |
def __rshift__(self, other): | |
# I don't want to require that "other" is declared global. | |
cin = input(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (text) | |
fact : Int -> Int | |
fact n = | |
case n of | |
0 -> 1 | |
1 -> 1 | |
_ -> n * fact(n-1) | |
factorial : Int -> Int |
NewerOlder