Skip to content

Instantly share code, notes, and snippets.

@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-v3.0.2.json
Last active June 12, 2024 07:16
obtainium-export.json
{"apps":[{"id":"dev.imranr.obtainium","url":"https://github.com/ImranR98/Obtainium","author":"ImranR98","name":"Obtainium","latestVersion":"v1.1.3","apkUrls":"[[\"app-arm64-v8a-fdroid-release.apk\",\"https://api.github.com/repos/ImranR98/Obtainium/releases/assets/161880218\"],[\"app-arm64-v8a-release.apk\",\"https://api.github.com/repos/ImranR98/Obtainium/releases/assets/161880209\"]]","otherAssetUrls":"[]","preferredApkIndex":1,"additionalSettings":"{\"includePrereleases\":true,\"fallbackToOlderReleases\":true,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":false,\"dontSortReleasesList\":false,\"useLatestAssetDateAsReleaseDate\":false,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":true,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":false,\"apkFilterRegEx\":\"\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"\",\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false
@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 -->
@RJNY
RJNY / index.html
Last active February 1, 2018 04:58
Seth Beebe
<!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>New Leaf Design</title>