Various Versions of macOS/OSX will fail on install for various reasons.
You can fix them by disconnecting from your wifi or network or resetting
your NVRAM. Booting from your USB stick, opening terminal and doing:
date ##########
where the # nubers are below. Format is: MMDDhhmmYY
10.16 - 0.5 Leopard - date 0101010121 <- Currently not needed
10.15 - Catalina - date 0101010120 <- Currently not needed
10.14 - Mojave - date 0101010119 <- Currently not needed
10.13 - High Sierra - date 0101010118
10.12 - Sierra - date 0101010117
# batch convert | |
for i in *.mp4; do ffmpeg -i "$i" "${i%.mp4}.webm"; done | |
# convert from one format to another | |
ffmpeg -i input.mp3 output.wav | |
# convert from one video format to another ("-qscale" value are 0-10, 0 is the best) | |
ffmpeg -i input.mp4 -qscale 0 output.webm | |
# convert video to audio (sometimes this one is better than the custom one below) |
Tags: #bookmarklet #curation #markdown
Bookmarklet to copy current page title and url in Markdown format to clipboard, like title - Usual for posting links to resources in README.md files #bookmarklet #safari #markdown #tool
Originally from: https://gist.github.com/jbrown123/84839a5abe763e5b117a321510cb9de7
Tags: #markdown #bookmarklet
This bookmarklet removes a web page’s current styling and applies markdown style to it. No conversion, just style.
1. Create a bookmarklet with the following javascript as the URL.
javascript:(function(){var s=document.createElement('script');s.src='https://dl.dropbox.com/s/5tyy4xskrda9r28/markdownify.js?token_hash=AAE5s_WBThN9O1mx6AfsPqSY6xjNvD47n6-24vn-ourX_w&dl=1';document.body.appendChild(s);})();
#! /usr/bin/env python | |
# Clone or update all the GitHub gists of the current GitHub user into working directory | |
# Originally forked from | |
# https://gist.github.com/joneskoo/1480022 | |
# via https://gist.github.com/nicerobot/1622504 | |
# https://gist.github.com/fedir/5466075 | |
# https://gist.github.com/proski/a31d49380a38d2c45b2f | |
# Specify GitHub username in the GITHUB_USER environment variable, i.e. |
# shortform git commands | |
alias g='git' | |
# push all branches to all remotes | |
git remote | xargs -L1 git push --all | |
# count lines of .js code in a repo | |
git ls-files | grep \\.js$ | xargs wc -l | |
# pretty tab'd git log |
#! env zsh | |
######################################## | |
# git_helper.zsh | |
# Author: Ajeet Singh | |
# provides functions as commands for git | |
######################################## | |
#variables | |
export GIST_UPLOAD_URL="https://api.github.com/gists" | |
export GIST_DOWNLOAD_URL="https://gist.github.com" |