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
const pombify = (phrase) => { | |
return phrase | |
.split(' ') | |
.map((word) => { | |
const wordLetters = word.split('') | |
return wordLetters | |
.map((letter, index) => { | |
const charCode = letter.charCodeAt(0); | |
const binary = charCode | |
.toString(2) |
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
jest.mock('react-native-firebase', () => { | |
return { | |
admob: jest.fn(() => { | |
return { | |
onNotification: jest.fn(), | |
onNotificationDisplayed: jest.fn() | |
} | |
}), | |
analytics: jest.fn(() => { | |
return { |
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
<?php | |
/* | |
* | |
* Plugin Name: Mensagens de erro de login | |
* Description: Mensagens aleatórios e personalizadas para tentativas fracassadas de login. | |
* Version: 1.1 | |
* Author: LFreitas based on Sergio Costa (zergiocosta) | |
* Text Domain: custom-error-msgs | |
* | |
* source: https://gist.github.com/zergiocosta/72f87176b236ed0c6e13 |