- Mac version: 10.11.3
- Python version: 3.5.1
$ brew tap homebrew/versions
$ brew install llvm37
from datetime import datetime | |
from elasticsearch import Elasticsearch | |
es = Elasticsearch() | |
es.indices.create("brands") | |
# Mapping for suggester | |
# It should include [property]_suggest property for suggester | |
mapping = { |
execute pathogen#infect() | |
colorscheme molokai | |
syntax enable | |
filetype indent plugin on | |
set nocompatible | |
set backspace=indent,eol,start | |
set tabstop=4 | |
set shiftwidth=4 |
For neocomplete
brew uninstall vim
brew install luajit
brew install vim --with-lua
brew uninstall macvim
brew install macvim --with-cscope --with-lua --HEAD
#!/usr/bin/env python | |
############################################################################# | |
## | |
## Copyright (C) 2010 Riverbank Computing Limited. | |
## Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | |
## All rights reserved. | |
## | |
## This file is part of the examples of PyQt. |
$ curl -H "Content-Type: application/json" -X POST -d '{"regex": ".setTag\\([^,|^\\(]*,[^,]*\\)", "ext":"java", "local_repo_root": "demo_set", "max":100}' http://sangheestyle.com:8080/api/search/commits -o result.json |
var request = require('request'); | |
var cheerio = require('cheerio'); | |
// Set the headers | |
var headers = { 'User-Agent': 'Wild/0.0.1' | |
, 'Content-Type': 'application/x-www-form-urlencoded' | |
} | |
// Configure the request | |
var options = { url: 'https://play.google.com/store/getreviews' |