Create a bookmark and replace URL with either of the listed codes
Easier: (google chrome)
- Triple click to the whole thing
- COPY!
- Now hit
[CTRL] + [D]
#!/usr/local/bin/python | |
# encoding: utf-8 | |
""" | |
*Tidy up Pinboard Tags* | |
:Author: | |
David Young | |
:Date Created: | |
November 8, 2017 |
(* | |
"DJ Jonny F's iTunes Repair" for iTunes | |
written by Jonathan Feeke | |
[email protected] | |
*) | |
--===========LIST OF DEFAULT VARIABLES===========-- | |
property my_title : "DJ Jonny F's iTunes Repair" | |
property myFileName : "" | |
property newName : "" |
javascript:location.href='bear://x-callback-url/add-text?title=URL-Grabber&mode=prepend&text='+encodeURIComponent('['+document.title+']('+location.href+")") |
git branch | grep feature/ | xargs git branch -D
Source: https://stackoverflow.com/questions/10610327/delete-all-local-git-branches
function applicationWatcher(appName, eventType, appObject) | |
if (eventType == hs.application.watcher.activated) then | |
if (appName == "Finder") then | |
-- Bring all Finder windows forward when one gets activated | |
appObject:selectMenuItem({"Window", "Bring All to Front"}) | |
end | |
end | |
end | |
local appWatcher = hs.application.watcher.new(applicationWatcher) |
Sublime Text is an awesome text editor. You can get it either from its website or, if you are on a mac, by running the following:
brew cask install sublime-text
Now you need Package Control, that you can either install via the command they offer on their website or, if you have an updated version of Sublime Text, you should find an option to install it under "Tools".
brew options ffmpeg | |
brew install ffmpeg \ | |
--with-chromaprint \ | |
--with-fdk-aac \ | |
--with-fontconfig \ | |
--with-freetype \ | |
--with-frei0r \ | |
--with-game-music-emu \ | |
--with-libass \ |
on idle | |
# Change these to your VPN's IP Address, and the VPN's name in your Mac's Network System Prefernces panel. | |
set vpnIPAddress to "111.222.333.444" | |
set vpnServiceName to "AlgoVPN" | |
set myIP to "127.0.0.1" | |
set shellScriptCommands to {¬ | |
"dig +short myip.opendns.com @resolver1.opendns.com", ¬ | |
"dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'\"' '{ print $2}'", ¬ | |
"curl ifconfig.me", ¬ |
Command Flags
Flag | Options | Description |
---|---|---|
-codec:a |
libfaac, libfdk_aac, libvorbis | Audio Codec |
-quality |
best, good, realtime | Video Quality |
-b:a |
128k, 192k, 256k, 320k | Audio Bitrate |
-codec:v |
mpeg4, libx264, libvpx-vp9 | Video Codec |