Skip to content

Instantly share code, notes, and snippets.

View test.puml
alice -> bob
View wkhtmltopdf-example-test
17:32 $ ./wkhtmltopdf-linux-x64 ~/Downloads/untitled.html test.pdf
Loading pages (1/6)
QSslSocket: cannot resolve CRYPTO_num_locks ] 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
danyill / gnucsator_output.txt
Created Mar 7, 2020 on HAM_C1_Unbalance_COMTRADE_test21_was_fails.sch
View gnucsator_output.txt
Starting new simulation on Sat 07. Mar 2020 at 22:25:54:261
creating netlist... done.
default plugins: master 2017.10.03
;: already installed, replacing
stashing as ;:0
*: already installed, replacing
stashing as *:0
danyill / HAM_C1_Unbalance_COMTRADE_test21_was_fails_with_qucs_0_0_20.netlist.txt
Created Mar 7, 2020
View HAM_C1_Unbalance_COMTRADE_test21_was_fails_with_qucs_0_0_20.netlist.txt
# Qucs 0.0.20 /media/mulhollandd/KINGSTON/HAM_C1_Testing/qucs_models/20200306_Transient_Model/HAM_C1_Unbalance_COMTRADE_test21_was_fails_with_qucs_0_0_20.sch
IProbe:LegTLR _net0 _net1
R:RRS _net2 _net3 R="5 Ohm" Temp="26.85" Tc1="0.0" Tc2="0.0" Tnom="26.85"
IProbe:IR_Total _net2 _net4
Vac:VR _net3 _net5 U="69.86 kV" f="50 Hz" Phase="0" Theta="0"
C:CTR1R R_R _net6 C="12.05 uF" V=""
C:CTL3R1 R_L _net7 C="14.464 uF" V=""
IProbe:UnbalanceCurrentR R_L R_R
VProbe:CanVoltage1 _net1 _net7
danyill / vega-example.adoc
Last active Feb 11, 2020
Asciidoctor-diagram and vega example
View vega-example.adoc

Test Vega

  "$schema": "",
  "width": 400,
  "height": 200,
  "padding": 5,
View build_tools__sectionTreeProcessor.js
// asciidoctor-pdf -r ./build_tools/sectionTreeProcessor.js --template-require ./build_tools/sectionConverter.js -a purpose=pdf P_and_A_Update.adoc
// console.log('Loaded SectionTreeProcessor')
function removeElement(arr, e) {
arr.splice(arr.indexOf(e), 1)
function last(array) {
View build_tools__sectionConverter.js
// const asciidoctor = require('asciidoctor.js')()
// console.log('Loaded SectionConverter')
class SectionConverter {
constructor() {
const self = this
self.baseConverter = Opal.Asciidoctor.Html5Converter.$new()
self.templates = {
section: (node) => SectionConverter.convertSection(node)
View rouge and asciidoctor
21:21 $ asciidoctor -v Asciidoctor 2.0.10 []
Runtime Environment (ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
21:20 $ asciidoctor --trace -r ./lib/src-inline-macro.rb ./lib/src-inline-macro/sample.adoc
Traceback (most recent call last):
26: from /usr/bin/asciidoctor:15:in `<main>'
25: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:111:in `invoke!'
24: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:111:in `each'
23: from /usr/lib/ruby/vendor_ruby/asciidoctor/cli/invoker.rb:128:in `block in invoke!'
22: from /usr/lib/ruby/vendor_ruby/asciidoctor/convert.rb:183:in `convert_file'
danyill / asciidoc-static.adoc
Created Jan 2, 2020 — forked from briandominick/asciidoc-static.adoc
Static Site Generators with AsciiDoc Support
View asciidoc-static.adoc

There are 19 static site generators that support AsciiDoc sourcing.

danyill / defaults.adoc
Created Dec 30, 2019
Dan's defaults for asciidoc
View defaults.adoc
:figure-caption: Figure
:toc: left
:docinfo: shared
:docinfodir: {assetdir}
:docinfosubs: attributes
:stylesheet: asciidoctor.css
:scriptsdir: {assetdir}
You can’t perform that action at this time.