Sometimes you may see a blue dot on your GitHub avatar, but can't find what unread notification it's referring to.
This is a trivial UI bug. You can see these "invisible" notifications in the terminal by using gh.
Ref.
| # ---------------------------------- | |
| # Function: gdcp | |
| # Description: | |
| # This function allows you to interactively select a file from the list of modified files | |
| # in a Git repository, view the diff, and copy it to the clipboard. | |
| # | |
| # Parameters: | |
| # None | |
| # | |
| # Returns: |
| #!/usr/bin/env python3 | |
| # coding=utf-8 | |
| import random | |
| import time | |
| def get_elems(total): | |
| for i in range(total): | |
| yield { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| typedef char *sds; | |
| typedef struct String { | |
| int len; | |
| int free; | |
| char data[]; |
| package main | |
| import ( | |
| "fmt" | |
| "unsafe" | |
| ) | |
| type Example struct { | |
| Field1 int64 | |
| Field2 int32 |
| #!/usr/bin/env python3 | |
| # -*- coding=utf-8 -*- | |
| import json | |
| import requests | |
| from loguru import logger | |
| logger.remove() | |
| logger.add('{time}.log') |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| #Persistent ; Keeps a script permanently running (that is, until the user closes it or ExitApp is encountered). | |
| ; Globals | |
| DesktopCount = 2 ; Windows starts with 2 desktops at boot | |
| CurrentDesktop = 1 ; Desktop count is 1-indexed (Microsoft numbers them this way) | |
| ; DLL |
| # check status | |
| sudo ufw status | |
| # deny all incoming | |
| sudo ufw default deny incoming | |
| # allow from a specific source IP address or entire subnet to connect to our port 22 | |
| sudo ufw allow from 192.168.1.0/24 to any port 22 proto tcp | |
| # enable the ufw | |
| sudo ufw enable |
| #!/usr/bin/env python3 | |
| # -*- coding:utf-8 -*- | |
| """An easy action adventure game based on text.""" | |
| import random | |
| import time | |
| import uuid | |
| from typing import Dict, Generator, List, Protocol |