Watch the video for which tasks to automate
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 { relations, sql } from "drizzle-orm" | |
import { index, integer, sqliteTable, text } from "drizzle-orm/sqlite-core" | |
import { ulid } from "ulidx" | |
export const affiliatesTable = sqliteTable( | |
"affiliate", | |
{ | |
id: text("id") | |
.primaryKey() | |
.$defaultFn(() => ulid()), |
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
// Add script in console. | |
// var _cScript = document.createElement('script');_cScript.src='../../../tools/custom.js';document.head.appendChild(_cScript); | |
// ================================================== | |
function sequenceClass() { | |
this.init = function () { | |
var tClass = document.getElementsByClassName('t'); | |
for (var i = 0; i < tClass.length; i++) { | |
tClass[i].style.boxShadow = '0px 0px 10px 2px #000000'; | |
tClass[i].setAttribute('aria-hidden', 'true'); | |
tClass[i].onclick = mouseEvent; |
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
class Form extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
name: "", | |
email: "", | |
}; | |
} | |
_storeInput = (key, value) => { |
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
[...document.querySelectorAll('.btn.btn-sm.js-toggler-target')].map(a => a.click()) |
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
// Get country codes & flag of countries with respect to country codes | |
const fetch = require("node-fetch"); | |
const NEW_LINES = `\n\n`; | |
const EMOJIS = `${NEW_LINES}๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐คฃ โบ๏ธ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ค ๐ค ๐ค ๐ ๐คก ๐ค ๐ ๐ ๐ ๐ ๐ ๐ ๐ โน๏ธ ๐ฃ ๐ ๐ซ ๐ฉ ๐ค ๐ ๐ก ๐ถ ๐ ๐ ๐ฏ ๐ฆ ๐ง ๐ฎ ๐ฒ ๐ต ๐ณ ๐ฑ ๐จ ๐ฐ ๐ข ๐ฅ ๐คค ๐ญ ๐ ๐ช ๐ด ๐ ๐ค ๐คฅ ๐ฌ ๐ค ๐คข ๐คง ๐ท ๐ค ๐ค ๐ ๐ฟ ๐น ๐บ ๐ฉ ๐ป ๐ โ ๏ธ ๐ฝ ๐พ ๐ค ๐ ๐บ ๐ธ ๐น ๐ป ๐ผ${NEW_LINES}`; | |
const FIXER_URI = "https://api.fixer.io/latest"; | |
const REST_COUNTRIES_URI = "https://restcountries.eu/rest/v2/alpha/"; | |
const COUNTRY_URI = "http://country.io/currency.json"; | |
let currencyCodes = []; | |
let currencyOfCountry = []; | |
const flagsWithCurrencies = {}; |
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
[ | |
{ | |
"name": "Air Force blue", | |
"value": "#5d8aa8" | |
}, | |
{ | |
"name": "Alice blue", | |
"value": "#f0f8ff" | |
}, | |
{ |
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
var sorting = document.querySelectorAll('td'); | |
var keywords = []; | |
sorting.forEach((keyword, i) => { | |
if((i - 1) % 8 === 0) keywords.push(keyword.innerHTML); | |
}); | |
console.log(JSON.stringify(keywords, null, 2)); |
NewerOlder