cd
git clone [email protected]:php-src.git
or if you're behind firewall
#!/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 |
@Library('globalLibrary') _ | |
pipeline { | |
agent any | |
options { | |
ansiColor('xterm') | |
timestamps() | |
timeout(time: 1, unit: 'HOURS') | |
} | |
environment { |
#!/usr/bin/env ruby | |
require 'gtk2' | |
Gtk.init | |
w = Gtk::Window.new('Title') | |
w.show_all | |
Gtk.main |
# put this file in config/initializers/monkey_patches.rb | |
require 'monkey_patches/active_support/time_zone' |
<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> |
cd
git clone [email protected]:php-src.git
or if you're behind firewall
#!/bin/bash | |
# /etc/init.d/xvfb_daemon | |
# Xvfb startup script. | |
# Tom Meier <[email protected]> | |
# | |
### 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: |