From f53a6a49c684e3cd88d8bd4a6c207ac6ff012d45 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Wed, 25 Sep 2024 15:33:51 +0000 Subject: new filters and update --- about/about.md | 10 +- cgit.cgi | Bin 14992368 -> 3863880 bytes favicon.ico | Bin 15406 -> 3262 bytes filters/email-libravatar-hover.lua | 42 ++++++ filters/email-libravatar-hover.py | 39 +++++ filters/email-libravatar.lua | 0 filters/html-converters/md2html | 2 +- filters/owner-example.lua | 2 +- filters/syntax-highlighting.py | 4 +- source-code-pro/EOT/SourceCodePro-Black.eot | Bin 0 -> 88613 bytes source-code-pro/EOT/SourceCodePro-BlackIt.eot | Bin 0 -> 76681 bytes source-code-pro/EOT/SourceCodePro-Bold.eot | Bin 0 -> 89773 bytes source-code-pro/EOT/SourceCodePro-BoldIt.eot | Bin 0 -> 78009 bytes source-code-pro/EOT/SourceCodePro-ExtraLight.eot | Bin 0 -> 88274 bytes source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot | Bin 0 -> 75543 bytes source-code-pro/EOT/SourceCodePro-It.eot | Bin 0 -> 77693 bytes source-code-pro/EOT/SourceCodePro-Light.eot | Bin 0 -> 89935 bytes source-code-pro/EOT/SourceCodePro-LightIt.eot | Bin 0 -> 77630 bytes source-code-pro/EOT/SourceCodePro-Medium.eot | Bin 0 -> 89939 bytes source-code-pro/EOT/SourceCodePro-MediumIt.eot | Bin 0 -> 77493 bytes source-code-pro/EOT/SourceCodePro-Regular.eot | Bin 0 -> 89987 bytes source-code-pro/EOT/SourceCodePro-Semibold.eot | Bin 0 -> 89774 bytes source-code-pro/EOT/SourceCodePro-SemiboldIt.eot | Bin 0 -> 77807 bytes source-code-pro/OTF/SourceCodePro-Black.otf | Bin 0 -> 149272 bytes source-code-pro/OTF/SourceCodePro-BlackIt.otf | Bin 0 -> 124432 bytes source-code-pro/OTF/SourceCodePro-Bold.otf | Bin 0 -> 148456 bytes source-code-pro/OTF/SourceCodePro-BoldIt.otf | Bin 0 -> 123112 bytes source-code-pro/OTF/SourceCodePro-ExtraLight.otf | Bin 0 -> 141356 bytes source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf | Bin 0 -> 120104 bytes source-code-pro/OTF/SourceCodePro-It.otf | Bin 0 -> 122288 bytes source-code-pro/OTF/SourceCodePro-Light.otf | Bin 0 -> 145036 bytes source-code-pro/OTF/SourceCodePro-LightIt.otf | Bin 0 -> 123040 bytes source-code-pro/OTF/SourceCodePro-Medium.otf | Bin 0 -> 145516 bytes source-code-pro/OTF/SourceCodePro-MediumIt.otf | Bin 0 -> 122368 bytes source-code-pro/OTF/SourceCodePro-Regular.otf | Bin 0 -> 145556 bytes source-code-pro/OTF/SourceCodePro-Semibold.otf | Bin 0 -> 146808 bytes source-code-pro/OTF/SourceCodePro-SemiboldIt.otf | Bin 0 -> 122652 bytes source-code-pro/TTF/SourceCodePro-Black.ttf | Bin 0 -> 211460 bytes source-code-pro/TTF/SourceCodePro-BlackIt.ttf | Bin 0 -> 174208 bytes source-code-pro/TTF/SourceCodePro-Bold.ttf | Bin 0 -> 211716 bytes source-code-pro/TTF/SourceCodePro-BoldIt.ttf | Bin 0 -> 174372 bytes source-code-pro/TTF/SourceCodePro-ExtraLight.ttf | Bin 0 -> 213512 bytes source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf | Bin 0 -> 176076 bytes source-code-pro/TTF/SourceCodePro-It.ttf | Bin 0 -> 180472 bytes source-code-pro/TTF/SourceCodePro-Light.ttf | Bin 0 -> 213252 bytes source-code-pro/TTF/SourceCodePro-LightIt.ttf | Bin 0 -> 176124 bytes source-code-pro/TTF/SourceCodePro-Medium.ttf | Bin 0 -> 212160 bytes source-code-pro/TTF/SourceCodePro-MediumIt.ttf | Bin 0 -> 175308 bytes source-code-pro/TTF/SourceCodePro-Regular.ttf | Bin 0 -> 212880 bytes source-code-pro/TTF/SourceCodePro-Semibold.ttf | Bin 0 -> 212048 bytes source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf | Bin 0 -> 174764 bytes .../WOFF/OTF/SourceCodePro-Black.otf.woff | Bin 0 -> 96040 bytes .../WOFF/OTF/SourceCodePro-BlackIt.otf.woff | Bin 0 -> 81104 bytes .../WOFF/OTF/SourceCodePro-Bold.otf.woff | Bin 0 -> 96708 bytes .../WOFF/OTF/SourceCodePro-BoldIt.otf.woff | Bin 0 -> 81176 bytes .../WOFF/OTF/SourceCodePro-ExtraLight.otf.woff | Bin 0 -> 89964 bytes .../WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff | Bin 0 -> 77368 bytes source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff | Bin 0 -> 80984 bytes .../WOFF/OTF/SourceCodePro-Light.otf.woff | Bin 0 -> 94776 bytes .../WOFF/OTF/SourceCodePro-LightIt.otf.woff | Bin 0 -> 80468 bytes .../WOFF/OTF/SourceCodePro-Medium.otf.woff | Bin 0 -> 95648 bytes .../WOFF/OTF/SourceCodePro-MediumIt.otf.woff | Bin 0 -> 80948 bytes .../WOFF/OTF/SourceCodePro-Regular.otf.woff | Bin 0 -> 95772 bytes .../WOFF/OTF/SourceCodePro-Semibold.otf.woff | Bin 0 -> 96512 bytes .../WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff | Bin 0 -> 81352 bytes .../WOFF/TTF/SourceCodePro-Black.ttf.woff | Bin 0 -> 93696 bytes .../WOFF/TTF/SourceCodePro-BlackIt.ttf.woff | Bin 0 -> 81532 bytes .../WOFF/TTF/SourceCodePro-Bold.ttf.woff | Bin 0 -> 95472 bytes .../WOFF/TTF/SourceCodePro-BoldIt.ttf.woff | Bin 0 -> 82752 bytes .../WOFF/TTF/SourceCodePro-ExtraLight.ttf.woff | Bin 0 -> 94088 bytes .../WOFF/TTF/SourceCodePro-ExtraLightIt.ttf.woff | Bin 0 -> 81020 bytes source-code-pro/WOFF/TTF/SourceCodePro-It.ttf.woff | Bin 0 -> 84264 bytes .../WOFF/TTF/SourceCodePro-Light.ttf.woff | Bin 0 -> 95984 bytes .../WOFF/TTF/SourceCodePro-LightIt.ttf.woff | Bin 0 -> 82984 bytes .../WOFF/TTF/SourceCodePro-Medium.ttf.woff | Bin 0 -> 95732 bytes .../WOFF/TTF/SourceCodePro-MediumIt.ttf.woff | Bin 0 -> 82576 bytes .../WOFF/TTF/SourceCodePro-Regular.ttf.woff | Bin 0 -> 95872 bytes .../WOFF/TTF/SourceCodePro-Semibold.ttf.woff | Bin 0 -> 95576 bytes .../WOFF/TTF/SourceCodePro-SemiboldIt.ttf.woff | Bin 0 -> 82664 bytes .../WOFF2/OTF/SourceCodePro-Black.otf.woff2 | Bin 0 -> 81492 bytes .../WOFF2/OTF/SourceCodePro-BlackIt.otf.woff2 | Bin 0 -> 69520 bytes .../WOFF2/OTF/SourceCodePro-Bold.otf.woff2 | Bin 0 -> 82452 bytes .../WOFF2/OTF/SourceCodePro-BoldIt.otf.woff2 | Bin 0 -> 69352 bytes .../WOFF2/OTF/SourceCodePro-ExtraLight.otf.woff2 | Bin 0 -> 76588 bytes .../WOFF2/OTF/SourceCodePro-ExtraLightIt.otf.woff2 | Bin 0 -> 66260 bytes .../WOFF2/OTF/SourceCodePro-It.otf.woff2 | Bin 0 -> 69208 bytes .../WOFF2/OTF/SourceCodePro-Light.otf.woff2 | Bin 0 -> 80792 bytes .../WOFF2/OTF/SourceCodePro-LightIt.otf.woff2 | Bin 0 -> 68752 bytes .../WOFF2/OTF/SourceCodePro-Medium.otf.woff2 | Bin 0 -> 82268 bytes .../WOFF2/OTF/SourceCodePro-MediumIt.otf.woff2 | Bin 0 -> 69420 bytes .../WOFF2/OTF/SourceCodePro-Regular.otf.woff2 | Bin 0 -> 82304 bytes .../WOFF2/OTF/SourceCodePro-Semibold.otf.woff2 | Bin 0 -> 82624 bytes .../WOFF2/OTF/SourceCodePro-SemiboldIt.otf.woff2 | Bin 0 -> 69240 bytes .../WOFF2/TTF/SourceCodePro-Black.ttf.woff2 | Bin 0 -> 69696 bytes .../WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2 | Bin 0 -> 59592 bytes .../WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 | Bin 0 -> 70576 bytes .../WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2 | Bin 0 -> 60748 bytes .../WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2 | Bin 0 -> 69232 bytes .../WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2 | Bin 0 -> 58756 bytes .../WOFF2/TTF/SourceCodePro-It.ttf.woff2 | Bin 0 -> 60760 bytes .../WOFF2/TTF/SourceCodePro-Light.ttf.woff2 | Bin 0 -> 70836 bytes .../WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2 | Bin 0 -> 60852 bytes .../WOFF2/TTF/SourceCodePro-Medium.ttf.woff2 | Bin 0 -> 70744 bytes .../WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2 | Bin 0 -> 60760 bytes .../WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 | Bin 0 -> 70920 bytes .../WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2 | Bin 0 -> 70748 bytes .../WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2 | Bin 0 -> 60760 bytes source-code-pro/source-code-pro.css | 167 +++++++++++++++++++++ 108 files changed, 257 insertions(+), 9 deletions(-) create mode 100755 filters/email-libravatar-hover.lua create mode 100755 filters/email-libravatar-hover.py mode change 100644 => 100755 filters/email-libravatar.lua create mode 100644 source-code-pro/EOT/SourceCodePro-Black.eot create mode 100644 source-code-pro/EOT/SourceCodePro-BlackIt.eot create mode 100644 source-code-pro/EOT/SourceCodePro-Bold.eot create mode 100644 source-code-pro/EOT/SourceCodePro-BoldIt.eot create mode 100644 source-code-pro/EOT/SourceCodePro-ExtraLight.eot create mode 100644 source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot create mode 100644 source-code-pro/EOT/SourceCodePro-It.eot create mode 100644 source-code-pro/EOT/SourceCodePro-Light.eot create mode 100644 source-code-pro/EOT/SourceCodePro-LightIt.eot create mode 100644 source-code-pro/EOT/SourceCodePro-Medium.eot create mode 100644 source-code-pro/EOT/SourceCodePro-MediumIt.eot create mode 100644 source-code-pro/EOT/SourceCodePro-Regular.eot create mode 100644 source-code-pro/EOT/SourceCodePro-Semibold.eot create mode 100644 source-code-pro/EOT/SourceCodePro-SemiboldIt.eot create mode 100644 source-code-pro/OTF/SourceCodePro-Black.otf create mode 100644 source-code-pro/OTF/SourceCodePro-BlackIt.otf create mode 100644 source-code-pro/OTF/SourceCodePro-Bold.otf create mode 100644 source-code-pro/OTF/SourceCodePro-BoldIt.otf create mode 100644 source-code-pro/OTF/SourceCodePro-ExtraLight.otf create mode 100644 source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf create mode 100644 source-code-pro/OTF/SourceCodePro-It.otf create mode 100644 source-code-pro/OTF/SourceCodePro-Light.otf create mode 100644 source-code-pro/OTF/SourceCodePro-LightIt.otf create mode 100644 source-code-pro/OTF/SourceCodePro-Medium.otf create mode 100644 source-code-pro/OTF/SourceCodePro-MediumIt.otf create mode 100644 source-code-pro/OTF/SourceCodePro-Regular.otf create mode 100644 source-code-pro/OTF/SourceCodePro-Semibold.otf create mode 100644 source-code-pro/OTF/SourceCodePro-SemiboldIt.otf create mode 100644 source-code-pro/TTF/SourceCodePro-Black.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-BlackIt.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-Bold.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-BoldIt.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-ExtraLight.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-It.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-Light.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-LightIt.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-Medium.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-MediumIt.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-Regular.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-Semibold.ttf create mode 100644 source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff create mode 100644 source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Black.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-BlackIt.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Bold.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-BoldIt.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-ExtraLight.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-ExtraLightIt.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-It.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Light.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-LightIt.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Medium.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-MediumIt.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Regular.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-Semibold.ttf.woff create mode 100644 source-code-pro/WOFF/TTF/SourceCodePro-SemiboldIt.ttf.woff create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Black.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-BlackIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Bold.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-BoldIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLight.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLightIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-It.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Light.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-LightIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Medium.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-MediumIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Regular.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-Semibold.otf.woff2 create mode 100644 source-code-pro/WOFF2/OTF/SourceCodePro-SemiboldIt.otf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2 create mode 100644 source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2 create mode 100755 source-code-pro/source-code-pro.css diff --git a/about/about.md b/about/about.md index 7405a75..10b6ab9 100644 --- a/about/about.md +++ b/about/about.md @@ -1,14 +1,14 @@

