Skip to content

Instantly share code, notes, and snippets.

@michel47
michel47 / bal.log
Last active Apr 13, 2021
Timestamping artifacts (publication for hashes and verification data)
View bal.log
--- # bal logs ...
1617353635114590162: QmTkmv68hE12pndTtANPNNBnsyavyXXtARxN5QGBcH6NpM
View README.md

What do you use for a Gist icon ?

@michel47
michel47 / README.md
Last active Apr 11, 2021
embed anything into a png
View README.md

An image to make images ...

perl script

This little perl script makes an image out of anything ...

note: you'd need to have the program convert from [imageMagick][2]

@michel47
michel47 / README.md
Last active Apr 8, 2021
Tiny IPFS repository
View README.md

The minimum size repository for a running ipfs node is about 16KB

screenshot 1

~Dr I·T

@michel47
michel47 / README.md
Last active Apr 5, 2021
What is TOFU ?
View README.md

TOFU ?

TOFU is "Time of First Use"

This script is to determine you peerid and track the time of first use

note: you need to allow this origin url within your IPFS' config file

@michel47
michel47 / panpandoc.sh
Last active Apr 1, 2021
pandoc with fronmatter evaluated with markdown directly ...
View panpandoc.sh
#
# problem:
# using $variable$ within a markdown file and have pandoc evaluate them using the frontmatter
# solution:
# run pandoc twice using the file itself as template
# usage:
# sh panpandoc.sh markdownfile.md [outputfile.html]
intent="script to have frontmatter variables evaluated using pandoc"
@michel47
michel47 / README.html
Last active Apr 1, 2021
a tiny code to fetch your IPFS peerid and give you an url to your published name space (IPNS)
View README.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>get your IPFS PeerID</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
@michel47
michel47 / README.md
Last active Mar 31, 2021
web page integrity check using SHA256
View README.md
@michel47
michel47 / README.md
Last active Feb 28, 2021
Leap Second List Verification (SHA1)
View README.md
qmleaps sha1 ntp_mod ntp_exp ntp_offset
Qmet9TULQgmm3gE55BA8Htia7brVtQnVX6YZiSyDzhZ6Jk
89073fa89e913fd760559aa529d1feee5b0f6c91
3819011916
3849638400
2208992400

Verifying leap-seconds list file

The perl script 'leapssha1.pl' is computing the hash (sha1) of the data within a leap-seconds.list file