Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
make test

Sergey Bronnikov ligurio

💭
make test
View GitHub Profile
@ligurio
ligurio / pledge_unveil_support.md
Last active Jul 13, 2020
Support of OpenBSD pledge(2) and unveil(2) in programming languages
View Makefile
TEST = memtester
PKG_REQUIRED = memtester
LOOP = 1
AMOUNT != sysctl -n hw.physmem
REGRESS_LOG = ${.CURDIR}/${TEST}-`date +%Y-%m-%d-%MM-%SS`.log
REGRESS_TARGETS = run-regress-test-memtester
run-regress-test-memtester:
echo "Total RAM: ${AMOUNT}"
View test.py
#!/usr/bin/env python
# ./test.py --test-file test_labels.csv --bayes-file NaiveBayes_pred.csv --log-file LogisticRegression_pred.csv
#
import argparse
import sys
labels = []
bayes = []
View Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
View tla.md

Using TLA Plus on Ubuntu

Console

  • apt-get install -y java-common texlive-latex-base
  • Download TLA Tools (tla.zip) from https://github.com/tlaplus/tlaplus/releases
  • Unpack archive and add directory with content to a variable export CLASSPATH /home/sergeyb/Downloads/
$ java tlc2.TLC
$ java tla2sany.SANY
View .travis.yml
language: python
python:
- 2.7
before_install:
- sudo apt-get update
install:
- sudo add-apt-repository -y ppa:chris-lea/node.js
- sudo apt-get -y update
View mull.md
@ligurio
ligurio / tex.md
Last active Dec 4, 2020
How to build a Plain TeX
View tex.md

Overview - https://tex.stackexchange.com/a/211392

You are linking there to plain.tex which is a file written in TeX not the source of tex-the-program (which is tex.web)

These days if you want to compile from source it is probably best to start with a full download of the texlive build sources.

The sources are at

http://www.tug.org/texlive/svn/