Skip to content

Instantly share code, notes, and snippets.

View RJNY's full-sized avatar

Richard RJNY

  • Cloudflare
  • Austin TX
  • 02:59 (UTC -05:00)
View GitHub Profile
@RJNY
RJNY / README.md
Last active April 20, 2026 15:29
Apollo Pause/Resume AHK Scripts

Warning

This is a Work in Progress! I am actively testing and updating this script as I run into bugs.

To get unstuck, the answer is almost always to run the resume.ahk script manually.

If that doesn't work, please feel free to share your use case only if you're able to reliably reproduce it.

How to Use:

https://github.com/ClassicOldSong/Apollo/wiki/Auto-pause-resume-games

@RJNY
RJNY / TaskerAutoChargingSeparation.xml
Last active April 23, 2024 14:31
Tasker auto charging separation for Odin2 - Thanks GlazedBelmont
<TaskerData sr="" dvi="1" tv="6.2.22">
<Profile sr="prof16" ve="2">
<cdate>1713469350217</cdate>
<clp>true</clp>
<edate>1713490012978</edate>
<flags>8</flags>
<id>16</id>
<mid0>11</mid0>
<nme>ChargeSeparationOff</nme>
<State sr="con0" ve="2">
@RJNY
RJNY / obtainium-emulation-pack.md
Last active December 8, 2025 17:22
obtainium-export.json
@RJNY
RJNY / shared-on-off-entities.yaml
Created June 11, 2023 03:25
Shared On/Off Entities Blueprint for HomeAssistant
blueprint:
name: Shared On/Off State
description: "# Shared On/Off State\n
**v0.01**\n\n
## Disclaimer:\n
This is my first attempt at writing a blueprint. Let me know if you have any feedback or edits I should make.\n
## Description:\n
This automation shares the state of selected entities.\n
If you turn On/Off any entity in this group, either through software or physically,
every other entity in this group will share the same state.\n
@RJNY
RJNY / index.html
Created June 16, 2018 12:54
michael szott gist
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Hello World!</title>
@RJNY
RJNY / _form.html.erb
Created February 21, 2018 15:12
_form.html.erb corrections
<div class="form-group">
<%= form_with(model: product, local: true) do |form| %>
<% if product.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(product.errors.count, "error") %> prohibited this product from being saved:</h2>
<ul>
<% product.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
on run
set toRun to "$WINEPREFIX/drive_c/Program Files (x86)/PlayOnline/SquareEnix/FINAL FANTASY XI/polboot.exe"
set winePrefix to "$HOME/.wine"
set wineLocation to "/usr/local/bin"
set dyldFallbackLibraryPath to "/opt/X11/lib"
set toRunPath to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; echo \"${TEMPVAR%/*}\""
set toRunFile to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; TEMPVAR2=\"" & toRunPath & "\"; echo \"${TEMPVAR#$TEMPVAR2/}\""
do shell script "PATH=\"" & wineLocation & ":$PATH\"; export WINEPREFIX=\"" & winePrefix & "\"; export DYLD_FALLBACK_LIBRARY_PATH=\"" & dyldFallbackLibraryPath & "\"; cd \"" & toRunPath & "\"; wine \"" & toRunFile & "\" > /dev/null 2>&1 &"
end run
@RJNY
RJNY / index.html
Created January 23, 2018 06:06
Kevin M template
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Kevin Meldau</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Optional theme -->
<link href="css/styles.css" rel="stylesheet" type="text/css">
@RJNY
RJNY / index.html
Created December 24, 2017 06:28
David Clayman template revisions
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>David Clayman. Developing Rails Engineer.</title>
@RJNY
RJNY / index_header.html
Created December 22, 2017 18:45
David Clayman index header
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>David Clayman. Developing Rails Engineer.</title>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->