welcome to my git server

## Note -- Here you can find all my personal projects, cofnigs and dotflies. +- Here you can find all my personal projects, configs and dotflies. - You are free to clone/download change, modify, share my code. -- This git server is a part of [https://xgenos.me/](https://xgenos.me/) -- you can send patches, ideas, issues ot me [via email](mailto:biswa@xgenos.me) +- This git server is a part of [https://surgot.in/](https://surgot.in/) +- you can send patches, ideas, issues at me [via email](mailto:biswa@surgot.in) ## Server Backstory -Back then i was a newbie guy idk anything about tech i use to host my site at github pages i was curious to know how nginx works i always wished to watch the backend of the server i'd contacted with my collage teachers and wished them to let me look into the backedn of the server/website unfortunately my teachers where so dumb about that and they where using cpanel. (typical indian education system) +I was a newbie before, knew nothing about tech. I use to host my site at github pages curious to know how nginx works. I always wished to watch the backend of the server. I'd contact my collage teachers wishing that they will let me look into the backend of the server/website but unfortunately my teachers were so dumb about that, they were using cpanel (typical indian education system). -Any of my teachers and my friends aren't enthusiastic about tech, well i have to do things by myself so i thought to host everything myself. +None of my teachers or friends are enthusiastic about tech. I had to do everything by myself so I thought of hosting all by myself.

