Skip to content

Instantly share code, notes, and snippets.

View Pysis868's full-sized avatar
💭
everything at once

Pysis Pysis868

💭
everything at once
View GitHub Profile
@Pysis868
Pysis868 / gfm-render
Last active February 14, 2025 16:54 — forked from bitti/gfm-render
Offline renderer for GitHub flavoured markdown
#!/usr/bin/ruby
# Renders Markdown content offline by converting it to HTML using GitHub's own redcarpet renderer software, and their additional CSS.
# Does require a download of the additional GitHub CSS to a local cache.
# Replaces grip for preferred offline functionality: https://github.com/joeyespo/grip/issues/35
# Dependencies: redcarpet
require 'optparse'
@Pysis868
Pysis868 / videoCreateThumbnail.fish
Created February 14, 2024 21:41
videoCreateThumbnail.fish
#!/usr/bin/env fish
function videoCreateThumbnail \
--argument-names videoFile
test -z "$thumbnailSeekAmount" ;
and set thumbnailSeekAmount '0.10';
if test -z "$videoFile"
errorPrint 'No video file given; exiting...';
@Pysis868
Pysis868 / gDriveCollapsible.js
Last active August 26, 2024 21:26
Allow the Google Drive sidebar to be collapsed.
// ==UserScript==
// @name Make Google Drive Sidebar Collapsible
// @namespace Teh Fishy Place
// @version 2024-08-02
// @description Allow the Google Drive sidebar to be collapsed.
// @author Pysis
// @author Google
// @match https://drive.google.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js
@Pysis868
Pysis868 / edDownloadFiles.fish
Last active December 18, 2024 17:49
Handle game file data, most likely hash mismatches, and handle fixing them ourselves using data from Frontier, to help the installer continue, or just direct installing.
#!/usr/bin/env fish
# Author: Pysis
# License: MIT
# Link: https://gist.github.com/Pysis868/1d5a91e1c1930e79807d71c361136c32
# Handle game file data,
# most likely hash mismatches,
# and handle fixing them ourselves using data from Frontier,
# to help the installer continue, or just direct installing.
@Pysis868
Pysis868 / convert.fish
Last active December 18, 2024 23:37
SatisfactoryAudioRenamer updated convert scripts for batch/mass parsing WWISER audio file metadata to extra to rename FModel-extracted wem audio files.
#!/usr/bin/env fish
# SatisfactoryAudioRenamer alternative convert script for batch/mass parsing
# WWISER audio file metadata to rename FModel-extracted wem audio files.
# Sample wem file reference lines:
# Other's (WWISER v20240526):
# wem/218091215.wem
#
# Mine (WWISER v20241210):