This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2022 Dave Voutila <[email protected]> | |
* | |
* Permission to use, copy, modify, and distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
## When pointed at an import directory (see https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/) | |
## this script identifies the graph entities and builds the stream of nodes and relationships. | |
import neo4j_arrow as na | |
import pyimport as pi # see https://github.com/neo4j-field/neo4j-arrow/blob/bulk-import/src/python/pyimport.py | |
from time import time | |
from sys import argv, exit | |
if __name__ != '__main__': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/neo4j/neo4j-go-driver/v4/neo4j" | |
) | |
// Run the given cypher and print the results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Build via `go build`...should just work. Use the "-mangle" flag to simulation a | |
bad password (it just tacks on an extra char). This lets you play with testing | |
the behavior of good vs bad auth attempts. | |
NOTE: don't give a bolt uri...just ip/host and port! | |
Usage of ./authtest: | |
-host string | |
hostname:ip for neo4j (default "localhost:7687") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/surface/compute/config_ssh.py b/lib/surface/compute/config_ssh.py | |
index 41bd6794..f9d14517 100644 | |
--- a/lib/surface/compute/config_ssh.py | |
+++ b/lib/surface/compute/config_ssh.py | |
@@ -193,7 +193,7 @@ def _CreateAlias(instance_resource): | |
return '.'.join(parts) | |
-def _BuildComputeSection(instances, private_key_file, known_hosts_file): | |
+def _BuildComputeSection(user, instances, private_key_file, known_hosts_file): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: i8253.c | |
=================================================================== | |
RCS file: /cvs/src/usr.sbin/vmd/i8253.c,v | |
retrieving revision 1.31 | |
diff -u -p -u -p -r1.31 i8253.c | |
--- i8253.c 30 Nov 2019 00:51:29 -0000 1.31 | |
+++ i8253.c 7 Jun 2020 13:53:52 -0000 | |
@@ -30,6 +30,7 @@ | |
#include "i8253.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
? parse.c | |
Index: Makefile | |
=================================================================== | |
RCS file: /cvs/src/usr.sbin/vmd/Makefile,v | |
retrieving revision 1.22 | |
diff -u -p -u -p -r1.22 Makefile | |
--- Makefile 18 Jan 2019 01:24:07 -0000 1.22 | |
+++ Makefile 3 Jun 2020 12:38:27 -0000 | |
@@ -7,6 +7,7 @@ SRCS= vmd.c control.c log.c priv.c proc | |
SRCS+= vm.c loadfile_elf.c pci.c virtio.c i8259.c mc146818.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const neo4j = require('neo4j-driver') | |
const queryTemplate = ` | |
MATCH (u:User {id: 'some-user-id'})-[:POSTED_ON_2020_05_10|POSTED_ON_2020_05_17]->(p:Post) | |
RETURN p ORDER BY p.createdAt; | |
` | |
let driver = neo4j.driver( | |
'neo4j://localhost', | |
neo4j.auth.basic('neo4j', 'password') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Makefile | |
=================================================================== | |
RCS file: /cvs/src/usr.sbin/vmd/Makefile,v | |
retrieving revision 1.22 | |
diff -u -p -u -p -r1.22 Makefile | |
--- Makefile 18 Jan 2019 01:24:07 -0000 1.22 | |
+++ Makefile 2 Jun 2020 12:43:26 -0000 | |
@@ -7,6 +7,7 @@ SRCS= vmd.c control.c log.c priv.c proc | |
SRCS+= vm.c loadfile_elf.c pci.c virtio.c i8259.c mc146818.c | |
SRCS+= ns8250.c i8253.c vmboot.c ufs.c disklabel.c dhcp.c packet.c |
NewerOlder