Skip to content

Instantly share code, notes, and snippets.

View kennknowles's full-sized avatar
☂️

Kenn Knowles kennknowles

☂️
View GitHub Profile
@kennknowles
kennknowles / license-pull.diff
Last active July 10, 2020 19:04
License Pull Diff
--- before-licenses-trimmed 2020-07-10 12:03:16.000000000 -0700
+++ after-licenses-trimmed 2020-07-10 12:03:39.000000000 -0700
@@ -1,1181 +1,170 @@
..
-FastInfoset-1.2.16.jar
-accessors-smart-1.2.jar
-achilles-common-6.0.2.jar
-achilles-core-6.0.2.jar
-achilles-embedded-6.0.2.jar
@kennknowles
kennknowles / gist:3558149
Created August 31, 2012 19:57
ElasticSearch ShingleFilter arg reversal
curl -XPOST 'http://localhost:9200/test/?pretty=1' -d '{
"settings": {
"analysis":{
"analyzer": {
"my_analyzer": {
"type": "custom",
"filter": ["my_shingle_filter"],
"tokenizer": "standard"
}
},
@kennknowles
kennknowles / gist:3555574
Created August 31, 2012 16:38
Analyzer after create
curl -XPOST localhost:9200/test
curl -XPOST localhost:9200/test/_close
curl -XPUT localhost:9200/test/_settings -d '{
"settings": {
"analysis" :{
"analyzer": {
"my_analyzer": {
"type": "custom",
@kennknowles
kennknowles / gist:3555567
Created August 31, 2012 16:37
Analyzer on index creation
curl -XPOST localhost:9200/test/ -d '{
"settings": {
"analysis" :{
"analyzer": {
"my_analyzer": {
"type": "custom",
"filter": [],
"tokenizer": "standard"}
}
}
@kennknowles
kennknowles / gist:3516062
Created August 29, 2012 17:41
cd coq-8.4 && ./configure && make
$ ./configure
You have GNU Make 3.81. Good!
You have Objective-Caml 4.00.0. Good!
You have native-code compilation. Good!
LablGtk2 not found: CoqIde will not be available.
latex was not found; documentation will not be available
Where should I install the Coq binaries [/usr/local/bin]?
Where should I install the Coq library [/usr/local/lib/coq]?
Where should I install the Coqide configuration files [/etc/xdg/coq]?
Where should I install the Coqide data files [/usr/local/share/coq]?
@kennknowles
kennknowles / gist:3515580
Created August 29, 2012 16:54
brew install coq
==> Downloading http://coq.inria.fr/distrib/V8.4/files/coq-8.4.tar.gz
Already downloaded: /Users/kenn/Library/Caches/Homebrew/coq-8.4.tar.gz
/usr/bin/tar xf /Users/kenn/Library/Caches/Homebrew/coq-8.4.tar.gz
==> ./configure -prefix /usr/local/Cellar/coq/8.4 -mandir /usr/local/Cellar/coq/8.4/share/man -camlp5dir /usr/local/Cellar/camlp5/6.06/lib/ocaml/camlp5 -emacslib /usr/local/Cellar/coq/8.4/lib/emacs/site-lisp -coqdocdir /usr/local/Cellar/coq/8.4/share/coq/latex -coqide no -with-doc no -arch x86_64
./configure -prefix /usr/local/Cellar/coq/8.4 -mandir /usr/local/Cellar/coq/8.4/share/man -camlp5dir /usr/local/Cellar/camlp5/6.06/lib/ocaml/camlp5 -emacslib /usr/local/Cellar/coq/8.4/lib/emacs/site-lisp -coqdocdir /usr/local/Cellar/coq/8.4/share/coq/latex -coqide no -with-doc no -arch x86_64
You have GNU Make 3.81. Good!
You have Objective-Caml 4.00.0. Good!
You have native-code compilation. Good!
CoqIde disabled as requested.
@kennknowles
kennknowles / gist:3436809
Created August 23, 2012 13:51
brew install -v libtiff
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.2.tar.gz
Already downloaded: /Users/kenn/Library/Caches/Homebrew/libtiff-4.0.2.tar.gz
/usr/bin/tar xf /Users/kenn/Library/Caches/Homebrew/libtiff-4.0.2.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libtiff/4.0.2
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/libtiff/4.0.2
checking build system type... i386-apple-darwin11.4.0
checking host system type... i386-apple-darwin11.4.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
@kennknowles
kennknowles / gist:3436774
Created August 23, 2012 13:48
brew --config
HOMEBREW_VERSION: 0.9.2
HEAD: ae7e547411edeafc3cf0946689e24d2e72e87f09
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.7.4-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
@kennknowles
kennknowles / gist:3316978
Created August 10, 2012 19:09
`brew install gettext` output
megan-finns-macbook-2:Caches kenn$ brew install gettext
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.18.1.1.lion.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.18.1.1.lion.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
@kennknowles
kennknowles / gist:3316245
Created August 10, 2012 18:09
pkg-config-0.27/glib/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by glib configure 2.32.3, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --disable-option-checking --prefix=/usr/local/Cellar/pkg-config/0.27 --disable-debug --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib --cache-file=/dev/null --srcdir=.
## --------- ##
## Platform. ##