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
| export VERSION := $(shell mvn help:evaluate -Dexpression=project.version -q -DforceStdout) | |
| export PASSWORD := arcadedb | |
| export DATABASE := test | |
| .PHONY: default build image test itest start console deps | |
| default: | |
| @echo "make # list available targets" | |
| @echo "make build # build ArcadeDB" | |
| @echo "make image # build ArcadeDB Docker image" |
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
| ## Chicken Scheme Dockerfile | |
| # Build: docker build -t chicken:latest . | |
| # Usage: docker run -it chicken | |
| FROM alpine:latest | |
| RUN apk add --no-cache chicken | |
| RUN chicken-install linenoise | |
| # RUN chicken-install other-egg | |
| RUN adduser -D -g '' chicken | |
| USER chicken | |
| WORKDIR /home/chicken |
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 | |
| # Usage: ./init.sh localhost 2480 mydb root password myscript.sql | |
| ## Assign input commandline arguments | |
| HOST=$1 | |
| PORT=$2 | |
| NAME=$3 | |
| USER=$4 |
INSERT
INTO <type>|BUCKET:<bucket>|<index> [(<field>[,]*) VALUES (<expression>[,]*)[,]*]|
[SET <field> = <expression>|<command>[,]*]|[CONTENT {<json>}] [RETURN <expression>] [FROM <query>]
SELECT
[<projections>] [FROM <target> [LET <assignment>*]] [WHERE <condition>*] [GROUP BY <field>*] [ORDER BY <fields>* [ASC|DESC]*]
[UNWIND *] [SKIP ] [LIMIT ] [TIMEOUT []]
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
| function v = versioninfo() | |
| %%% project: versioninfo (clone of Julia's versioninfo for Octave and MATLAB) | |
| %%% version: 1.0 ( 2019-02-07 ) | |
| %%% authors: C. Himpe ( 0000-0003-2194-6754 ) | |
| %%% license: BSD 2-Clause License ( opensource.org/licenses/BSD-2-Clause ) | |
| %%% summary: Collect compute environment and version information on Linux | |
| % Interpreter name | |
| if(exist('OCTAVE_VERSION','builtin')) | |
| v.name = 'OCTAVE'; |
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
| function flamegraph(profdata) | |
| ### project: flamegraph | |
| ### authors: Christian Himpe (0000-0003-2194-6754) | |
| ### version: 0.3 (2021-02-06) | |
| ### license: BSD-2-Clause (opensource.org/licenses/BSD-2-Clause) | |
| ### summary: Flame graph visualization for Octave's profiler output. | |
| # | |
| # USAGE: | |
| # | |
| # profile on; |
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 | |
| # project: build_oct | |
| # version: 1.12 (2023-01-01) | |
| # authors: C. Himpe (0000-0003-2194-6754), M. Koehler (0000-0003-2338-9904) | |
| # license: BSD-2-Clause License (opensource.org/licenses/BSD-2-Clause) | |
| # summary: Build Octave and numerical dependencies from source (in Ubuntu 20.04 with GCC >= 10.3). | |
| # requires hardware: either X86-64 with AVX2 or ARM64 with NEON. | |
| # requires software packages: octave libpcre2-dev libreadline-dev libgmp3-dev libmpfr-dev libfreetype6-dev libgl2ps-dev libfontconfig1-dev libglu1-mesa-dev |
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/sh | |
| for i in *.eps; do | |
| epspdf ${i} | |
| done | |
| for i in *.pdf; do | |
| pdfcrop ${i} ${i} | |
| done |
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/sh | |
| echo $((`cat /sys/class/thermal/thermal_zone0/temp` / 1000)) |
NewerOlder