Skip to content

Instantly share code, notes, and snippets.

💭
git push -f

Sergey Bronnikov ligurio

💭
git push -f
Block or report user

Report or block ligurio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tappy-example.py
from tap.parser import Parser
output = """
TAP version 13
1..3
DsMakeSpn: HTTP/LAB1-W2K8R2-GW.lab1.awake.local
ok 1 - TestDsMakeSpn # 0.004000
ok 2 - TestDsCrackNames # 0.000000
ok 3 - TestDsCrackNames # SKIP
[100%] Built target kos-qemu-image-TestDsParse-sim
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
@ligurio
ligurio / Gemfile
Last active Feb 15, 2018
GMail mail filters
View Gemfile
source 'https://rubygems.org'
gem 'gmail-britta', '~>0.1.6'
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 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 vim plugins.md
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
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}"
You can’t perform that action at this time.