Docs: replace http url with https, use ripgrep project url and fix typo

This commit is contained in:
pagedown 2021-11-30 18:53:58 +08:00
parent 1d88371604
commit 8ed6ee97b2
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB
5 changed files with 9 additions and 9 deletions

View File

@ -75,7 +75,7 @@
"unix": { "unix": {
"filename": "libxkbcommon-1.0.3.tar.xz", "filename": "libxkbcommon-1.0.3.tar.xz",
"hash": "sha256:a2202f851e072b84e64a395212cbd976ee18a8ee602008b0bad02a13247dbc52", "hash": "sha256:a2202f851e072b84e64a395212cbd976ee18a8ee602008b0bad02a13247dbc52",
"urls": ["http://xkbcommon.org/download/{filename}"] "urls": ["https://xkbcommon.org/download/{filename}"]
} }
}, },
@ -115,7 +115,7 @@
"unix": { "unix": {
"filename": "readline-8.1.tar.gz", "filename": "readline-8.1.tar.gz",
"hash": "sha256:f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02", "hash": "sha256:f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02",
"urls": ["http://ftp.gnu.org/gnu/readline/{filename}"] "urls": ["https://ftp.gnu.org/gnu/readline/{filename}"]
} }
}, },
@ -180,7 +180,7 @@
"unix": { "unix": {
"filename": "libpng-1.6.37.tar.xz", "filename": "libpng-1.6.37.tar.xz",
"hash": "sha256:505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca", "hash": "sha256:505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca",
"urls": ["http://downloads.sourceforge.net/sourceforge/libpng/{filename}"] "urls": ["https://downloads.sourceforge.net/sourceforge/libpng/{filename}"]
} }
}, },
@ -199,7 +199,7 @@
"unix": { "unix": {
"filename": "graphite2-1.3.14.tgz", "filename": "graphite2-1.3.14.tgz",
"hash": "sha256:f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d", "hash": "sha256:f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d",
"urls": ["http://downloads.sourceforge.net/silgraphite/{filename}"] "urls": ["https://downloads.sourceforge.net/silgraphite/{filename}"]
} }
}, },
@ -259,7 +259,7 @@
"unix": { "unix": {
"filename": "fontconfig-2.13.1.tar.bz2", "filename": "fontconfig-2.13.1.tar.bz2",
"hash": "sha256:f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741", "hash": "sha256:f655dd2a986d7aa97e052261b36aa67b0a64989496361eca8d604e6414006741",
"urls": ["http://www.fontconfig.org/release/{filename}"] "urls": ["https://www.fontconfig.org/release/{filename}"]
} }
}, },

View File

@ -3,7 +3,7 @@ Hyperlinked grep
This kitten allows you to search your files using `ripgrep This kitten allows you to search your files using `ripgrep
<https://www.google.com/search?q=ripgrep>`_ and open the results <https://github.com/BurntSushi/ripgrep>`_ and open the results
directly in your favorite editor in the terminal, at the line containing directly in your favorite editor in the terminal, at the line containing
the search result, simply by clicking on the result you want. the search result, simply by clicking on the result you want.

View File

@ -574,7 +574,7 @@ int _glfwPlatformInit(void)
{ {
NSEventModifierFlags modifierFlags = [event modifierFlags] & (NSEventModifierFlagShift | NSEventModifierFlagOption | NSEventModifierFlagCommand | NSEventModifierFlagControl); NSEventModifierFlags modifierFlags = [event modifierFlags] & (NSEventModifierFlagShift | NSEventModifierFlagOption | NSEventModifierFlagCommand | NSEventModifierFlagControl);
if (modifierFlags & NSEventModifierFlagCommand) { if (modifierFlags & NSEventModifierFlagCommand) {
// From http://cocoadev.com/index.pl?GameKeyboardHandlingAlmost // From https://cocoadev.github.io/GameKeyboardHandlingAlmost/
// This works around an AppKit bug, where key up events while holding // This works around an AppKit bug, where key up events while holding
// down the command key don't get sent to the key window. // down the command key don't get sent to the key window.
[[NSApp keyWindow] sendEvent:event]; [[NSApp keyWindow] sendEvent:event];

View File

@ -64,7 +64,7 @@ extern PyTypeObject Color_Type;
static inline double static inline double
rgb_luminance(ARGB32 c) { rgb_luminance(ARGB32 c) {
// From ITU BT 601 http://www.itu.int/rec/R-REC-BT.601 // From ITU BT 601 https://www.itu.int/rec/R-REC-BT.601
return 0.299 * c.red + 0.587 * c.green + 0.114 * c.blue; return 0.299 * c.red + 0.587 * c.green + 0.114 * c.blue;
} }

View File

@ -114,7 +114,7 @@ def get_macos_shortcut_for(
# for maximum robustness we should use opts.alias_map to resolve # for maximum robustness we should use opts.alias_map to resolve
# aliases however this requires parsing everything on startup which could # aliases however this requires parsing everything on startup which could
# be potentially slow. Lets just hope the user doesnt alias these # be potentially slow. Lets just hope the user doesnt alias these
# fucntions. # functions.
ans = None ans = None
candidates = [] candidates = []
qkey = tuple(defn.split()) qkey = tuple(defn.split())