Skip to content

Instantly share code, notes, and snippets.

View avral's full-sized avatar
💵
Open to offers

avral

💵
Open to offers
View GitHub Profile

Download .ipa files removed from purchased tab.

Due to unknown reasons, apps you had previously purchased can no longer be downloaded from the App Store or iTunes. However, it turns out these applications can still be accessed using iMazing's app downloading feature. This is because iMazing downloads apps using a different endpoint from what iTunes uses.

This app must be purchased on your Apple ID. You cannot just download any app ever made. Apple only lets you download apps you had bought or downloaded in the past.

Requirements for this tutorial:

  • iMazing (Windows or Mac)
  • Plist editor (ProperTree is free and cross platform, requires Python)
@mayurah
mayurah / sips: CR2 to jpeg
Created August 9, 2017 20:42
Mass convert CR2 (Raw Image File) to JPEG in macOS command-line.
# Mass convert CR2 (Raw Image File) to JPEG in macOS command-line.
mkdir Converted
for i in *.CR2; do sips -s format jpeg $i --out Converted/$i.jpg;done
@Manouchehri
Manouchehri / cloudflare.sh
Last active April 21, 2024 21:55
Allow CloudFlare only
# Source:
# https://www.cloudflare.com/ips
# https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables-
for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done
# Avoid racking up billing/attacks
# WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable.
iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP
@julionc
julionc / 00.howto_install_phantomjs.md
Last active February 21, 2024 11:01
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev