Skip to content

Instantly share code, notes, and snippets.

View cmilfont's full-sized avatar

Christiano Milfont cmilfont

View GitHub Profile
@cmilfont
cmilfont / accenture-level.md
Created March 7, 2024 11:29
Accenture Career Level

Level 1: Senior Managing Director (SMD)
Level 2: Client Account Director (MD)
Level 3: Senior Client Account Executive (MD)
Level 4: Client Account Executive (MD)
Level 5: Associate Director or Principal Director
Level 6: Senior Manager or Senior Principal
Level 7: Manager or Principal
Level 8: Associate Manager or Associate Principal
Level 9: Consultant, Team Lead, or Specialist
Level 10: Senior Analyst

version: '2'
services:
mysql:
image: docker.io/bitnami/mysql:8.0
volumes:
- 'mysql_data:/bitnami/mysql'
ports:
- "3306:3306"
environment:
- ALLOW_EMPTY_PASSWORD=yes
@cmilfont
cmilfont / install.sh
Last active July 14, 2023 21:44
Create React Native project
# Macos Ventura 13.4.1 (22F82) - Apple M1 Max
brew update
brew install openssl
curl -sSL https://get.rvm.io | bash
rvm install ruby-3.2 --enable-shared --with-openssl-dir=/opt/homebrew/opt/openssl@1.1 --with-out-ext=fiddle
sudo gem install cocoapods
sudo xcode-select --switch /Applications/Xcode.app #Open Xcode, then choose Settings -> Locations
npx react-native@latest init search --template react-native-template-typescript
@cmilfont
cmilfont / es-woocommerce.es
Created June 3, 2023 13:16
Reindexação enriquecida no Elasticsearch com o Domain Model do Wordpress que o Woocommerce utiliza
PUT /_enrich/policy/mysql-server.wordpress.wp_postmeta_policy
{
"match":{
"indices": "mysql-server.wordpress.wp_postmeta",
"match_field": "post_id",
"enrich_fields": ["meta_id", "meta_key", "meta_value"]
}
}
POST /_enrich/policy/mysql-server.wordpress.wp_postmeta_policy/_execute
@cmilfont
cmilfont / tbodyScroll.css
Created October 31, 2011 17:51 — forked from henriquegogo/tbodyScroll.css
Scroll on TBODY
table {
display: block;
width: 100%;
}
table thead tr {
display: block;
}
table th,
table td { width: 100px; min-width: 100px; }
table tbody {
@cmilfont
cmilfont / gist:1394048
Created November 25, 2011 17:37
Mandamentos para ganhar dinheiro
1 - Quem trabalha pra pobre pede esmola pra dois;
2 - Quem trabalha não tem Tempo de ganhar dinheiro;
3 - Só ganha dinheiro, quem tem dinheiro;
opcionais e complementares.
4 - Nunca fazer produto/serviço para pessoas que fazem o mesmo que voce;
5 - Feio/pecado/antiético é enganar/mentir/roubar/matar! ganhar dinheiro, nunca!
@cmilfont
cmilfont / peter-thiels-cs183-startup-class-01-notes-essay.md
Created January 3, 2022 00:28 — forked from harperreed/peter-thiels-cs183-startup-class-01-notes-essay.md
Notes Essays—Peter Thiel’s CS183: Startup—Stanford, Spring 2012

Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.

CS183: Startup—Notes Essay—The Challenge of the Future

Purpose and Preamble

getTextNodesIn = (node) => {
var textNodes = [];
if (node.nodeType == 3) {
textNodes.push(node);
} else {
var children = node.childNodes;
for (var i = 0, len = children.length; i < len; ++i) {
textNodes.push.apply(textNodes, this.getTextNodesIn(children[i]));
}
}
@cmilfont
cmilfont / apresentacao-devops.md
Last active March 22, 2021 21:14
CI do Diário Oficial do CE que foi feito no final de 2004 e concluído em 2006, até hoje no ar com a mesma versão aparentemente http://pesquisa.doe.seplag.ce.gov.br/doepesquisa/sead.do?page=ultimasEdicoes&cmd=11&action=Ultimas

Características

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.

@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