Skip to content

Instantly share code, notes, and snippets.

View PatrickLerner's full-sized avatar

Patrick Lerner PatrickLerner

  • Instaffo GmbH
  • Europe
  • 17:03 (UTC +02:00)
View GitHub Profile
/**
* Looks at the triangle references in e and replaces the oldRef with the
* newRef
*
* @param e
* the edge
* @param oldRef
* the old reference that should be replaced
* @param newRef
* the new reference
<div class="question japanese">
<span>{{furigana:日本語}}</span>
</div>
<div class="answer">{{Meaning}}</div>
<div class="hidden">{{Audio}}</div>
#!/usr/bin/env bash
for num in {1..30} ; do
volume=$(printf %02d ${num%.*})
volumefolder="Mangajin v${volume}"
mkdir "${volumefolder}"
for i in {0..99} ; do
if (("$num" > "21")) && (("$num" < "29")) ; then
page=$(printf %03d ${i%.*})
else
{ scopeName = 'mythic';
fileTypes = ( 'mythics', 'mythicc' );
patterns = (
{ name = 'comment.block.mythic';
match = '^ (.+)';
captures = { 1 = { name = 'comment.block.mythic'; }; };
},
{ name = 'markup.heading.mythic';
match = '^(.+)\:$';
captures = { 1 = { name = 'markup.heading.mythic'; }; };