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.
![gist-unable-to-make-secret](https://cloud.githubusercontent.com/assets/4149852/16898407/c76db210-4c0b-11e6-9108-0450f1edebb4.gif)#!/bin/sh | |
# | |
# This is a simple alternative to /usr/bin/lsb_release which | |
# doesn't require python. | |
# | |
# If /etc/os-release exists then we use that to output data | |
# in a compatible format to the original lsb_release utility. | |
# | |
# I consider this script trivial enough to be in the public-domain, | |
# but any patches or suggestsions will be welcome. |
-- betterchapters.lua | |
-- Loads the next or previous playlist entry if there are no more chapters in the seek direction. | |
-- To bind in input.conf, use: <keybind> script_binding <keybind name> | |
-- Keybind names: chapter_next, chapter_prev | |
-- Recommended to use with autoload.lua | |
function chapter_seek(direction) | |
local chapters = mp.get_property_number("chapters") | |
local chapter = mp.get_property_number("chapter") | |
if chapter == nil then chapter = 0 end |
Macro hygiene is the concept of macros that work in all contexts; they don't affect and aren't affected by anything around them. Ideally all macros would be fully hygienic, but there are lots of pitfalls and traps that make it all too easy to accidentally write unhygienic macros. This guide attempts to provide a comprehensive resource for writing the most hygienic macros.
First, a little aside on the details of Rust's module system, and specifically paths; it is
// ==UserScript== | |
// @name Native Dark Messenger | |
// @namespace https://github.com/Damperen | |
// @version 1.9.5 | |
// @description Almost Native dark mode for Messenger | |
// @author https://github.com/Damperen | |
// @match https://www.messenger.com/* | |
// @grant none | |
// @run-at document-idle | |
// @icon https://i.imgur.com/VNn3FEX.png |
To update the BIOS/UEFI firmware requires HP-specific files in the EFI System Partition, also referred to as ESP.
On a Linux system, the ESP is typically mounted on /boot/efi
or /efi
. Whithin you should also find a EFI
directory, e.g. /boot/efi/EFI
or /efi/EFI
. This article assumes that the ESP is mounted on /efi
and that the /efi/EFI
directory exists. You can replace that with the mount point your system uses.
The HP-specific files are located in /efi/EFI/HP
or /efi/EFI/Hewlet-Packard
. These files typically come preinstalled in HP Windows PCs. If you have these files you could skip Install HP-specific files.
""" | |
MIT License | |
Copyright (c) 2023 David Buchanan | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |