Skip to content

Instantly share code, notes, and snippets.

Corentin Dupont cdupont

Block or report user

Report or block cdupont

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
View ghci --verbose output
This file has been truncated, but you can view the full file.
Loading stack ghci --test --bench --no-load --ghci-options=-fno-code --ghci-options=-fno-break-on-exception --ghci-options=-fno-break-on-error --ghci-options=-v1 --ghci-options=-ferror-spans --ghci-options=-j ...
%STDERR:
%STDOUT2:
%STDERR: Warning: Specified source-dir "app" does not exist
%STDOUT2: Warning: Specified source-dir "app" does not exist
Warning: Specified source-dir "app" does not exist
%STDERR:
%STDOUT2:
View gist:6dc08a2001fde52f88bf599cf29a17e7
{
"took": 1,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 9948,
View gist:769dcad2d0c22a1d75c6cd8086abf7d8
$ curl elasticsearch.waziup.io/mvp-agriculture-weather1-2017.06.23/_search | jq "."
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
View gist:845f6d8b01deac2e3b86
import Text.Parsec
import Text.Parsec.String
test = parse myParser "" "blablaprefixTsuffixbla"
myParser :: Parser String
myParser = do
manyTill letter (string "prefix")
manyTill letter (string "suffix" >> many letter)
You can’t perform that action at this time.