This file has been truncated, but you can view the full file.
This file contains hidden or 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
{ | |
"mdsCollections": [ | |
{ | |
"fido-mds1": { | |
"toc": { | |
"nextUpdate": "2018-07-06", | |
"no": 63 | |
}, | |
"entries": { | |
"0013#0061": { |
This file contains hidden or 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
CC=emcc | |
CFLAGS = | |
CFLAGS += -Wall | |
CFLAGS += -Werror | |
CFLAGS += -s MODULARIZE | |
CFLAGS += -s EXIT_RUNTIME | |
all: | |
emcc leak.c $(CFLAGS) -o build/test.js |
This file contains hidden or 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
// setup: | |
// npm init -y | |
// npm install --save redisgraph.js | |
// run with: | |
// deno run --allow-all --unstable --compat test.ts | |
const RedisGraph = require("redisgraph.js").Graph; | |
let graph = new RedisGraph("social"); |
This file contains hidden or 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
// run with: | |
// deno run --allow-all --unstable test.ts | |
import { Graph as RedisGraph } from "https://esm.sh/redisgraph.js"; | |
let graph = new RedisGraph("social"); | |
// fails with error: | |
/* | |
error: Uncaught Error: Not implemented | |
throw new Error(message); |
This file contains hidden or 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
[I 01:30:17.834 NotebookApp] Kernel started: aefa459b-5c3e-4d6c-8791-7e42723d61cf, name: rusty | |
[D 01:30:17.834 NotebookApp] Kernel args: {'kernel_name': 'rusty', 'cwd': '/Users/ampower/Projects/personal/ideno-rust'} | |
[D 01:30:17.834 NotebookApp] Path toc2/toc2.js served from /Users/ampower/Library/Jupyter/nbextensions/toc2/toc2.js | |
[D 01:30:17.835 NotebookApp] 200 GET /nbextensions/toc2/toc2.js?v=20211212013005 (::1) 5.130000ms | |
[D 01:30:17.835 NotebookApp] Path collapsible_headings/main.css served from /Users/ampower/Library/Jupyter/nbextensions/collapsible_headings/main.css | |
[D 01:30:17.836 NotebookApp] 200 GET /nbextensions/collapsible_headings/main.css?v=20211212013005 (::1) 5.520000ms | |
[D 01:30:17.837 NotebookApp] Using contents: services/contents | |
[W 01:30:17.838 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20211212013005 (::1) 6.600000ms referer=http://localhost:8888/notebooks/Untitled15.ipynb?kernel_name=rusty | |
[D 01:30:17.840 NotebookApp] 201 POST /api/sessions (::1) 59.690000ms | |
[D |
This file contains hidden or 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
// /* ***************** | |
// * SHELL MESSAGES | |
// * *****************/ | |
// Shell Request Message Types | |
// "execute_request" // https://jupyter-client.readthedocs.io/en/latest/messaging.html#execute | |
// "inspect_request" // https://jupyter-client.readthedocs.io/en/latest/messaging.html#introspection | |
// "complete_request" // https://jupyter-client.readthedocs.io/en/latest/messaging.html#completion | |
// "history_request" // https://jupyter-client.readthedocs.io/en/latest/messaging.html#history |
This file contains hidden or 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
use std::collections::HashMap; | |
macro_rules! handler { | |
($kernel:expr, $method:ident) => { | |
Box::new(|x| $kernel.$method(x)) | |
}; | |
} | |
fn main() { | |
let k = Kernel::new(); |
This file contains hidden or 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
88665a0e64ba:deno ampower$ jupyter notebook | |
[D 08:31:18.955 NotebookApp] Raising open file limit: soft 256->4096; hard 9223372036854775807->9223372036854775807 | |
[D 08:31:18.979 NotebookApp] Paths used for configuration of jupyter_notebook_config: | |
/etc/jupyter/jupyter_notebook_config.json | |
[D 08:31:18.980 NotebookApp] Paths used for configuration of jupyter_notebook_config: | |
/usr/local/etc/jupyter/jupyter_notebook_config.json | |
[D 08:31:18.980 NotebookApp] Paths used for configuration of jupyter_notebook_config: | |
/usr/local/Cellar/jupyterlab/3.2.4/libexec/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json | |
/usr/local/Cellar/jupyterlab/3.2.4/libexec/etc/jupyter/jupyter_notebook_config.json | |
[D 08:31:18.981 NotebookApp] Paths used for configuration of jupyter_notebook_config: |
This file contains hidden or 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
import * as log from "https://deno.land/[email protected]/log/mod.ts"; | |
const l = log.getLogger("default"); | |
l.level = log.LogLevels.DEBUG; | |
l.debug("Hello world"); // XXX: never printed!!! | |
l.info(123456); | |
l.warning(true); | |
l.error({ foo: "bar", fizz: "bazz" }); | |
l.critical("500 Internal server error"); |
This file contains hidden or 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: ingress | |
namespace: ingress | |
spec: | |
selector: | |
name: nginx-ingress-microk8s | |
type: LoadBalancer | |
# loadBalancerIP is optional. MetalLB will automatically allocate an IP |