brew uninstall --ignore-dependencies node icu4c
brew install node
import assert from 'node:assert'; | |
const firstLeftArray = [ | |
{ id: 0, name: 'Miguel' }, | |
{ id: 1, name: 'Justin' }, | |
{ id: 3, name: 'Test' }, | |
]; | |
const firstRightArray = [ | |
{ id: 0, email: '[email protected]' }, | |
{ id: 2, email: '[email protected]' }, |
/utils/custom-validators.ts | |
export const confirmPasswords = (control: AbstractControl) => { | |
if (control.get('password').value !== control.get('confirmPassword').value) { | |
control.get('confirmPassword').setErrors({ passError: true }); | |
return { passError: true }; | |
} | |
return null; | |
}; |
{ | |
"printWidth": 80, | |
"tabWidth": 2, | |
"singleQuote": true, | |
"trailingComma": "all", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": false, | |
"semi": true, | |
"useTabs": false, | |
"proseWrap": "preserve", |
(() => { | |
let unfollowButtons = []; | |
const notUnFollowUsers = []; | |
const _getButtonsActions = () => document.querySelectorAll(".-nal3"); | |
const _getUnfollowsButtons = () => [ | |
...document.querySelectorAll(".sqdOP.L3NKy._8A5w5"), | |
]; | |
const _confirmUnFollow = () => document.querySelector(".aOOlW.-Cab_").click(); | |
const _getContainer = () => document.querySelector(".PZuss"); | |
const _plusOrMinus = () => (Math.random() < 0.5 ? -1 : 1); |
(() => { | |
let followButtons = []; | |
const _getUsers = () => | |
document.querySelector(".sqdOP.yWX7d._8A5w5[type='button']"); | |
const _getFollowsButtons = () => [ | |
...document.querySelectorAll(".sqdOP.L3NKy.y3zKF"), | |
]; | |
const _getContainer = () => | |
document.querySelector(".Igw0E.IwRSH.eGOV_.vwCYk.i0EQd").children[0]; |
/** | |
* This code work in the https://mobile.twitter.com/YOUR_USERNAME/with_replies | |
* | |
*/ | |
const _this = $; | |
const clickFirstElement = () => { | |
_this( | |
".css-18t94o4.css-1dbjc4n.r-1777fci.r-11cpok1.r-1ny4l3l.r-bztko3.r-lrvibr" | |
).click(); | |
setTimeout(() => { |