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 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 serve_this.md

Perl

exec perl -Mojo -E '$m=a("/");$m->static->paths(["."]);$m->start' daemon

Python

python -m http.server 8000 --bind 127.0.0.1

thttpd

View fragroute.md
$ apt-get install -y libpcap-dev libdumbnet-dev libevent1-dev
$ ln -s /usr/include/dumbnet.h /usr/include/dnet.h
$ ./configure --prefix=/usr
$ make
View libvirt-ss.py
#!/usr/bin/python
# https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainState
# https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/
# https://wiki.libvirt.org/page/VM_lifecycle
# How-to:
# - install required RPM packages
# - create XML config and instance disk:
# https://libvirt.org/formatdomain.html
View vim plugins.md