This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
SILENT = ENV['SL_SILENT'] =~ /false/i ? false : true || true | |
VERSION = '2.2.23' | |
# SearchLink by Brett Terpstra 2015 <http://brettterpstra.com/projects/searchlink/> | |
# MIT License, please maintain attribution | |
require 'net/https' | |
require 'uri' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |