Skip to content

Instantly share code, notes, and snippets.

View conf's full-sized avatar

Aleksey Shein conf

View GitHub Profile
@conf
conf / dump2pdf.sh
Last active December 26, 2019 11:41 — forked from nicolas-raoul/dump2pdf.sh
#!/bin/sh
# Usage example: ./dump2pdf thread-dump.txt # will create thread-dump.pdf
ruby tdg.rb $1 > /tmp/graph.dot
dot -Tpdf /tmp/graph.dot -o ${1%.*}.pdf
<div class="reviews"data-chars="190" data-more="больше" data-less="скрыть">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Vestibulum laoreet, nunc eget laoreet sagittis,
quam ligula sodales orci, congue imperdiet eros tortor ac lectus.
Duis eget nisl orci. Aliquam mattis purus non mauris
blandit id luctus felis convallis.
Integer varius egestas vestibulum.
Nullam a dolor arcu, ac tempor elit. Donec.
</div>
@conf
conf / xvfb_daemon.sh
Created March 2, 2012 18:13 — forked from tommeier/xvfb_daemon.sh
Xvfb startup init script for headless selenium started via Jenkins
#!/bin/bash
# /etc/init.d/xvfb_daemon
# Xvfb startup script.
# Tom Meier <tom@venombytes.com>
#
### BEGIN INIT INFO
# Provides: xvfb
# Short-Description: Start/stop/restart daemon
# Description: Controls the Xvfb daemon which starts/stops the X Virtual Framebuffer server
# Example Use: