Skip to content

Instantly share code, notes, and snippets.

View UnforeseenOcean's full-sized avatar
😠
Contact me directly for copyright issues.

Sean Canned Bean UnforeseenOcean

😠
Contact me directly for copyright issues.
  • Don't Bother LTD.
  • Somewhere Foundry, CA
View GitHub Profile
@UnforeseenOcean
UnforeseenOcean / ragnarock-modding.md
Created November 20, 2025 03:59
Ragnarock modding guides of sorts

Ragnarock modding guide

  1. Get FModel
  2. Dump assets
  3. Create folder structure
  4. Download DRG modding toolkit
  5. Use DRGPacker to pack up files
  6. Inject assets with _P.pak method
  7. Enjoy
@UnforeseenOcean
UnforeseenOcean / occlude.sh
Created July 27, 2024 04:59
Free space filler file generator with misdirection for data recovery prevention
# Makes "believable" fake files to confuse common recovery software
# Copy the files to target device to overwrite free space after generating
# For best results wipe free space with zero fill before copying
# ---
# Requires you to prepare all headers to be used as "header.ext" such as "header.jpg" and put it inside a subfolder "headers"
# Make a subfolder to put the generated files into called "output"
# Then adjust the parameters to fit your needs
# This script written by Jamie, modified slightly to add more randomness. Tested on MINGW64/Msys64 and Linux
LEFTOVER_SIZE=5102993
@UnforeseenOcean
UnforeseenOcean / feelslike.py
Created July 1, 2021 02:16
Apparent temperature calculation
# Apparent temperature calculation ("Feels Like" temperature)
# T: Temperature in Fahrenheit, H: Relative Humidity
# -42.58 + (2.049 * T) + (10.14 * H) + (-0.2248 * T * H) + (-0.006838 * T^2) + (-0.05482 * H^2) + (0.001228 * T^2 * H) + (0.0008528 * T * H^2) + (-0.00000199 * T^2 * H^2)
import math
T = float(input("Enter temperature in Celsius: "))
H = float(input("Enter Relative Humidity: "))
# Convert the temperature from C to F for calculation
@UnforeseenOcean
UnforeseenOcean / speech.txt
Created June 8, 2020 09:13
Format description for speech.json
Structure of the speech.json:
{
"lang":"cn",
"unit":["./etc/unit/percent.wav","./etc/unit/negative.wav","./etc/unit/degrees.wav","./etc/unit/celsius.wav","./etc/unit/fahrenheit.wav","./etc/unit/kelvin.wav"],
"week":["./etc/week/sunday.wav","./etc/week/monday.wav","./etc/week/tuesday.wav","./etc/week/wednesday.wav","./etc/week/thursday.wav","./etc/week/friday.wav","./etc/week/saturday.wav"],
"month": null,
"specialDay": null,
"hour": null,
"number":["./num/0.wav","./num/1.wav","./num/2.wav","./num/3.wav","./num/4.wav","./num/5.wav","./num/6.wav","./num/7.wav","./num/8.wav","./num/9.wav","./num/10.wav","./num/100.wav","./num/1000.wav"],
@UnforeseenOcean
UnforeseenOcean / mb64.txt
Created April 26, 2020 14:46
MEMORIES.COM by Hell Mood
sBPNEJVo9p8HuBwlskXNIbjNzPfnAOAw5AHowegJJA+TtwGKXzr/06pHR3XjsIXmQORg/sh12cMLk3R+YZClyOo3Q1jDRffFBwB1FLowA743AW5ubmnFgPbB6AoEFu5uz7gpEwDG9vaS9uop6jDUiOAkHMOSKegw4AzbBBPDiPAsZPbokvboAOaI8AHoJBjDiem78P8B+bgzA/fp0cpDd/SNRx/DjY4A+MHhAw+2xg++0onDD6/ZANcPr9Eo8CD4JPzWdQKwKsOx91KI8Cxk9umSAMj26YjwMOAEBKj4WuHpKekwyNQGBBTDgO54eBCJEN8A2jjZWP+LAAHoJIBIww==
@UnforeseenOcean
UnforeseenOcean / index.html
Created February 18, 2020 17:52
nth-everything css
<h1><p id="nthEverthing">nth-Everthing</p></h1>
<p id="letters">Hover a red letter. Cool, hu?</p>
<p id="pseudo">Pseudo elements are working</p>
<p id="click">Please click here</p>
<p id="flip">Every second letter is flipped</p>
<p id="crazy">Flip Hover Flip</p>
<p id="font">Zoom all the things!</p>
<p id="word">FirstWord some words Green some words LastWord</p>
<p id="firstLastWord">Hello from nth-everthing</p>
@UnforeseenOcean
UnforeseenOcean / index.html
Created January 24, 2020 17:29
Shitty Loading Bar
<h3 id="title">Click here to begin loading</h3>
<a href="#" onclick="toggleView()">Toggle View</a>
<canvas id="c" width="300" height="300"></canvas>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Swipe Keyboard</title>
<style>
body {
@UnforeseenOcean
UnforeseenOcean / name.js
Created September 8, 2019 14:59 — forked from tkon99/name.js
Random Name Generator for Javascript
/*
(c) by Thomas Konings
Random Name Generator for Javascript
*/
function capFirst(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
function getRandomInt(min, max) {
@UnforeseenOcean
UnforeseenOcean / wget.md
Created September 1, 2019 06:39 — forked from protrolium/wget.md
wget commands

Download Only Certain File Types Using wget -r -A

You can use this under following situations:

  • Download all images from a website
  • Download all videos from a website
  • Download all PDF files from a website

$ wget -r -A.pdf http://url-to-webpage-with-pdfs/