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
# 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 |
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);})();
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
# 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) |
#! 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" |
var friends = document.querySelectorAll('._698 > div > a'); | |
urls = []; | |
for (var i = 0, len = friends.length; i < len; i++) { | |
urls.push(friends[i].href); | |
} | |
JSON.stringify(urls); |
444303913 macOS 10.7 Lion | |
537386512 macOS 10.8 Mountain Lion | |
675248567 macOS 10.9 Mavericks | |
915041082 macOS 10.10 Yosemite | |
1147835434 macOS 10.11 El Capitan | |
1018109117 macOS 10.11 El Capitan (new) | |
1127487414 macOS 10.12 Sierra | |
1246284741 macOS 10.13 High Sierra |