Проведите код-ревью вот такого кода:
<!DOCTYPE html>
<html>
<head>
<title>Сто голов - сто умов</title>
</head>
<body>
<header class="header">Жара в шапку не нагребешь</header>
/** | |
* Moved to a new repository. | |
* https://github.com/intrnl/firefox-revert-proton | |
*/ | |
:root { | |
--tab-min-height: 28px !important; | |
--toolbarbutton-inner-padding: 6px !important; | |
--toolbarbutton-outer-padding: 1px !important; | |
--toolbar-start-end-padding: 1px !important; |
// Gist name placeholder |
Краткая характеристика:
Плюсы:
" for transparent background | |
function! AdaptColorscheme() | |
highlight clear CursorLine | |
highlight Normal ctermbg=none | |
highlight LineNr ctermbg=none | |
highlight Folded ctermbg=none | |
highlight NonText ctermbg=none | |
highlight SpecialKey ctermbg=none | |
highlight VertSplit ctermbg=none | |
highlight SignColumn ctermbg=none |
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). | |
perl: warning: Setting locale failed. |
set noshowmode | |
set noruler | |
autocmd ColorScheme * highlight link ModeNFGC StatuslineNC | |
autocmd ColorScheme * highlight link ModeNFGCS LineNr | |
autocmd ColorScheme * highlight link ModeIFGC DiffAdd | |
autocmd ColorScheme * highlight link ModeIFGCS DiffAdded | |
autocmd ColorScheme * highlight link ModeRFGC Search | |
autocmd ColorScheme * highlight link ModeRFGCS Repeat | |
autocmd ColorScheme * highlight link ModeVFGC CursorIM |
// Modified from @mutsuda's https://medium.com/@mutsuda/create-an-ios-widget-showing-google-spreadsheets-data-856767a9447e | |
// by @levelsio | |
// HOW TO | |
// 1) Make a Google Sheet, we'll pull the first cell e.g. A1 | |
// 2) Publish your Google Sheet, File -> Publish To Web | |
// 3) Copy the SHEET_ID in the URL, put it in here below: | |
const endpoint = "https://spreadsheets.google.com/feeds/cells/SHEET_ID/1/public/full?alt=json" | |
// 4) Install Scriptable @ https://apps.apple.com/us/app/scriptable/id1405459188 | |
// 5) Copy this entire script in to Scriptable (tip: you can send it to your iPhone via Whatsapp/Messenger/Telegram etc) |
// ==UserScript== | |
// @name HackerNews | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://news.ycombinator.com/ | |
// @require https://bennettfeely.com/ztext/js/ztext.min.js | |
// @resource REMOTE_CSS http://127.0.0.1:8080/style.css | |
// @grant GM_xmlhttpRequest |