Skip to content

Instantly share code, notes, and snippets.

View cmilfont's full-sized avatar

Christiano Milfont cmilfont

View GitHub Profile
@cmilfont
cmilfont / gist:1536362
Last active September 30, 2020 12:51
Sobre Equipes e Times: Condições que tornam um time mais produtivo e criativo.
Disparidade Salarial e Hierarquia
http://opr.sagepub.com/content/1/1/32.full.pdf
http://www-bcf.usc.edu/~nathanaf/power_without_status.pdf
http://epocanegocios.globo.com/Revista/Common/0,,EMI282586-16366,00-A+UNIAO+PELA+DISPARIDADE.html
Poder sem status
https://static1.squarespace.com/static/5510bf69e4b0f498ce1a71d5/t/598a0f0b49fc2b97646c337e/1502220043694/power-without-status.pdf
Harmonia no ambiente de trabalho
http://content.usatoday.com/communities/gameon/post/2011/05/inside-espn-book-the-feuds-the-egos-and-lebron-james-decision/1
@cmilfont
cmilfont / guidenode.md
Last active May 4, 2020 03:09
Guideline NodeJS
{
"compilerOptions": {
"target": "ES2017",
"module": "CommonJS",
"moduleResolution": "node",
"outDir": "./build",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true
}
@cmilfont
cmilfont / S3-Static-Sites.md
Created December 30, 2019 21:36 — forked from bradwestfall/S3-Static-Sites.md
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation

Resources

@cmilfont
cmilfont / redux.js
Last active November 8, 2019 00:15
Usando Redux sem combineReducer
import { LOCATION_CHANGE } from 'connected-react-router';
import { connectRouter } from 'connected-react-router';
export default history => {
const handleRouter = connectRouter(history);
const initialState = {
router: connectRouter(history)
};
@cmilfont
cmilfont / inflections.rb
Created November 15, 2011 11:54 — forked from mateusg/inflections.rb
pt-BR inflections file for Ruby on Rails applications
# encoding: utf-8
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
@cmilfont
cmilfont / gist:989cb5fd4a941c409b31
Last active May 22, 2019 19:26
Palestras CEJS 2014
Mozart
http://pt.slideshare.net/ssmarketing/como-desenvolver-com-um-sistema-com-um-frontend-colossal-42659747
Milfont
https://docs.google.com/presentation/d/1LAzafxRihuRQNb3f3SHvnEpkbNmBlx-BKsG80ulcU8s/pub?start=false&loop=false&delayms=30000&slide=id.p
Filipe
https://speakerdeck.com/filipebarcos/sub
Adalto e Kete
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()
@cmilfont
cmilfont / Elon.md
Last active December 25, 2018 14:24
Elon Musk

1: Name the enemy

2: Answer “Why now?”

3: Show the promised land before explaining how you’ll get there

4: Identify obstacles—then explain how you’ll overcome them

5: Present evidence that you’re not just blowing hot air