Christiano Milfont
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 { take, put, call } from 'redux-saga/effects'; | |
import { eventChannel } from 'redux-saga'; | |
import { push } from 'react-router-redux'; | |
import actions from 'api/actions'; | |
import reducer from 'api/reducers/crud'; | |
import { loginMutation as mutation } from 'api/graphql/mutations'; | |
function createSocketChannel(firebase) { | |
return eventChannel((emit) => { | |
return firebase.auth() |
- Zero Defects - https://en.wikipedia.org/wiki/Philip_B._Crosby
- PDCA (plan, do, check, act) - https://en.wikipedia.org/wiki/W._Edwards_Deming
- Total Quality Management (TQM) - https://en.wikipedia.org/wiki/Armand_V._Feigenbaum
- Fishbone Cause and Effect Diagram - https://en.wikipedia.org/wiki/Kaoru_Ishikawa
- The Juran trilogy - https://en.wikipedia.org/wiki/Joseph_M._Juran
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
#!/bin/sh -x | |
CURRENT=`git branch | grep "*" | awk '{print $2}'` | |
git commit -m "#${CURRENT}: $1" | |
# git add . | |
# commit "message" |
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
// model error | |
import { Record, fromJS, Map } from 'immutable'; | |
export default class ErrorRecord extends Record({ | |
warnings: Map(), | |
form: Map(), | |
fatal: Map(), | |
}) { | |
constructor(values) { | |
// sua lógi a |
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 React from 'react'; | |
import { connect } from 'react-redux'; | |
import { actions, mapDispatchToProps} from 'api/actions/errors'; | |
class ErrorBoundary extends React.Component { | |
componentDidCatch(error, info) { | |
this.props.dispatch({ | |
type: actions.GLOBAL_EXCEPTION, | |
payload: { |
Esse projeto era deployado num Oracle Server OC4J, os fontes no CVS do governo do estado do CE, a busca textual foi feita com Oracle Text.
Levamos quase 2 anos pra fazer um sistema que hoje seria concluído no máximo em 1 mês, pra ter uma idéia como quando cheguei aqui era tudo mato :D
A briga da época era se a modinha SVN ia pegar.
Por limitações da licitação desse projeto, não pudemos usar Hibernate e Spring que eram as modinhas que estavam dominando o mercado.
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
onAuthStateChanged = (user) => { | |
if (user) { | |
const { uid, name, email } = user; | |
window.LogRocket.identify(uid, { name, email }); | |
this.store.dispatch({ | |
type: actions.loginSuccess, | |
payload: { | |
user, | |
}, | |
}); |