Skip to content

Instantly share code, notes, and snippets.

View jordemort's full-sized avatar

Jordan Webb jordemort

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"tags": [
{
"name": "slurm",
"description": "methods that query slurmctld"
},
{
"name": "slurmdb",
"description": "methods that query slurmdbd"
},
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<dateCreated>Thu, 17 Apr 2025 18:29:10 +0000</dateCreated>
<title>Tiny Tiny RSS Feed Export</title>
</head>
<body>
<outline text="Funny" ttrssSortOrder="0">
<outline type="rss" text="Hard Drive" xmlUrl="https://hard-drive.net/feed/" ttrssSortOrder="5" ttrssPurgeInterval="0" ttrssUpdateInterval="0" htmlUrl="https://hard-drive.net"/>
<outline type="rss" text="n-gate.com." xmlUrl="http://n-gate.com/index.rss" ttrssSortOrder="93" ttrssPurgeInterval="0" ttrssUpdateInterval="0" htmlUrl="http://n-gate.com/index.rss"/>
@jordemort
jordemort / quartiles.py
Last active May 21, 2024 16:41
Quartiles solver
# /usr/bin/env python3
"""
A solver for the Quartiles game in Apple News
Input your tiles separated by spaces or newlines. This program will find
all entries in /usr/share/dict/words that match a permutation of 1, 2, 3,
or 4 tiles.
"""
diff --git a/src/base/misc/ioctl.c b/src/base/misc/ioctl.c
index 39c0b005a..b55042bbd 100644
--- a/src/base/misc/ioctl.c
+++ b/src/base/misc/ioctl.c
@@ -125,10 +125,12 @@ static void io_select(void)
{
int selrtn, i;
fd_set fds;
+ fd_set exceptfds;
int nfds;
@jordemort
jordemort / x1q_usa_singlex_defconfig
Created May 31, 2023 03:07
Kernel config for Samsung Galaxy s20 (Android 13, SM-G981U)
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.19.113 Kernel Configuration
#
#
# Compiler: clang version 10.0.6 for Android NDK
#
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
diff --git a/lib/psm.c b/lib/psm.c
index 810323a45..81c429269 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -103,7 +103,7 @@ static rpmRC markReplacedFiles(const rpmpsm psm)
if (!headerGet(h, RPMTAG_FILESTATES, &secStates, HEADERGET_MINMEM))
continue;
-
+
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/vnd.apple.pages">
<comment>Pages Document</comment>
<generic-icon name="x-office-document"/>
<glob pattern="*.pages"/>
</mime-type>
<mime-type type="application/vnd.apple.keynote">
<comment>Keynote Presentation</comment>
<generic-icon name="x-office-presentation"/>
diff --git a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
index d43edda..e5e9229 100644
--- a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
+++ b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
inherit core-image
inherit ostree_readonly_sysroot
-IMAGE_FSTYPES = "ostree.tar"
+IMAGE_FSTYPES = "ostree.tar.xz"
on:
pull_request:
name: Lint
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
on:
pull_request:
name: Suggestions
jobs:
shell:
name: Shell suggestions
runs-on: ubuntu-20.04
steps: