Skip to content

Instantly share code, notes, and snippets.

@b0gdanw
b0gdanw / ESD to ISO on macOS.txt
Last active December 22, 2024 06:39
Converting ESD files to ISO images on macOS
ESD to ISO on macOS
https://gist.github.com/b0gdanw/e36ea84828dbd19e03eff6158f1fc77c
Converting ESD files to ISO images on macOS
- download Parallels Desktop 18 for Mac Image from https://www.parallels.com/products/desktop/download/
- at the moment https://download.parallels.com/desktop/v18/18.2.0-53488/ParallelsDesktop-18.2.0-53488.dmg
- open/mount the dmg
- copy prl_esd2iso and libwimlib.1.dylib from /Volumes/Parallels\ Desktop\ 18/Parallels\ Desktop.app/Contents/ to /usr/local/bin/ and /usr/local/lib/
sudo ditto /Volumes/Parallels\ Desktop\ 18/Parallels\ Desktop.app/Contents/MacOS/prl_esd2iso /usr/local/bin/prl_esd2iso
@najibninaba
najibninaba / pythonista-install-boto.py
Last active December 28, 2019 20:51
Pythonista script for installing boto
# Source: https://gist.github.com/najibninaba/5062153
#
# This script installs Boto in Pythonista. Run this script in your root folder and it will download and install Boto along with its
# dependencies. To use Boto, be sure to add boto-module in your sys.path before importing boto like so:
# import sys; sys.path.append('boto-module')
# import boto.ec2
#
# Credits:
# This script is inspired by omz's Evernote Installer script: https://gist.github.com/omz/5048588
#
@ttscoff
ttscoff / searchlink.rb
Last active February 20, 2025 10:07
SearchLink creates Markdown links from automatic searches based on special syntax.
#!/usr/bin/env ruby
# Usage: tp2md.rb filename.taskpaper > output.md
# Updated 2025-03-19
# - Fix block quote indentation
# - use GFM-style - [ ] markers
# - convert @tags to #tags
# - <self-link> bare urls
# - Accept input piped on STDIN
if $stdin.stat.size.positive?