Skip to content

TeddyDD/scrapbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrapbox

Utils that don't deserve separate repo

httpwd

Create password credentials for htaccess and htpasswd files. Only bcrypt.

md2html

Convert markdown from stdint to html.Uses goldmark

psub

Standalone implementation of Fish shell psub

diff $(sort file1 | psub) $(sort file2 | psub)
# more or less equals
diff <(sort file1) <(sort file2)

Walk

Walk directory tree outputting paths to stdout.

nanoid

Generate nanoid

nanoid -c 16 # 0WDx0Y8QReDJpFzo

tg

Like jo but for HTML

$ tg p This is paragraph of $(tg -a class=foo b text)
<p>
This is paragraph of
<b class="foo" >
text
<b/>
<p/>

$ tg !DOCTYPE -a html | tg html $(tg head | tg body $(tg p hello world))
# ...

# Basic HTML5 template
$ tg p hello world | tg -b -t example
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
      example
    </title>
  </head>
  <body>
    <p>
      hello world
    </p>
  </body>
</html>

About

Utils that don't deserve separate repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •