Skip to content

Instantly share code, notes, and snippets.

View stuckless's full-sized avatar

Sean Stuckless stuckless

  • Android Easy Apps / Little Green Robots / Used Game Network
View GitHub Profile
@stuckless
stuckless / mount-image.sh
Created September 17, 2023 13:07
Simple script to mount .img files in linux so that you can access the contents, copy files, etc.
#!/bin/bash
# Script Title: Loopback Image Mounter
# Description: This script facilitates the mounting of disk image files to a specified loopback device and directory.
# It supports multiple functionalities including listing partitions in the image file, unmounting,
# and flexible mounting options. It is beneficial for users working with disk images, aiding in
# efficiently managing and accessing the contents of these files.
# Collaboration: This script was developed in collaboration between a human and OpenAI's ChatGPT, leveraging
# the AI's coding expertise to implement the specified functionalities and maintain a user-friendly
# interface.
@stuckless
stuckless / githelp.md
Last active June 19, 2017 23:52
GitHub Common Complex Operations
@stuckless
stuckless / index.html
Created January 6, 2017 17:55
SageTV Sample index.html
<html>
<head>
<title>SageTV Appliations</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="SageTV Applications">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
</head>
<body>
@stuckless
stuckless / serve.gradle
Created July 22, 2016 12:24
Gradle 'serve' task to create simple http server and serve files from the current directory
task serve << {
SimpleHttpFileServerFactory factory = new SimpleHttpFileServerFactory()
HttpFileServer server = factory.start(new File("."), 8085)
println("Server Started on 8085 ctrc+c to kill it")
java.lang.Thread.sleep(Long.MAX_VALUE);
}
@stuckless
stuckless / unwatchedtv.xml
Created January 26, 2014 21:19
Unwatched TV view (add to SAGE_HOME/userdata/Phoenix/vfs/)
<!DOCTYPE vfs SYSTEM "vfs.dtd">
<vfs>
<views>
<view name="phoenix.view.default.TV.unwatched" label="TV Shows (Unwatched)" flat="true">
<tag value="tv" />
<tag value="default"/>
<view-source name="phoenix.view.primary.recordedtv"/>
<view-source name="phoenix.view.primary.importedtv"/>
<filter by="watched" value="false"/>