Skip to content

Instantly share code, notes, and snippets.

Robert Kowalski robertkowalski

Block or report user

Report or block robertkowalski

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 proxy.js
// wrap "old" sunbeam instance so usage stays same for users
class Sbw {
constructor(client, opts) {
const w = new Sunbeam({}, opts)
const trap = {
get: function(obj, prop) {
if (obj[prop]) return obj[prop]
View 1.txt
node test.js --debug 1 --foo=2 --blerg
// { debug: '1', foo: '2', blerg: true }
@robertkowalski
robertkowalski / Unconf.md
Created Apr 5, 2018
What is an Unconference?
View Unconf.md

What is an Unconference?

An Unconference is an event for and driven by the attendees. The audience actively participates in the unconference by proposing topics, holding presentations (if you like to) and by choosing which topics shall be presented. Only the most interesting ones are presented.

How does an Unconference work?

  • Each attendee can propose contributions, which can be talks, workshops, discussion ideas or happenings.
  • Everyone can claim an interest, which can be everything. Hopefully, someone will contribute something to that topic.
  • The porposed contributions are presented to the audience.
  • Everyone votes on the contributions.
View test.diff
diff --git a/test/ping.js b/test/ping.js
index a9631d9..3288440 100644
--- a/test/ping.js
+++ b/test/ping.js
@@ -44,6 +44,7 @@ test('testing clones', function (t) {
dht2.on('ready', function () {
dht2.destroy(function () {
+ //console.log("----")
dht3 = dht({bootstrap: ['127.0.0.1:10000']})
View example-language-tool.js
{
"software":{
"name":"LanguageTool",
"version":"4.0-SNAPSHOT",
"buildDate":"2017-11-29 21:01",
"apiVersion":1,
"status":""
},
"warnings":{
"incompleteResults":false
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHlSTnX+h3zCDKWZhFDKU2KXzJPg9enu65Fl0ckiYUbdg+f1U5WE3EB2LGHg7CHS7nOVjDNypVAI9haRZ9Payy8nSSZBidxTt0TdUSLpI1qv7EMjWjv6hejdXjPVUVbzKOhc5Anb3UEAzOd3L/+2FqsaM0+/c0nLTxajReq9jUr8Mu+d2gisICkEKPccyZqV7bmbv2zN5XFWt6amw+fjT1Wnna/FjBMOa3ysnwg1ZNa8oR/oyjx9rzzYCpjvJxIH462XeBzzMV1pnq+Xq7CquTG4gFoXEeFii3fYX0r3/L4amHcl4TTqBP/sAWfGb7MVPeUKnpYcdrHQ77jk6TDkb1 robert@tequila-new.fritz.box
View call.erl
handle_graphql(Req) ->
Res = 'Elixir.Chttpd.Graphql':run(),
io:format("~p", [Res]),
send_json(Req, {[
{res, "Res"}
]}).
View gist:8abed19f0fab7c4f04233636ff82fb7a
[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
View npm-maximum-call-stack.log
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',
View diff.diff
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
You can’t perform that action at this time.