I hereby claim:
- I am ronaiza-cardoso on github.
- I am ronaiza (https://keybase.io/ronaiza) on keybase.
- I have a public key ASAhakDS8uyWs3UQ8IXN3KO-UNTdMETH_mpb5DA2KTMuHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| alias gc="git checkout" | |
| alias gs="git status" | |
| alias gl="git log --pretty=oneline" | |
| alias up='git push origin `git rev-parse --abbrev-ref HEAD`' | |
| alias upf='git push origin `git rev-parse --abbrev-ref HEAD` --force-with-lease' | |
| alias gcm="git commit -m $1" | |
| alias gm="git checkout main" | |
| alias apply="git stash apply stash@{$1}" | |
| alias ammend="git commit --amend --no-edit --no-verify" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| <ul id="list"></ul> |
| const omit = (obj, filterKeys) => { | |
| return Object.keys(obj).reduce( | |
| (acc, curr) => | |
| filterKeys.every(i => i !== curr) ? { ...acc, [curr]: obj[curr] } : acc, | |
| {} | |
| ); | |
| }; |
| /** | |
| * from: https://www.reddit.com/r/reactnative/comments/iysvwn/for_the_past_two_months_ive_been_working_on_a/g6eiuy4?utm_source=share&utm_medium=web2x&context=3 | |
| * | |
| * | |
| * | |
| * The top header is this package: react - native - unibubbles | |
| * I mix it with a transparent StackNavigator. | |
| * Thank you! The < Modal /> is a platform switch between react - native - modal and react - native - web - modal. | |
| * I used a hook which exports and Animated.Value which I use to animate the absolutely positioned < Modal />’s bottom style.🤪 | |
| * |
| const echoCallbackHandler = (context, event) => (callback, onEvent) => { | |
| onEvent(({ type }) => { | |
| if(type === 'HEAR') { | |
| callback('ECHO') | |
| } | |
| }) | |
| } | |
| const echoMachine = Machine({ | |
| id: 'echo', |
| const fetchCuteAnimals = () => { | |
| return fetch('https://www.reddit.com/r/aww.json') | |
| .then(res => res.json()) | |
| .then(data => data.data.children.map(child => child.data)) | |
| } | |
| const cuteAnimalsMachine = Machine({ | |
| id: 'cuteAnimals', | |
| initial: 'idle', | |
| context: { |
| const fetchMachine = Machine({ | |
| id: 'door', | |
| initial: 'locked', | |
| states: { | |
| locked: { | |
| id: 'locked', | |
| on: { | |
| UNLOCKED: 'unlocked' | |
| } | |
| }, |
| export class StringUtil { | |
| // How to use it: | |
| // import { StringUtil } from 'utils/string-search'; | |
| // | |
| // objToSearch.filter((name) => { | |
| // return StringUtil.stringRegExp(searchTerm, false).test(name); | |
| // }); | |
| static stringRegExp(text: string, isGroup: boolean = true): RegExp { |
| // I've got inspired by this code: https://github.com/pbradaric/instagram-unfollow-script | |
| var ufwTotalCounter = 0; | |
| var ufwCounter = 0; | |
| var maxUfwsPerBatch = 13; | |
| var fwButtonSelector = document.getElementsByClassName('_5f5mN') | |
| var length = fwButtonSelector.length - 1 === -1 ? 0 : fwButtonSelector.length - 1 | |
| var delayBetweenUfwClicks = 4000; | |
| var delayRandomness = 4000; | |
| var delayBetweenUfwBatches = 600000; |