» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
- Open
/etc/wsl.conf
with any editor:
» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
/etc/wsl.conf
with any editor:Note: This was written using elasticsearch 0.9.
Elasticsearch will automatically create an index (with basic settings and mappings) for you if you post a first document:
$ curl -X POST 'http://localhost:9200/thegame/weapons/1' -d \
'{
"_id": 1,
require 'benchmark' | |
class Foo | |
def optshash opts={}; [opts[:a], opts[:b]] end | |
def anykwargs **kw; [kw[:a], kw[:b]] end | |
def specific_kwargs(a:1, b:2) [a, b] end | |
end | |
TIMES = 1_000_000 | |
foo = Foo.new |
Assumptions:
This gist assumes: