Skip to content

Instantly share code, notes, and snippets.

@b0gdanw
b0gdanw / ESD to ISO on macOS.txt
Last active April 27, 2024 02:13
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 26, 2024 07:05
SearchLink creates Markdown links from automatic searches based on special syntax.
#!/usr/bin/env ruby -rjcode -Ku
# TaskPaper to Markdown converter
# Usage: tp2md.rb filename.taskpaper > output.md
require 'ftools'
infile = ARGV[0]
title = File.basename(infile,'.taskpaper').upcase
output = "# #{title} #\n\n"
prevlevel = 0
begin