The author is not responsible for any results occured by referencing to this document.
ublock origin is great anti tracker & ad blocker. But you can use adblock instead.
// Navigate to any AMO webpage and run the script in console | |
// AMO/blog, AMO/etc.... are not supported. | |
function decimalToHex(decimal) { | |
if (decimal < 16) | |
return "0" + decimal.toString(16); | |
else if (decimal > 255) | |
return "00"; | |
else | |
return decimal.toString(16); |
clang-format --style="{BasedOnStyle: llvm,Standard: Latest,AccessModifierOffset: -2,AlignAfterOpenBracket: Align,ColumnLimit: 0,IndentWidth: 2,NamespaceIndentation: All,BreakBeforeBraces: Allman,UseTab: Never,TabWidth: 2,PointerAlignment: Right}" "src.cpp" > "temp_src.cpp" & move /Y "temp_src.cpp" "src.cpp" |
import { parse } from 'marked'; | |
import fs from 'fs'; | |
import { promisify } from 'util'; | |
import { resolve } from 'path'; | |
const readdir = promisify(fs.readdir); | |
const readFile = promisify(fs.readFile); | |
const writeFile = promisify(fs.writeFile); | |
const access = promisify(fs.access); | |
const mkdir = promisify(fs.mkdir); |