Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Igor Elias igoreliasm

🎯
Focusing
Block or report user

Report or block igoreliasm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@igoreliasm
igoreliasm / XGH - en.txt
Created Jun 6, 2019 — forked from banaslee/XGH - en.txt
eXtreme Go-Horse Process
View XGH - en.txt
eXtreme Go Horse (XGH) Process
Source: http://gohorseprocess.wordpress.com
1. I think therefore it's not XGH.
In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster.
2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the wrong one but faster.
XGH is faster than any development process you know (see Axiom 14).
@igoreliasm
igoreliasm / install-mongodb.md
Created Mar 4, 2017 — forked from adamgibbons/install-mongodb.md
Install MongoDB on Mac OS X 10.9
View install-mongodb.md

Install MongoDB with Homebrew

brew install mongodb
mkdir -p /data/db

Set permissions for the data directory

Ensure that user account running mongod has correct permissions for the directory:

View elasticsearch pt-br analyzer
//Cria o índice especificando quais os analyzer ele tem
//Além disso especifica que o campo "titulo" do tipo "seu_tipo" utiliza o analyzer recem criado
curl -XPUT "http://localhost:9200/my_index" -d'
{
"settings": {
"analysis": {
"analyzer": {
"analyzer_customizado": {
"tokenizer": "standard",
@igoreliasm
igoreliasm / movie-titles.rb
Created Jan 25, 2017 — forked from karmi/movie-titles.rb
Multiple analyzers and query fields in Elasticsearch for auto-completion
View movie-titles.rb
require 'tire'
# Tire.configure { logger STDERR, level: 'debug' }
Tire.index('movie-titles') do
delete
create \
settings: {
index: {
analysis: {
@igoreliasm
igoreliasm / A.markdown
Created May 9, 2016 — forked from umpirsky/A.markdown
Sublime Text Monokai Sidebar Theme.
View A.markdown
You can’t perform that action at this time.