Top HN posts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A recreation of the [Typst](https://typst.app) inspired by https://github.com/SAWARATSUKI/ServiceLogos. Created in Inkscape. | |
# License | |
1. Competely free for personal use. | |
2. Credit this gist or me (fenjalien) when sharing or distributing the image. | |
3. No commercial use, unless explicit permission has been granted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#let _records-to-dict(records) = { | |
let formatted = (:) | |
for r in records { | |
for (k, v) in r { | |
let cur = formatted.at(k, default: ()) | |
cur.push(v) | |
formatted.insert(k, cur) | |
} | |
} | |
formatted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.editor-group-watermark > .letterpress { | |
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png") !important; | |
opacity: 0.75; | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Pandoc Lua-filter for Obsidian Callouts | |
-- Original Source: https://forum.obsidian.md/t/rendering-callouts-similarly-in-pandoc/40020/ | |
-- Notes: | |
-- Original snippet modified to output Hugo {{< admonition >}} shortcodes with collapse. | |
-- Make sure to have a blank line before and after the `> [!note]` line of the callout block. | |
-- The filter works recursively so if you want callouts within callouts, make sure to leave a blank line | |
-- before and after the `> [!note] Your title here` line of each callout. | |
-- Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_gh_commit_data(github_username: str) -> list: | |
""" | |
Get GitHub commit data for a given username by scraping the GitHub | |
contribution calendar heatmap for each year of activity. | |
This function returns a list of dictionaries with the following keys: | |
- date: The date of the commit | |
- commits: The number of commits on that date | |
Parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
/* #7159de (similar to Obsidian purple) */ | |
--block-ref-line-color: grey; | |
--block-ref-line-type: solid; | |
--block-ref-line-size: 2px; | |
/* Set to "inherit" for no bg color */ | |
--block-ref-hover-bg-color: #d4d0d026; | |
} | |
/* |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://libraryofbabel.info/book.cgi?p30tz828zdokepr66yhhsa65w4beqci5nd43zhm4snxwr7srjgl0ernbr38p04hqsbi9r7cul5339qk2ar6o9f6dc35erofggub7vm25c85c0ad0ceb8vyqn6awvyks6of10mzd754nep7e28s4glunyox41pwwlkra9xez5hkifa4muu8osv6gr4x9ji1q0ae2pw5b53vxzbgqtwskhc53tee76uhvsdr6qysldm2tmkvpx6zhrvhroredmvvufjqsq603imufo03yz8k9kwbq2r2av6gwjv0sy05wpvbn8sac2rtl2mzr1cw8tsuzqq4qqtmwcd3mc9amaud64k1m0tynxxruxu7tvnlk9jcu6axwkhea90so0z1rau8mypfbvuyfr88yt5iz3t5vo148eg154vhjdf1or1o4bjaqnq1hv3m541os5o9tc04ehxjplcw3b1h3qb1p5sawttrqbjx4rjox0vxcg37exq5xsxu6ockmffh7lprp5s38gz6t8y7cwtcg0frilqgo7u7utsgs6cwiyehk4rzqkmpheqtmw1coqhcvmgv7l2kyex3ow5uvi611e2rui2skrhpc594timzlhov5t0g8c4a5onf6vyssqwl5b1hlgtn82navy9famxhuls4x6bzz36pcz5whri04qqzobxwvw68aqg1zkaf1ni7vqj3jap6vpff0cw8yaoufklnpm1uy5p8oyddx59t48e7171oh79wjrllot7yysa0mckoz9rmrwfjhtn76qgu00o80x9w6u33a4zt6dtqtbjjg1l8zrik38b2kx8ali05fzkzee1z2aujte6alofw3c1et5qdql34lk2qf3nxesw21ig2047fzqu0wonx2bmqgqthqi2u66gq8vrsyh8um8h0bqadkgeczpholj87mvpfaq4n1aiyd6hvr87xqn8pdfodrb51y8rwuu182mdxwyrp2q5pxstb99r4i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pythoncom | |
pythoncom.CoInitialize() | |
import clr | |
from System.IO import Directory, Path, File | |
from System import String, Environment | |
dwsimpath = "C:\\Users\\Daniel\\AppData\\Local\\DWSIM8\\" |
NewerOlder