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
FROM debian:buster AS builder | |
ENV NODE_VERSION 10.16.0 | |
ENV YARN_VERSION 1.16.0 | |
COPY KEYS.* /tmp/ | |
WORKDIR /root | |
RUN set -ex; \ |
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
.PHONY: all | |
all: hello | |
hello: hello.o | |
$(LD) hello.o -o hello | |
hello.o: hello.S | |
$(AS) hello.S -o hello.o | |
.PHONY: clean |
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
LDLIBS = -llua5.3 | |
.PHONY: all | |
all: build run | |
build: build.c | |
run: run.c | |
.PHONY: clean |
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
(module | |
(type (;0;) (func (param i32 i32) (result i32))) | |
(type (;1;) (func (result i32))) | |
(type (;2;) (func)) | |
(import "env" "__memory_base" (global (;0;) i32)) | |
(import "env" "memory" (memory (;0;) 256)) | |
(func (;0;) (type 0) (param i32 i32) (result i32) | |
local.get 0 | |
global.get 0 | |
i32.const 5242900 |
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
the | |
the quick | |
the quick brown | |
the quick brown fox | |
quick | |
quick brown | |
quick brown fox | |
quick brown fox jumped | |
brown | |
brown fox |
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/sh | |
# IN: deadbeef | |
# OUT: \xde\xad\xbe\xef | |
hexify() { | |
echo "$1" | fold -w 2 | sed -e 's/^/\\x/' | paste -s -d '' | |
} |
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
/* | |
* JsonRpcClient.js 1.0 - A Node.js JSON-RPC client | |
* | |
* Written in 2019 by Matt Smith <[email protected]> | |
* | |
* To the extent possible under law, the author(s) have dedicated all | |
* copyright and related and neighboring rights to this software to | |
* the public domain worldwide. This software is distributed without | |
* any warranty. | |
* |
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
find_path(HTTP_PARSER_INCLUDE_DIR NAMES http_parser.h) | |
mark_as_advanced(HTTP_PARSER_INCLUDE_DIR) | |
find_library(HTTP_PARSER_LIBRARY NAMES http_parser libhttp_parser) | |
mark_as_advanced(HTTP_PARSER_LIBRARY) | |
if(DEFINED HTTP_PARSER_INCLUDE_DIR) | |
file(STRINGS "${HTTP_PARSER_INCLUDE_DIR}/http_parser.h" _HTTP_PARSER_H REGEX | |
"#define HTTP_PARSER_VERSION_(MAJOR|MINOR|PATCH) [0-9]+") | |
foreach(c MAJOR MINOR PATCH) |
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
find_path(LIBUV_INCLUDE_DIR NAMES uv.h) | |
mark_as_advanced(LIBUV_INCLUDE_DIR) | |
find_library(LIBUV_LIBRARY NAMES uv libuv) | |
mark_as_advanced(LIBUV_LIBRARY) | |
if(DEFINED LIBUV_INCLUDE_DIR AND EXISTS "${LIBUV_INCLUDE_DIR}/uv/version.h") | |
file(STRINGS "${LIBUV_INCLUDE_DIR}/uv/version.h" _LIBUV_H REGEX | |
"#define UV_VERSION_(MAJOR|MINOR|PATCH) [0-9]+") | |
foreach(c MAJOR MINOR PATCH) |
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
(defun disable-scroll-bars (frame) | |
(modify-frame-parameters frame | |
'((vertical-scroll-bars . nil) | |
(horizontal-scroll-bars . nil)))) | |
(disable-scroll-bars frame-initial-frame) | |
(add-hook 'after-make-frame-functions #'disable-scroll-bars) |
OlderNewer