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
PLAIN=plain_value | |
DQUOTE1="a value" # ignored comment | |
DQUOTE2="val1"" val2 " # ignored comment | |
SQUOTE1='a value' # ignored comment | |
SQUOTE2='val1'' val2 ' # ignored comment | |
SHOULD_NOT_BE_PRESENT="value" true | |
HAS_EQ=value_has_=_sign |
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
#!/bin/bash | |
true;exec "$(dirname $0)/node_modules/.bin/nbb" "$(which "$0")" "$@" || exit | |
(ns foo | |
(:require [clojure.string :as S] | |
[clojure.pprint :refer [pprint]] | |
[promesa.core :as P] | |
[cljs-bean.core :refer [->clj ->js]] | |
["fs/promises" :as fs] | |
["path" :as path] |
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
#!/usr/bin/env python | |
# You may use this under an MIT license | |
from time import time, sleep | |
from signal import signal, SIGINT | |
import subprocess | |
import sys | |
def write_read(p): |
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
FROM ubuntu:20.04 as base | |
RUN apt-get -y update | |
RUN apt-get -y install iproute2 |
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
FROM ubuntu:20.04 | |
#FROM ubuntu:21.10 | |
RUN apt-get -y update # 6 | |
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | |
ENV container docker | |
RUN apt-get -y install systemd ifupdown net-tools isc-dhcp-client | |
RUN systemctl enable networking && \ |
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
$ make DOCKERIZE=1 docker-shell^prolog | |
06274d225e7c:/mal/impls/prolog$ | |
[K 06274d225e7c:/mal/impls/prolog$ swipl ../prolog/step6_file.pl ../tests/print_argv.mal aaa bb | |
bb ccc | |
EVAL: (def! not (fn* [a] (if a false true))) in *:<fn> +:<fn> -:<fn> /:<fn> <:<fn> <=:<fn> =:<fn> >:<fn> >=:<fn> apply:<fn> assoc:<fn> atom:<fn> atom?:<fn> concat:<fn> conj:<fn> cons:<fn> contains?:<fn> count:<fn> deref:<fn> dissoc:<fn> empty?:<fn> eval:<fn> false?:<fn> first:<fn> fn?:<fn> get:<fn> hash-map:<fn> keys:<fn> keyword:<fn> keyword?:<fn> list:<fn> list?:<fn> macro?:<fn> map:<fn> map?:<fn> meta:<fn> nil?:<fn> nth:<fn> number?:<fn> pr-str:<fn> println:<fn> prn:<fn> prolog-asserta:<fn> prolog-call:<fn> read-string:<fn> readline:<fn> reset!:<fn> rest:<fn> seq:<fn> sequential?:<fn> slurp:<fn> str:<fn> string?:<fn> swap!:<fn> symbol:<fn> symbol?:<fn> throw:<fn> time-ms:<fn> true?:<fn> vals:<fn> vec:<fn> vector:<fn> vector?:<fn> with-meta:<fn> | |
EVAL: (fn* [a] (if a false true)) in *:<fn> +:<fn> -:<fn> /:<fn> <:<fn> <=:<fn> = |
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
# Start servo in headless mode with webdriver | |
./mach run --release -z --webdriver=7002 --resolution=400x300 | |
# Put test4.html, rend.css and norm.css in current directory | |
# Start a simple webserver | |
python3 -m http.server 9080 | |
# Repeatedly load test4.html test file until servo crashes | |
time ./load_test4.sh |
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
$ env RUST_LOG=wasmtime_wasi=trace wasmtime -d --dir=/ ./stepA_mal.wasm | |
TRACE wasmtime_wasi::syscalls > args_sizes_get(argc=0x8a4, argv_buf_size=0x8ac) | |
TRACE wasmtime_wasi::syscalls > | *argc=1 | |
TRACE wasmtime_wasi::syscalls > | *argv_buf_size=15 | |
TRACE wasmtime_wasi::syscalls > -> errno=__WASI_ESUCCESS | |
TRACE wasmtime_wasi::syscalls > args_get(argv=0x8b4, argv_buf=0x8b8) | |
TRACE wasmtime_wasi::syscalls > -> errno=__WASI_ESUCCESS | |
TRACE wasmtime_wasi::syscalls > fd_write(fd=1, iovs=0x834, iovs_len=1, nwritten=0x82c) | |
Mal [WebAssembly] | |
TRACE wasmtime_wasi::syscalls > | *nwritten=18 |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.6/nv.d3.min.css" rel="stylesheet" type="text/css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.2/d3.min.js" charset="utf-8"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/nvd3/1.8.6/nv.d3.min.js"></script> | |
<style> | |
text { | |
font: 12px sans-serif; |
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
#!/usr/bin/env node | |
const VERBOSE = process.argv.indexOf('-v') > 0 | |
const fs = require('fs') | |
const re_ignore = /^$|^[^\/]+ |^docs\/|^tests\/|\.css CSS|\.h C-header|\.md Markdown/ | |
//const re_ignore = /^$|^[^\/]+ |^docs\/|^tests\// | |
const re_loc = /([^\/]+)\/([^ ]+) ([^ ]+) ([0-9]+) ([0-9]+)/ | |
const lines = fs.readFileSync(0, 'utf-8').split('\n') | |
// implementation directory to file type mapping |
NewerOlder