diff options
Diffstat (limited to '')
-rw-r--r-- | v2/src/content/pastebins/sicp-exercise-3-19.md | 113 | ||||
l--------- | v2/src/content/security.txt | 1 | ||||
l--------- | v2/src/content/static/atom.svg | 1 | ||||
l--------- | v2/src/content/static/envelope.svg | 1 | ||||
l--------- | v2/src/content/static/favicon.svg | 1 | ||||
l--------- | v2/src/content/static/link.svg | 1 | ||||
l--------- | v2/src/content/static/lock.svg | 1 | ||||
l--------- | v2/src/content/static/public.asc.txt | 1 | ||||
-rw-r--r-- | v2/src/content/static/styles.css | 149 |
9 files changed, 269 insertions, 0 deletions
diff --git a/v2/src/content/pastebins/sicp-exercise-3-19.md b/v2/src/content/pastebins/sicp-exercise-3-19.md new file mode 100644 index 0000000..fd2c52b --- /dev/null +++ b/v2/src/content/pastebins/sicp-exercise-3-19.md @@ -0,0 +1,113 @@ +--- + +TITLE='SICP exercise 3.19' + +DATE='2021-09-02' + +LAYOUT='post' + +LANGUAGE='en' + +REF='sicp-exercise-3-19' + +--- + +Some content here, before: + +```scheme +(define (cycle? l) + (define (rec l x) + (cond + ((null? x) false) + ((eq? l x) true) + (true (rec l (cdr x))))) + (rec l (cdr l))) +``` + +Sample interactive session: + +```scheme +scheme@(guile-user)> (define true #t) +scheme@(guile-user)> (define false #f) +scheme@(guile-user)> +(define (cycle? l) + (define (rec l x) + (cond + ((null? x) false) + ((eq? l x) true) + (true (rec l (cdr x))))) + (rec l (cdr l))) +scheme@(guile-user)> (cycle? '(1 2 3)) +$9 = #f +scheme@(guile-user)> (cycle? (make-cycle '(1 2 3))) +$10 = #t +``` + +# An h1 + +a list: + +1. one +2. two +3. three + +some content. + +- item +- another +- yet another + +## An h2 + +Xablau: + +``` +xupliu 1 + +3 +4 + + + + + +dez +``` + +Foi `wikiwiu`. + +a very long code block: + +``` +wef +wef wef wef wef +wef wef wef wef we fwef wef wef wef wef +``` + +Someone said: + +> Xablau, xupliu. + +### A repeated header +### A repeated header + +a big list: + +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a +1. a diff --git a/v2/src/content/security.txt b/v2/src/content/security.txt new file mode 120000 index 0000000..abdf74b --- /dev/null +++ b/v2/src/content/security.txt @@ -0,0 +1 @@ +.well-known/security.txt
\ No newline at end of file diff --git a/v2/src/content/static/atom.svg b/v2/src/content/static/atom.svg new file mode 120000 index 0000000..41c6d3f --- /dev/null +++ b/v2/src/content/static/atom.svg @@ -0,0 +1 @@ +../../../../static/atom.svg
\ No newline at end of file diff --git a/v2/src/content/static/envelope.svg b/v2/src/content/static/envelope.svg new file mode 120000 index 0000000..bd0c577 --- /dev/null +++ b/v2/src/content/static/envelope.svg @@ -0,0 +1 @@ +../../../../static/envelope.svg
\ No newline at end of file diff --git a/v2/src/content/static/favicon.svg b/v2/src/content/static/favicon.svg new file mode 120000 index 0000000..33566ab --- /dev/null +++ b/v2/src/content/static/favicon.svg @@ -0,0 +1 @@ +../../../../static/lord-favicon.svg
\ No newline at end of file diff --git a/v2/src/content/static/link.svg b/v2/src/content/static/link.svg new file mode 120000 index 0000000..bf69c40 --- /dev/null +++ b/v2/src/content/static/link.svg @@ -0,0 +1 @@ +../../../../static/link.svg
\ No newline at end of file diff --git a/v2/src/content/static/lock.svg b/v2/src/content/static/lock.svg new file mode 120000 index 0000000..f9a4f33 --- /dev/null +++ b/v2/src/content/static/lock.svg @@ -0,0 +1 @@ +../../../../static/lock.svg
\ No newline at end of file diff --git a/v2/src/content/static/public.asc.txt b/v2/src/content/static/public.asc.txt new file mode 120000 index 0000000..5175f38 --- /dev/null +++ b/v2/src/content/static/public.asc.txt @@ -0,0 +1 @@ +../../../../public.asc
\ No newline at end of file diff --git a/v2/src/content/static/styles.css b/v2/src/content/static/styles.css new file mode 100644 index 0000000..0ec67a8 --- /dev/null +++ b/v2/src/content/static/styles.css @@ -0,0 +1,149 @@ +/* General declarations */ + +body { + margin: 0px auto; + padding: 1%; + max-width: 750px; +} + +.svg-icon { + vertical-align: middle; +} + + +/* Navigation header */ + +nav a { + color: maroon; + font-size: 18px; + margin: 12px; + text-decoration: none; +} + +nav ul, nav li { + display: inline; +} + +nav ul li a { + color: black; + font-size: 14px; + margin: 6px; +} + + +/* Article bodies */ + +.timestamp { + color: #555; + font-size: 14px; + font-style: italic; +} + +blockquote { + font-style: italic; + color: dimgrey; + padding-left: 10px; + border-left: 3px solid #ccc; +} + +ul.no-style { + list-style-type: none; +} + +ul.no-style li { + margin: 20px 0px; +} + + +/* Footer */ + +footer { + font-size: 14px; + margin-top: 30px; + padding: 12px 0px 12px 0px; +} + +footer li { + list-style-type: none; + margin-top: 10px; +} + +footer li a { + margin-left: 5px; + user-select: none; +} + +/* Code blocks */ + +/* The "lineno" class is the default generated by Rouge for table-row in code blocks, see: + https://github.com/rouge-ruby/rouge */ +.line-number, pre.lineno { + margin-right: 3px; + padding-right: 3px; + border-right: 1px solid; + border-color: hsla(0, 0%, 0%, 0.3); + text-align: right; + user-select: none; +} + +.code-line { + padding-left: 8px; +} + +.code-block { + padding: 6px 4px; + display: block; +} + +.code-block, pre.highlight { + border: 1px solid #ccc; + border-radius: 10px; +} + +pre { + overflow: auto; +} + + +/* Code block anchors */ + +.line-number a, a.code-line-anchor { + color: black; + text-decoration: none; +} + +a.code-line-anchor:hover { + text-decoration: underline; +} + + +/* Header anchor */ + +.header-anchor { + color: black; + text-decoration: none; + display: block; + margin-bottom: 15px; +} + +.header-anchor { +} + + +.header-anchor img { + margin-left: 5px; + visibility: hidden; +} + +.header-anchor:hover img { + visibility: visible; +} + + +/* Plaintext code block links */ + +.plaintext-link { + margin: auto auto 0 auto; + text-align: right; + font-family: monospace; +} |