Skip to content

Instantly share code, notes, and snippets.

View Noah-Huppert's full-sized avatar
🐢

Noah Huppert Noah-Huppert

🐢
View GitHub Profile
@Noah-Huppert
Noah-Huppert / README.md
Last active December 25, 2023 07:27
Script which gets the name and Google Play Store link of every third party app installed on your phone.

Instructions

Edit list-apps.py with your own values for BIN_ADB and BIN_AAPT. Then run the script with your phone plugged in on debug mode.

This will output a CSV with the name, package, and Google Play store link for each app. For some apps the name can not be determined so the package name will be used instead.

@Noah-Huppert
Noah-Huppert / README.md
Last active December 25, 2023 04:16
Patch Android app manifests to bypass install version checks,

Table Of Contents

Overview

If you get a new phone and want to install an app that works on your previous phone but the Play Store won't allow it, there might be a work-around.

As you upgrade your Android operating system apps that you already have installed will usually stay installed. Apps which have been abandoned and not upgraded often still work on the new Android versions. Even if the app's manifest doesn't officially declare the new Android API versions as being supported they often can continue to work. As new Android versions get released eventually they won't allow apps which target older Android API versions to be installed. However, these apps can often still work.

One fix for this is to repack the app to claim that it supports a newer Android API version. Even if it doesn't. This of course runs the risk that the app's internal code doesn't actually support a newer API version. But often if an app still works after an OS upgrade then it

sh: line 1: xdg-user-dir: command not found
Increasing per-process limit of core file size to infinity.
- Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
LogInit: Display: Running engine without a game
LogCore: Initializing trace...
LogCore: Display: Requested channels: 'cpu,gpu,frame,log,bookmark,screenshot'
LogCore: Finished trace initialization.
LogCsvProfiler: Display: Metadata set : platform="Linux"
LogCsvProfiler: Display: Metadata set : config="Development"
LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.2-CL-26001984"
@Noah-Huppert
Noah-Huppert / instructions.md
Created January 4, 2023 04:28
Tool to dump and restore Redis database. See instructions.md

Overview

A tool to dump a Redis server to a JSON file and then restore this file to another server.

Written to always dump and restore to database 0.

Instructions

Uses Python. To use the script:

  1. Install the redis package:
@Noah-Huppert
Noah-Huppert / App.jsx
Last active January 29, 2021 04:34
React computer properties based on state items.
import React, {
useEffect,
useState,
} from "react";
const App = () => {
const [errs, setErrs] = useState([]);
/**
* Helper which just appends the e to errs.
#
# List of GNU libc locales regenerated by the glibc-locales package.
# All libc locales are available in /usr/share/i18n/locales.
#
# If you add new locales you can regenerate them with:
# ``xbps-reconfigure -f glibc-locales´´
#
## This file names the currently supported and somewhat tested locales.
## If you have any additions please file a glibc bug report.
#
@Noah-Huppert
Noah-Huppert / out.log
Created October 24, 2020 18:21
xbps-install CONFLICT
% sudo xbps-install -Su
[*] Updating repository `http://mirror.clarkson.edu/voidlinux/current/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
CONFLICT: python3-cheetah3-3.2.6_1 with installed pkg python-cheetah-2.4.4_5 (matched by python-cheetah>=0)
CONFLICT: python3-scour-0.37_4 with installed pkg python-scour-0.37_2 (matched by python-scour>=0)
Transaction aborted due to conflicting packages.
@Noah-Huppert
Noah-Huppert / options.yaml
Created October 13, 2020 19:55
Options I give to wpa_supplicant
ssid: '"eduroam"'
key_mgmt: WPA-EAP
eap: TTLS
phase2: '"auth=PAP"'
identity: '"foobar@umass.edu"'
password: '"secret"'
@Noah-Huppert
Noah-Huppert / out.log
Created August 18, 2020 19:12
xbps-install protobufs upgrade error
~ % sudo xbps-install -Su
[*] Updating repository `http://mirror.clarkson.edu/voidlinux/current/x86_64-repodata' ...
x86_64-repodata: 1702KB [avg rate: 1475KB/s]
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/multilib/x86_64-repodata' ...
x86_64-repodata: 617KB [avg rate: 355KB/s]
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/nonfree/x86_64-repodata' ...
Name Action Version New version Download size
ImageMagick update 7.0.10.23_1 7.0.10.27_1 55KB
alacritty update 0.4.3_1 0.5.0_1 2015KB
diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template
index 5e6ef9daa3..a6c5ce7f64 100644
--- a/srcpkgs/discord/template
+++ b/srcpkgs/discord/template
@@ -2,18 +2,18 @@
pkgname=discord
version=0.0.11
revision=1
-depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
-wrksrc="Discord"