Skip to content

Instantly share code, notes, and snippets.

View robertkowalski's full-sized avatar

Robert Kowalski robertkowalski

View GitHub Profile
{
"software":{
"name":"LanguageTool",
"version":"4.0-SNAPSHOT",
"buildDate":"2017-11-29 21:01",
"apiVersion":1,
"status":""
},
"warnings":{
"incompleteResults":false
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHlSTnX+h3zCDKWZhFDKU2KXzJPg9enu65Fl0ckiYUbdg+f1U5WE3EB2LGHg7CHS7nOVjDNypVAI9haRZ9Payy8nSSZBidxTt0TdUSLpI1qv7EMjWjv6hejdXjPVUVbzKOhc5Anb3UEAzOd3L/+2FqsaM0+/c0nLTxajReq9jUr8Mu+d2gisICkEKPccyZqV7bmbv2zN5XFWt6amw+fjT1Wnna/FjBMOa3ysnwg1ZNa8oR/oyjx9rzzYCpjvJxIH462XeBzzMV1pnq+Xq7CquTG4gFoXEeFii3fYX0r3/L4amHcl4TTqBP/sAWfGb7MVPeUKnpYcdrHQ77jk6TDkb1 robert@tequila-new.fritz.box
handle_graphql(Req) ->
Res = 'Elixir.Chttpd.Graphql':run(),
io:format("~p", [Res]),
send_json(Req, {[
{res, "Res"}
]}).
[notice] 2016-09-11T13:34:29.231748Z node2@127.0.0.1 <0.9054.0> -------- starting new replication `ba6981aa91ce6eaa6ee56e6ea7b78c85+create_target` at <0.9056.0> (`https://skimdb.npmjs.com/registry/` -> `http://127.0.0.1:35984/blerg/`)
[notice] 2016-09-11T13:34:30.788151Z node2@127.0.0.1 <0.9051.0> 943fcd0e02 undefined 127.0.0.1 undefined GET /_up 200 ok 0
[notice] 2016-09-11T13:34:30.887991Z node2@127.0.0.1 <0.9056.0> -------- Replication `"ba6981aa91ce6eaa6ee56e6ea7b78c85+create_target"` is using:
4 worker processes
a worker batch size of 500
20 HTTP connections
a connection timeout of 30000 milliseconds
10 retries per request
socket options are: [{keepalive,true},{nodelay,false}]
[notice] 2016-09-11T13:34:34.151576Z node2@127.0.0.1 <0.10412.0> 0cfe074626 127.0.0.1:5984 127.0.0.1 undefined GET /_active_tasks 200 ok 1
0 info it worked if it ends with ok
1 verbose cli [ '/Users/robert/.nvm/versions/v6.2.1/bin/node',
1 verbose cli '/Users/robert/.nvm/versions/v6.2.1/bin/npm',
1 verbose cli 'shrinkwrap' ]
2 info using npm@3.10.6
3 info using node@v6.2.1
4 info lifecycle fauxton@1.1.8~preshrinkwrap: fauxton@1.1.8
5 silly lifecycle fauxton@1.1.8~preshrinkwrap: no script for preshrinkwrap, continuing
6 warn shrinkwrap Excluding devDependency: abab@1.0.3 { async: '~0.2.6',
6 warn shrinkwrap babel: '^6.3.26',
diff --git a/Makefile b/Makefile
index 018c845..2fb8c7f 100644
--- a/Makefile
+++ b/Makefile
@@ -370,5 +370,6 @@ endif
share/www:
ifeq ($(with_fauxton), 1)
@echo "Building Fauxton"
- @cd src/fauxton && npm install --production && ./node_modules/grunt-cli/bin/grunt couchdb
+ @cd src/fauxton && npm install && npm run couchdb

api:

const database = 'animaldb';
const doc = 'flamingo';
FauxtonAPI.navigateUrl(['document', database, doc], { trigger: true });

implementation:

## european confs with cfp
- JS Conf EU
- LXJS (maybe again 2016?)
- MediterráneaJS
- Nordic.js
- ScotlandJS
- ScotlandCSS
- http://nodejsconf.it/
- ReactEurope
@robertkowalski
robertkowalski / iwmn.js
Created July 12, 2015 20:52
Show all iwantmyname domains on https://iwantmyname.com/domains/domain-name-registration-list-of-extensions that are cheaper than 15€/$
!function(a,c,o){for(b=a.length;b--;)o=a[b].innerText.match(/€(\d*)/),o&&o[1]>c&&a[b].remove()}(document.querySelectorAll('tr'),15)

Code

AnimalDB

Get it from:

http://examples.cloudant.com/animaldb