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 packages | |
from mastodon import Mastodon | |
import wikipedia | |
# function by Perplexity AI | |
def truncate_text(text): | |
if len(text) <= 200: | |
return text | |
else: | |
truncated_text = text[:200] |
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
{{pagelist parent_page_id}} |
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
# see in action: https://codepen.io/rotten77/pen/GRyZopJ | |
import math | |
import random | |
def smooth_array(input_array, output_length): | |
import numpy as np | |
points = np.arange(len(input_array)) |
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
{{div .row #my_custom_div}} | |
{{div .col-md-6}} | |
One | |
{{enddiv}} | |
{{div .col-md-6}} | |
Two | |
{{enddiv}} |
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
{{gist https://gist.github.com/rotten77/03bb86d0a64a7e6bdcb564be28c26002}} |
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
{{iframe 21x9 https://frame.mapy.cz/s/ravemoraha}} |
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
{{youtube QH2-TGUlwu4}} |
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
{{gallery image-01.jpg image-02.jpg image-03.jpg}} |
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
{{image image-01.jpg "Title of an image"}} |
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
{{include test}} |
NewerOlder