Skip to content

Instantly share code, notes, and snippets.

View mentos1386's full-sized avatar
🚀
0110100001100101011011000110110001101111

Tine Jozelj mentos1386

🚀
0110100001100101011011000110110001101111
View GitHub Profile
async function bootstrap(): Promise<void> {
// create koa app
const app = new Koa();
const router = new Router();
// create connection with database
// note that its not active database connection
// TypeORM creates you connection pull to uses connections from pull on your requests
package com.example.tinej.iota3;
import android.Manifest;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.RemoteException;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
#include <SPI.h>
#include <Ethernet.h>
#include "PubSubClient.h"
// Update these with values suitable for your network.
byte mac[] = { 0xEA, 0x66, 0xCC, 0x6A, 0xF7, 0xCB };
IPAddress myDns(192, 168, 0, 1);
// Hue lights
IPAddress hueLightsHubIP(192, 168, 20, 85);
2019-12-16 08:57:52.435 DEBUG 1 --- [ XNIO-2 task-7] o.s.web.servlet.DispatcherServlet : Last-Modified value for [/webjars/bootstrap/3.3.7/css/bootstrap.min.css.map] is: -1
2019-12-16 08:57:52.437 DEBUG 1 --- [ XNIO-2 task-9] io.undertow.request.security : Attempting to authenticate /img/loading.gif, authentication required: false
2019-12-16 08:57:52.439 DEBUG 1 --- [ XNIO-2 task-8] io.undertow.request : Matched default handler path /app/01_hello
2019-12-16 08:57:52.440 DEBUG 1 --- [ XNIO-2 task-8] o.s.b.w.s.f.OrderedRequestContextFilter : Bound request context to thread: HttpServletRequestImpl [ POST /app/01_hello ]
2019-12-16 08:57:52.440 DEBUG 1 --- [ XNIO-2 task-8] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/app/01_hello'; against '/css/**'
2019-12-16 08:57:52.440 DEBUG 1 --- [ XNIO-2 task-8] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/app/01_hello'; against '/img/**'
2019-12-16 08:57:52.441 DEBUG 1 --
2019-12-16 09:10:40.071 DEBUG 1 --- [ XNIO-2 task-7] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/img/loading.gif'; against '/img/**'
2019-12-16 09:10:40.074 DEBUG 1 --- [ XNIO-2 task-7] o.s.security.web.FilterChainProxy : /img/loading.gif has an empty filter list
2019-12-16 09:10:40.074 DEBUG 1 --- [ XNIO-2 task-7] o.s.web.servlet.DispatcherServlet : DispatcherServlet with name 'dispatcherServlet' processing GET request for [/img/loading.gif]
2019-12-16 09:10:40.074 DEBUG 1 --- [ XNIO-2 task-7] s.w.s.m.m.a.RequestMappingHandlerMapping : Looking up handler method for path /img/loading.gif
2019-12-16 09:10:40.075 DEBUG 1 --- [ XNIO-2 task-7] s.w.s.m.m.a.RequestMappingHandlerMapping : Did not find handler method for [/img/loading.gif]
2019-12-16 09:10:40.074 DEBUG 1 --- [ XNIO-2 task-9] io.undertow.request.security : Attempting to authenticate /app/01_hello, authentication required: false
2019-12-16 09:10:40.075 DEBUG 1 --- [ XNIO-2 task-6] o.s.s.w.he
# github.com/ipfs/go-ipfs/core/bootstrap
../../go/pkg/mod/github.com/ipfs/[email protected]/core/bootstrap/bootstrap.go:220:14: undefined: config.BootstrapPeer
# github.com/ipfs/go-ipfs/dagutils
../../go/pkg/mod/github.com/ipfs/[email protected]/dagutils/diffenum.go:43:11: undefined: merkledag.EnumerateChildrenAsync
# github.com/libp2p/go-libp2p-autonat-svc
../../go/pkg/mod/github.com/libp2p/[email protected]/svc.go:50:3: cannot use dialer (type "github.com/libp2p/go-libp2p-core/host".Host) as type "github.com/libp2p/go-libp2p-host".Host in field value:
"github.com/libp2p/go-libp2p-core/host".Host does not implement "github.com/libp2p/go-libp2p-host".Host (wrong type for ConnManager method)
have ConnManager() connmgr.ConnManager
want ConnManager() ifconnmgr.ConnManager
# github.com/libp2p/go-libp2p-host
../../go/pkg/mod/github.com/libp2p/[email protected]/helpers.go:8:3: cannot use h.ID() (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in field value
# github.com/libp2p/go-libp2p-kbucket
../../go/pkg/mod/github.com/libp2p/[email protected]/table.go:81:27: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to rt.metrics.LatencyEWMA
../../go/pkg/mod/github.com/libp2p/[email protected]/table.go:246:66: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to rt.metrics.LatencyEWMA
# github.com/ipfs/go-ipns
../../go/pkg/mod/github.com/ipfs/[email protected]/record.go:77:26: cannot use pid (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to v.KeyBook.PubKey
../../go/pkg/mod/github.com/ipfs/[email protected]/record.go:82:2: cann

Museums

Skane

Johanna Museet

https://johannamuseet.se/

Sweden seems to have a tradition of museums based on “this one guy collected all this stuff during his life and now it is a museum”. Many of those guys were lesser nobility, but this one was more your working man. Anyway, it is a highly mixed collection that offers a peek into the Sweden of yesteryear. Definitely a curiosity in many ways, but an entertaining one.

Autoseum