Happy Coding

diff --git a/cgit.cgi b/cgit.cgi index 3175f66..df9fdfe 100755 Binary files a/cgit.cgi and b/cgit.cgi differ diff --git a/favicon.ico b/favicon.ico index d37c021..4c03cd4 100644 Binary files a/favicon.ico and b/favicon.ico differ diff --git a/filters/email-libravatar-hover.lua b/filters/email-libravatar-hover.lua new file mode 100755 index 0000000..f94a980 --- /dev/null +++ b/filters/email-libravatar-hover.lua @@ -0,0 +1,42 @@ +#!/usr/bin/env luajit51 +local digest = require("openssl.digest") + +-- Function to calculate MD5 hash of the input +function md5_hex(input) + print("Calculating MD5 for:", input) -- Debug print + local b = digest.new("md5"):final(input) + local x = "" + for i = 1, #b do + x = x .. string.format("%.2x", string.byte(b, i)) + end + print("MD5 Hash:", x) -- Debug print + return x +end + +-- Called when the filter opens +function filter_open(email, page) + print("Filter Open. Email:", email) -- Debug print + buffer = "" + hexdigest = md5_hex(email:sub(2, -2):lower()) + print("Hex Digest:", hexdigest) -- Debug print +end + +-- Called when the filter closes +function filter_close() + local baseurl = os.getenv("HTTPS") and "https://seccdn.libravatar.org/" or "http://cdn.libravatar.org/" + print("Base URL:", baseurl) -- Debug print + print("Hex Digest in filter_close:", hexdigest) -- Debug print + local avatar_url_small = baseurl .. "avatar/" .. hexdigest .. "?s=13&d=retro" + local avatar_url_large = baseurl .. "avatar/" .. hexdigest .. "?s=128&d=retro" + print("Avatar URL Small:", avatar_url_small) -- Debug print + print("Avatar URL Large:", avatar_url_large) -- Debug print + + html("" .. buffer) + return 0 +end + +-- Called when writing to the filter +function filter_write(str) + print("Filter Write:", str) -- Debug print + buffer = buffer .. str +end diff --git a/filters/email-libravatar-hover.py b/filters/email-libravatar-hover.py new file mode 100755 index 0000000..352122b --- /dev/null +++ b/filters/email-libravatar-hover.py @@ -0,0 +1,39 @@ +#!/usr/bin/env python3 +import sys +import hashlib +import codecs +import os + +# Read and process the email address from command line arguments +email = sys.argv[1].lower().strip() +if email[0] == '<': + email = email[1:] +if email[-1] == '>': + email = email[:-1] + +# Read the page argument (not used in this script but passed for compatibility) +page = sys.argv[2] + +# Ensure correct encoding for stdin and stdout +sys.stdin = codecs.getreader("utf-8")(sys.stdin.detach()) +sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach()) + +# Calculate MD5 hash of the email +md5 = hashlib.md5(email.encode()).hexdigest() + +# Read the standard input to get the buffer text +buffer = sys.stdin.read().strip() + +# Determine the base URL based on HTTPS environment variable +baseurl = "https://seccdn.libravatar.org/" if os.getenv("HTTPS") else "http://cdn.libravatar.org/" + +# Generate the HTML output with Libravatar images +html_output = ( + f"" + f"Libravatar" + f"Libravatar" + f" {buffer}" +) + +# Print the HTML output +print(html_output) diff --git a/filters/email-libravatar.lua b/filters/email-libravatar.lua old mode 100644 new mode 100755 diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index 3f5aed7..627808a 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html @@ -307,7 +307,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div# sys.stdout.write(HtmlFormatter(style=dark_style).get_style_defs('.highlight')) sys.stdout.write(''' } - at media (prefers-color-scheme: light) { +@media (prefers-color-scheme: light) { ''') sys.stdout.write(HtmlFormatter(style=light_style).get_style_defs('.highlight')) sys.stdout.write(''' diff --git a/filters/owner-example.lua b/filters/owner-example.lua index 50fc25a..cb9fa7f 100644 --- a/filters/owner-example.lua +++ b/filters/owner-example.lua @@ -8,7 +8,7 @@ function filter_open() end function filter_close() - html(string.format("%s", "http://wiki.example.com/about/" .. buffer, buffer)) + html(string.format("%s", "http://wiki.surgot.tech/about/" .. buffer, buffer)) return 0 end diff --git a/filters/syntax-highlighting.py b/filters/syntax-highlighting.py index 099e67b..f2c0fe1 100755 --- a/filters/syntax-highlighting.py +++ b/filters/syntax-highlighting.py @@ -54,9 +54,9 @@ except TypeError: # highlight! :-) # printout pygments' css definitions as well sys.stdout.write('') diff --git a/source-code-pro/EOT/SourceCodePro-Black.eot b/source-code-pro/EOT/SourceCodePro-Black.eot new file mode 100644 index 0000000..39a275e Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Black.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-BlackIt.eot b/source-code-pro/EOT/SourceCodePro-BlackIt.eot new file mode 100644 index 0000000..b08fe4a Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-BlackIt.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-Bold.eot b/source-code-pro/EOT/SourceCodePro-Bold.eot new file mode 100644 index 0000000..783b4f5 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Bold.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-BoldIt.eot b/source-code-pro/EOT/SourceCodePro-BoldIt.eot new file mode 100644 index 0000000..dc0087b Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-BoldIt.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-ExtraLight.eot b/source-code-pro/EOT/SourceCodePro-ExtraLight.eot new file mode 100644 index 0000000..7d404e0 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-ExtraLight.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot b/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot new file mode 100644 index 0000000..8bbf4b1 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-ExtraLightIt.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-It.eot b/source-code-pro/EOT/SourceCodePro-It.eot new file mode 100644 index 0000000..f4aa7ae Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-It.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-Light.eot b/source-code-pro/EOT/SourceCodePro-Light.eot new file mode 100644 index 0000000..8c185be Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Light.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-LightIt.eot b/source-code-pro/EOT/SourceCodePro-LightIt.eot new file mode 100644 index 0000000..e21ee09 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-LightIt.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-Medium.eot b/source-code-pro/EOT/SourceCodePro-Medium.eot new file mode 100644 index 0000000..ebaf5f3 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Medium.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-MediumIt.eot b/source-code-pro/EOT/SourceCodePro-MediumIt.eot new file mode 100644 index 0000000..95af9b6 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-MediumIt.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-Regular.eot b/source-code-pro/EOT/SourceCodePro-Regular.eot new file mode 100644 index 0000000..121176c Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Regular.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-Semibold.eot b/source-code-pro/EOT/SourceCodePro-Semibold.eot new file mode 100644 index 0000000..8aa922a Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-Semibold.eot differ diff --git a/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot b/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot new file mode 100644 index 0000000..b887a66 Binary files /dev/null and b/source-code-pro/EOT/SourceCodePro-SemiboldIt.eot differ diff --git a/source-code-pro/OTF/SourceCodePro-Black.otf b/source-code-pro/OTF/SourceCodePro-Black.otf new file mode 100644 index 0000000..133134f Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Black.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-BlackIt.otf b/source-code-pro/OTF/SourceCodePro-BlackIt.otf new file mode 100644 index 0000000..99a389b Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-BlackIt.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-Bold.otf b/source-code-pro/OTF/SourceCodePro-Bold.otf new file mode 100644 index 0000000..0b273d9 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Bold.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-BoldIt.otf b/source-code-pro/OTF/SourceCodePro-BoldIt.otf new file mode 100644 index 0000000..2acc974 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-BoldIt.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-ExtraLight.otf b/source-code-pro/OTF/SourceCodePro-ExtraLight.otf new file mode 100644 index 0000000..419cdbf Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-ExtraLight.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf b/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf new file mode 100644 index 0000000..c90e7a3 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-ExtraLightIt.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-It.otf b/source-code-pro/OTF/SourceCodePro-It.otf new file mode 100644 index 0000000..d0f1790 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-It.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-Light.otf b/source-code-pro/OTF/SourceCodePro-Light.otf new file mode 100644 index 0000000..19cc982 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Light.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-LightIt.otf b/source-code-pro/OTF/SourceCodePro-LightIt.otf new file mode 100644 index 0000000..1522c9b Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-LightIt.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-Medium.otf b/source-code-pro/OTF/SourceCodePro-Medium.otf new file mode 100644 index 0000000..1b42738 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Medium.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-MediumIt.otf b/source-code-pro/OTF/SourceCodePro-MediumIt.otf new file mode 100644 index 0000000..38959dc Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-MediumIt.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-Regular.otf b/source-code-pro/OTF/SourceCodePro-Regular.otf new file mode 100644 index 0000000..1bae002 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Regular.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-Semibold.otf b/source-code-pro/OTF/SourceCodePro-Semibold.otf new file mode 100644 index 0000000..a61686c Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-Semibold.otf differ diff --git a/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf b/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf new file mode 100644 index 0000000..f419ab9 Binary files /dev/null and b/source-code-pro/OTF/SourceCodePro-SemiboldIt.otf differ diff --git a/source-code-pro/TTF/SourceCodePro-Black.ttf b/source-code-pro/TTF/SourceCodePro-Black.ttf new file mode 100644 index 0000000..0bcfec6 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Black.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-BlackIt.ttf b/source-code-pro/TTF/SourceCodePro-BlackIt.ttf new file mode 100644 index 0000000..36d8bae Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-BlackIt.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-Bold.ttf b/source-code-pro/TTF/SourceCodePro-Bold.ttf new file mode 100644 index 0000000..5a5be2f Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Bold.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-BoldIt.ttf b/source-code-pro/TTF/SourceCodePro-BoldIt.ttf new file mode 100644 index 0000000..0b6d212 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-BoldIt.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf b/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf new file mode 100644 index 0000000..23ff52c Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-ExtraLight.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf b/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf new file mode 100644 index 0000000..f95a8c4 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-ExtraLightIt.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-It.ttf b/source-code-pro/TTF/SourceCodePro-It.ttf new file mode 100644 index 0000000..437cbe1 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-It.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-Light.ttf b/source-code-pro/TTF/SourceCodePro-Light.ttf new file mode 100644 index 0000000..8dc9fa9 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Light.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-LightIt.ttf b/source-code-pro/TTF/SourceCodePro-LightIt.ttf new file mode 100644 index 0000000..c14dcb3 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-LightIt.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-Medium.ttf b/source-code-pro/TTF/SourceCodePro-Medium.ttf new file mode 100644 index 0000000..5d1579c Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Medium.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-MediumIt.ttf b/source-code-pro/TTF/SourceCodePro-MediumIt.ttf new file mode 100644 index 0000000..bf5dae9 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-MediumIt.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-Regular.ttf b/source-code-pro/TTF/SourceCodePro-Regular.ttf new file mode 100644 index 0000000..c583003 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Regular.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-Semibold.ttf b/source-code-pro/TTF/SourceCodePro-Semibold.ttf new file mode 100644 index 0000000..f57d68c Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-Semibold.ttf differ diff --git a/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf b/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf new file mode 100644 index 0000000..6c7eb45 Binary files /dev/null and b/source-code-pro/TTF/SourceCodePro-SemiboldIt.ttf differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff new file mode 100644 index 0000000..9a07259 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Black.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff new file mode 100644 index 0000000..2e37b09 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-BlackIt.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff new file mode 100644 index 0000000..b64f2cf Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Bold.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff new file mode 100644 index 0000000..69a466d Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-BoldIt.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff new file mode 100644 index 0000000..41accc2 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLight.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff new file mode 100644 index 0000000..a6f5d55 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff new file mode 100644 index 0000000..a8b8cea Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-It.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff new file mode 100644 index 0000000..fceb975 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Light.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff new file mode 100644 index 0000000..9f63553 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-LightIt.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff new file mode 100644 index 0000000..bd82cf4 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Medium.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff new file mode 100644 index 0000000..6571866 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-MediumIt.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff new file mode 100644 index 0000000..68c98f1 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Regular.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff new file mode 100644 index 0000000..3db105e Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-Semibold.otf.woff differ diff --git a/source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff b/source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff new file mode 100644 index 0000000..3822bc2 Binary files /dev/null and b/source-code-pro/WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Black.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Black.ttf.woff new file mode 100644 index 0000000..bc4823e Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Black.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-BlackIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-BlackIt.ttf.woff new file mode 100644 index 0000000..20ee084 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-BlackIt.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Bold.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Bold.ttf.woff new file mode 100644 index 0000000..8b8307b Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Bold.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-BoldIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-BoldIt.ttf.woff new file mode 100644 index 0000000..b683f6f Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-BoldIt.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLight.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLight.ttf.woff new file mode 100644 index 0000000..c6916b1 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLight.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLightIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLightIt.ttf.woff new file mode 100644 index 0000000..0de8ceb Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-ExtraLightIt.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-It.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-It.ttf.woff new file mode 100644 index 0000000..ebaaf91 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-It.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Light.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Light.ttf.woff new file mode 100644 index 0000000..93197df Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Light.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-LightIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-LightIt.ttf.woff new file mode 100644 index 0000000..5bdc7e5 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-LightIt.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Medium.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Medium.ttf.woff new file mode 100644 index 0000000..7e69cf1 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Medium.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-MediumIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-MediumIt.ttf.woff new file mode 100644 index 0000000..fca6ee0 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-MediumIt.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Regular.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Regular.ttf.woff new file mode 100644 index 0000000..117c7e5 Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Regular.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-Semibold.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-Semibold.ttf.woff new file mode 100644 index 0000000..270873a Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-Semibold.ttf.woff differ diff --git a/source-code-pro/WOFF/TTF/SourceCodePro-SemiboldIt.ttf.woff b/source-code-pro/WOFF/TTF/SourceCodePro-SemiboldIt.ttf.woff new file mode 100644 index 0000000..a04ab9e Binary files /dev/null and b/source-code-pro/WOFF/TTF/SourceCodePro-SemiboldIt.ttf.woff differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Black.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Black.otf.woff2 new file mode 100644 index 0000000..3d9d7a4 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Black.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-BlackIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-BlackIt.otf.woff2 new file mode 100644 index 0000000..eee002b Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-BlackIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Bold.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Bold.otf.woff2 new file mode 100644 index 0000000..45ee40a Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Bold.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-BoldIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-BoldIt.otf.woff2 new file mode 100644 index 0000000..604e17d Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-BoldIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLight.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLight.otf.woff2 new file mode 100644 index 0000000..1c2a392 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLight.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLightIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLightIt.otf.woff2 new file mode 100644 index 0000000..6405cf9 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-ExtraLightIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-It.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-It.otf.woff2 new file mode 100644 index 0000000..5702eba Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-It.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Light.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Light.otf.woff2 new file mode 100644 index 0000000..8f78490 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Light.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-LightIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-LightIt.otf.woff2 new file mode 100644 index 0000000..45bbd58 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-LightIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Medium.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Medium.otf.woff2 new file mode 100644 index 0000000..7dfd91c Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Medium.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-MediumIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-MediumIt.otf.woff2 new file mode 100644 index 0000000..2ff7a0b Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-MediumIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Regular.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Regular.otf.woff2 new file mode 100644 index 0000000..c10f38d Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Regular.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-Semibold.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-Semibold.otf.woff2 new file mode 100644 index 0000000..b2b00d6 Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-Semibold.otf.woff2 differ diff --git a/source-code-pro/WOFF2/OTF/SourceCodePro-SemiboldIt.otf.woff2 b/source-code-pro/WOFF2/OTF/SourceCodePro-SemiboldIt.otf.woff2 new file mode 100644 index 0000000..a5d866e Binary files /dev/null and b/source-code-pro/WOFF2/OTF/SourceCodePro-SemiboldIt.otf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2 new file mode 100644 index 0000000..0042fb4 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Black.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2 new file mode 100644 index 0000000..6614e54 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 new file mode 100644 index 0000000..1331a0a Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2 new file mode 100644 index 0000000..ed564da Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2 new file mode 100644 index 0000000..1759259 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2 new file mode 100644 index 0000000..2b94dc5 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2 new file mode 100644 index 0000000..443d16f Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-It.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2 new file mode 100644 index 0000000..843d388 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Light.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2 new file mode 100644 index 0000000..8025dc3 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2 new file mode 100644 index 0000000..25c08c6 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Medium.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2 new file mode 100644 index 0000000..c6d7434 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 new file mode 100644 index 0000000..d97cd54 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2 new file mode 100644 index 0000000..c4134ee Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2 differ diff --git a/source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2 b/source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2 new file mode 100644 index 0000000..92ebea1 Binary files /dev/null and b/source-code-pro/WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2 differ diff --git a/source-code-pro/source-code-pro.css b/source-code-pro/source-code-pro.css new file mode 100755 index 0000000..93e787c --- /dev/null +++ b/source-code-pro/source-code-pro.css @@ -0,0 +1,167 @@ +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 200; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-ExtraLight.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-ExtraLight.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-ExtraLight.otf.woff') format('woff'), + url('OTF/SourceCodePro-ExtraLight.otf') format('opentype'), + url('TTF/SourceCodePro-ExtraLight.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 200; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-ExtraLightIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-ExtraLightIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-ExtraLightIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-ExtraLightIt.otf') format('opentype'), + url('TTF/SourceCodePro-ExtraLightIt.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 300; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Light.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Light.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Light.otf.woff') format('woff'), + url('OTF/SourceCodePro-Light.otf') format('opentype'), + url('TTF/SourceCodePro-Light.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 300; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-LightIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-LightIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-LightIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-LightIt.otf') format('opentype'), + url('TTF/SourceCodePro-LightIt.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 400; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Regular.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Regular.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Regular.otf.woff') format('woff'), + url('OTF/SourceCodePro-Regular.otf') format('opentype'), + url('TTF/SourceCodePro-Regular.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 400; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-It.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-It.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-It.otf.woff') format('woff'), + url('OTF/SourceCodePro-It.otf') format('opentype'), + url('TTF/SourceCodePro-It.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 500; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Medium.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Medium.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Medium.otf.woff') format('woff'), + url('OTF/SourceCodePro-Medium.otf') format('opentype'), + url('TTF/SourceCodePro-Medium.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 500; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-MediumIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-MediumIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-MediumIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-MediumIt.otf') format('opentype'), + url('TTF/SourceCodePro-MediumIt.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 600; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Semibold.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Semibold.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Semibold.otf.woff') format('woff'), + url('OTF/SourceCodePro-Semibold.otf') format('opentype'), + url('TTF/SourceCodePro-Semibold.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 600; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-SemiboldIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-SemiboldIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-SemiboldIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-SemiboldIt.otf') format('opentype'), + url('TTF/SourceCodePro-SemiboldIt.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 700; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Bold.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Bold.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Bold.otf.woff') format('woff'), + url('OTF/SourceCodePro-Bold.otf') format('opentype'), + url('TTF/SourceCodePro-Bold.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 700; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-BoldIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-BoldIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-BoldIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-BoldIt.otf') format('opentype'), + url('TTF/SourceCodePro-BoldIt.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 900; + font-style: normal; + font-stretch: normal; + src: url('EOT/SourceCodePro-Black.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-Black.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-Black.otf.woff') format('woff'), + url('OTF/SourceCodePro-Black.otf') format('opentype'), + url('TTF/SourceCodePro-Black.ttf') format('truetype'); +} + +@font-face{ + font-family: 'Source Code Pro'; + font-weight: 900; + font-style: italic; + font-stretch: normal; + src: url('EOT/SourceCodePro-BlackIt.eot') format('embedded-opentype'), + url('WOFF2/TTF/SourceCodePro-BlackIt.ttf.woff2') format('woff2'), + url('WOFF/OTF/SourceCodePro-BlackIt.otf.woff') format('woff'), + url('OTF/SourceCodePro-BlackIt.otf') format('opentype'), + url('TTF/SourceCodePro-BlackIt.ttf') format('truetype'); +} -- cgit v1.2.3-59-g8ed1b