Skip to content

Instantly share code, notes, and snippets.

View joaojusto's full-sized avatar

João Justo joaojusto

View GitHub Profile
import { PayloadAction } from '@reduxjs/toolkit';
import { REHYDRATE } from 'redux-persist';
import { delay, fork, put, select, take, takeLatest } from 'typed-redux-saga';
import { executeStoryAction } from '~mission/storyActionHandlers';
import { NextStoryActionType, selectDialogue, setNextStoryAction } from '~redux/dialogue-slice';
function* handleSetNextStoryAction(action: PayloadAction<NextStoryActionType>) {
const nextStoryAction = action.payload;
@joaojusto
joaojusto / sample.js
Created November 26, 2019 17:40
Hacking your own company code example
Parse.initialize('xxxxxx','xxxxxx');
var ScammedUser = Parse.Object.extend('ScammedUser');
var scammedUser = new ScammedUser();
 
function onSubmitKey(e) {
 if (e.keyCode == 13)
  onSubmit();
}
 
function onSubmit() {
### Keybase proof
I hereby claim:
* I am joaojusto on github.
* I am joaojusto (https://keybase.io/joaojusto) on keybase.
* I have a public key ASDGHA5-h-6WA2iGrmdp9-utrpR2sppIn8uChX2rPfDqvAo
To claim this, I am signing this object: