This file contains 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
// Recíproca de Simpson | |
const DADOS = [ | |
{ especie: 'A', individuos: 100 }, | |
{ especie: 'B', individuos: 150 }, | |
{ especie: 'C', individuos: 20 }, | |
{ especie: 'D', individuos: 35 }, | |
{ especie: 'E', individuos: 48 } | |
]; |
This file contains 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
// script | |
function sendMessageInstagram (e) { | |
if (e.keyCode === 13) { | |
document.querySelector('.X3a-9 button').click(); | |
} | |
}; | |
// execute | |
addEventListener("keyup", sendMessageInstagram); |
This file contains 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
import React from 'react' | |
import { useIntl } from 'react-intl' | |
const AdminForm = () => { | |
const intl = useIntl() | |
return ( | |
<form> | |
<label> | |
<small>{intl.formatMessage({ id: 'admin/username.form.label' })}</small> |
This file contains 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
unbindall | |
bind "0" "slot10" | |
bind "1" "slot1" | |
bind "2" "slot2" | |
bind "3" "slot3" | |
bind "4" "slot4" | |
bind "5" "slot5" | |
bind "6" "slot6" | |
bind "7" "slot7" | |
bind "8" "slot8" |
This file contains 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
import React, { FC, lazy, Suspense, useEffect, useState } from 'react' | |
const preloadComponent = () => import('./Component') | |
const Component = lazy(preloadDrawer) | |
const App: FC = () => { | |
useEffect(() => { | |
const handler = window.requestIdleCallback(preloadComponent) |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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
Monday: 18 | |
Tuesday: 17 | |
Wednesday: 16 | |
Thursday: 14 | |
Friday: 12 |
This file contains 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
{ | |
"empty": { | |
"points": 0, | |
"quantity": 3 | |
}, | |
"a": { | |
"points": 1, | |
"quantity": 10 | |
}, | |
"ã": { |
This file contains 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
/** | |
* Before running this code, you need to run this script on the web page: | |
* urls = [] | |
document.querySelectorAll(".src-components-Client-Common-___Common__photo___3yTw5 > img").forEach((item) => { | |
const url = item.src.replace("alfred.alboompro.com/resize/width/300/url/", "") | |
if (!urls.includes(url)) { | |
urls.push(url) | |
} | |
}) | |
* after that, copy the urls array and paste it in the urls variable below |
OlderNewer