Skip to content

Instantly share code, notes, and snippets.

View CobreDev's full-sized avatar
:octocat:
Trying to make iOS tweaks

Cooper CobreDev

:octocat:
Trying to make iOS tweaks
View GitHub Profile
@isakfagerlund
isakfagerlund / styles.css
Last active April 1, 2023 23:54
Minimalistic Twitter Boost with Arc Styles
* {
color: var(--arc-palette-minContrastColor) !important;
}
body {
background: var(--arc-palette-foregroundPrimary) !important;
}
[data-testid="primaryColumn"] {
background: var(--arc-palette-foregroundPrimary) !important;
# Put in root directory of music
# Extracts embedded artwork and makes them 300x300 jpgs.
# "$f" = mp3 file name (./Ahrix - Nova.mp3)
# "${f/%mp3/jpg}" = image name (./Ahrix - Nova.jpg)
rm ._*
# rm *.jpg
# Finds all the mp3 files in the current folder and list them to "f" variable

Paid Tweak Guidelines (Work-in-Progress)

Asking for payment is equivalent to stating "I have made something truly worth paying for". For example, it is groundbreaking or an incredibly useful addition to iOS. In most cases, consider not asking for payment and look towards open-sourcing your work. The 'soul' of making tweaks is to build something for the fun of it, not to run a business.

If you decide to release a paid tweak, it is not a matter of adding a price to your work and putting it on a default repository. You need to ensure the price is justified, and that the tweak matches customer expectations. After that, you also need to provide support and updates when necessary. To be clear: accepting payments means you become liable for handling a lot more than just writing code.

The following guidelines should be used to check that you are within customer expectations. Please note that individual repositories may also add their own expectations if you decide to release through them (e.g. [Packix](https:/

@julianschiavo
julianschiavo / 1 iOS Apps on Apple Silicon.md
Last active December 22, 2023 14:26
Bash script to resign wrapped iOS apps on Apple Silicon; allows running third party apps

iOS Apps on Apple Silicon

Bash script to resign wrapped iOS apps on Apple Silicon; allows running third party apps

  1. Get a copy of an unencrypted iOS app (IPA) file (see here)
  2. Double-click the file on Mac with Apple Silicon to install it to /Applications
  3. Save the resign.sh script
  4. Replace CODE_SIGN_IDENTITY_HERE with your code signing identity from Xcode (see here)
  5. If needed, allow execution on the script file by running chmod +x SCRIPT_PATH in Terminal
  6. Run resign.sh, passing in the wrapped app to resign ./resign.sh /Applications/Snapchat.app
  7. If successful, the resigned app will open
@jordansinger
jordansinger / iPod.swift
Created July 27, 2020 21:19
Swift Playgrounds iPod Classic
import SwiftUI
import PlaygroundSupport
struct iPod: View {
var body: some View {
VStack(spacing: 40) {
Screen()
ClickWheel()
Spacer()
}
@M4cs
M4cs / Test Substitutions.plist
Created April 6, 2020 19:25
Open System Preferences > Keyboard > Text and Drag This As A .plist File Onto It
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>phrase</key>
<string>⏩</string>
<key>shortcut</key>
<string>:fast_forward_button:</string>
</dict>
@MTACS
MTACS / Prefs.plist
Created February 22, 2020 17:33
Solution to libcolorpicker not saving values
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>cell</key>
<string>PSLinkCell</string>
<key>cellClass</key>
@TrillCyborg
TrillCyborg / mastodon-docker-setup.md
Last active February 16, 2025 13:19
Mastodon Docker Setup

Mastodon Docker Setup

Setting up

Clone Mastodon's repository.

# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live

cd ~/live