This file contains hidden or 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
docker run -p 8108:8108 -v /data typesense/typesense:0.21.0.rc15 --data-dir /data --api-key=dev | |
curl "http://localhost:8108/collections" \ | |
-X POST \ | |
-H "Content-Type: application/json" \ | |
-H "X-TYPESENSE-API-KEY: dev" \ | |
-d '{"name": "records", | |
"fields": [ | |
{ "name": "name", "type": "string" }, | |
{ "name": "user_id_facet", "type": "string", "facet": true } |
This file contains hidden or 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
Last login: Tue Oct 1 09:48:26 on ttys012 | |
~/Blake/bx/libexec/mac-bootstrap/core-repos.sh | |
~ ❯❯❯ ~/Blake/bx/libexec/mac-bootstrap/core-repos.sh | |
Installing ruby if necessary... | |
.ruby-version says you need ruby-2.3.8, which is version 2.3.8 and | |
you have that ruby. | |
Latest version already installed. Done. | |
true | |
bundler already installed | |
Installing bundler |
This file contains hidden or 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
{ | |
"nodes":[ | |
{ | |
"uid":"B15t95OI", | |
"floor":"1F", | |
"is_entrance":false, | |
"is_exit":false, | |
"location":{ | |
"type":"Point", | |
"coordinates":[ |
This file contains hidden or 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
function parse_git_branch () { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
NO_COLOR="\[\033[0m\]" | |
export PS1="$GREEN\u@\h$NO_COLOR:\w$YELLOW\$(parse_git_branch)$NO_COLOR\$ " |
This file contains hidden or 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
Show hidden characters
{ | |
"binary_file_patterns": | |
[ | |
".git/**", | |
".hg/**", | |
".svn/**", | |
"/Users/ronaldcurtis/Sites/locarise/styleguide/build/**", | |
"CVS/**", | |
"bower_components/**", | |
"node_modules/**", |
This file contains hidden or 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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
shell: { | |
precompile: { | |
command: 'node precompile.js', | |
options: { | |
stdout: true, | |
failOnError: true | |
} |