- alpine 3.17.1, 3.18, 3.19 and edge x86-64
- multiple linux kernels worked 6.1.8-lts w/zfs and 6.6.8-lts
- edge, testing apk repos enabled
This file contains hidden or 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 sys, os, stat, errno, operator, time, datetime, requests | |
| from fuse import FUSE, Operations, LoggingMixIn, FuseOSError | |
| from mastodon import Mastodon | |
| from cachetools import TTLCache, cachedmethod | |
| from mastodon.return_types import MediaAttachment, Account, Status | |
| class PathItem: | |
| def __init__(self, path_type, mtime=None, size=0, symlink_target=None, read_fn=None, listdir_fn=None): | |
| self.path_type = path_type | |
| self.mtime = mtime or time.time() |
This file contains hidden or 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
| --[[ | |
| line fonts v0.1 - thykka 2021 | |
| ==usage== | |
| printl( | |
| text, | |
| x, y, | |
| color, | |
| font_size, |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| remoteuser="$1" | |
| remotehost="$2" | |
| remotedir="$3" | |
| localdir="$4" | |
| syncstatusfile=".lastsync" | |
| if [[ ! -d "$4" ]]; then |
This file contains hidden or 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
| ffmpeg \ | |
| -i dance_addition.mp4 \ | |
| -i dance_and.mp4 \ | |
| -i dance_average.mp4 \ | |
| -i dance_blend.mp4 \ | |
| -i dance_burn.mp4 \ | |
| -i dance_darken.mp4 \ | |
| -i dance_difference.mp4 \ | |
| -i dance_divide.mp4 \ | |
| -i dance_dodge.mp4 \ |
just the bare necessities of state management.
Hotlink it from https://unpkg.com/valoo.
This file contains hidden or 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
| <html><body> | |
| <style> | |
| html, body { | |
| background: rgb(245, 245, 245); | |
| margin: 0; | |
| padding: 0; | |
| } | |
| div { | |
| position: relative; | |
| overflow: hidden; |
This file contains hidden or 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
| #!/bin/sh | |
| YT_SERVER="rtmp://a.rtmp.youtube.com/live2" | |
| # Needs AUTH, which is the "Stream Name" from Ingestion Settings > Main Camera | |
| # apt-get install --assume-yes gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools | |
| # https://bugzilla.gnome.org/show_bug.cgi?id=731352#c6 |
This file contains hidden or 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
| # Automatic nginx virtual subdomains with sub-folders or sub-directories | |
| # | |
| # Since the original source where I found this code is now offline, I have decided to mirror it here. | |
| # All credit goes to: http://web.archive.org/web/20150307193208/http://www.messaliberty.com/2010/10/automatic-nginx-virtual-subdomains-with-sub-folders-or-sub-directories | |
| # | |
| # Description: In my web root directory I wanted create a folder called photos, and another called | |
| # music using a sftp program. Without manually going back to the config file or to the shell I like to | |
| # be able to access them at photos.nginxdomain.com and music.nginxdomain.com. That is what this config does. | |
| # Redirect visitors from http://nginxdomain.com/ to http://www.nginxdomain.com/ |
NewerOlder
