This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// function $$(selector, context) { | |
// context = context || document; | |
// var elements = context.querySelectorAll(selector); | |
// return Array.prototype.slice.call(elements); | |
// } | |
let html = $$('html')[0].innerHTML | |
let result | |
while (result = /{{#if.+}}[^]+?{{\/if}}/g.exec(html)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function DV (sequencial, incluirOriginalComSep = false, { SeAcimaDez = '0123456789', modulo = 11, mult = 10, restoVsFalta = false, fatores = '98765432' } = {}) { | |
if (parseInt(sequencial) != Number(sequencial)) throw new Error('Sequencial não é número válido') | |
sequencial = String(sequencial) | |
fatores = fatores.repeat(sequencial.length / 8 + 1).slice(-sequencial.length) | |
const soma = sequencial.split('').reduce(function (s, v, i) { | |
return (s += Number(v) * Number(fatores[i])) | |
}, 0) | |
let resto = (soma * mult) % modulo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Compile Mermaid Markdown | |
uses: neenjaw/compile-mermaid-markdown-action@0.2.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAttributes (o) { | |
const ignore = ['tag', 'innerText', 'children'] | |
return Object.keys(o).reduce(function (r, k) { | |
if (ignore.includes(k)) return r | |
r += o[k] ? ` ${k}="${o[k] instanceof Array ? o[k].join(' ') : o[k]}"` : ` ${k}` | |
return r | |
}, '') | |
} | |
function getChildren (o) { |
<div camelCase="attr"><div>
Features:
- list your repos across remotes/Git hosts
- map repos to local folders, see repos not locally synced and local repos without remotes or even folders without git
- group repos by sync status, git platforms, common base folders, or customized
- bulk commands for selected repos/groups (clone, pull, push) + determine priority order
- help see what's keeping from syncing repos (unstaged changes, etc)
- manage multiple devices: repos vs devices, what device repos are left behind
OlderNewer