by Joaquin Menchaca Last Update: Nov 2017
Updated versions maintained here:
This is my guide to getting essential tools for DevOps on Mac OS X.
| # things-tagged_reminders freklov 04/02/2017 | |
| # Copy Things to dos with a specific tag to a dedicated Reminders list | |
| # | |
| # ATTENTION | |
| # if two reminders lists with the same name exist, it is not forseeable which list is choosen | |
| # | |
| property ThingsTagName : "At Work" -- this is the name of the Things tag |
by Joaquin Menchaca Last Update: Nov 2017
Updated versions maintained here:
This is my guide to getting essential tools for DevOps on Mac OS X.
| // Remove body handlers for WYSIWYG copy/drag for example from this site. Does break this textinput. | |
| javascript:(()=>{let e = document.body; e.parentNode.replaceChild(e.cloneNode(true), e)})() | |
| // Speed up / slow down HTML5 videos! Just set as URLs of bookmark bar items: | |
| javascript:(function(){v = []; for(x of document.querySelectorAll("audio, video")) v.push(x); try{v.push(window.frames[0].document.querySelector("audio, video"))}catch(ex){}; for(i of v) i.playbackRate += .4}()) | |
| javascript:(function(){v = []; for(x of document.querySelectorAll("audio, video")) v.push(x); try{v.push(window.frames[0].document.querySelector("audio, video"))}catch(ex){}; for(i of v) i.playbackRate -= .4}()) | |
| // Dark mode | |
| javascript:(() => { let ok = false; for (let i = 0; i < 100; ++i) { try { let s = document.styleSheets[i]; s.insertRule("* {background-color: #000b!important; color: #FFF!important; text-shadow: 0 0 1em #fff}", s.cssRules.length); ok = true; break } catch (ex) { console.log("Dark Mode " + ex) } } if (!ok) { let s |
— by https://youtu.be/TYF5ytMDFpA
Good tags for web technology knowledge management.
Taken from: https://wappalyzer.com/applications
| #! /bin/bash | |
| pathname=$1 | |
| filename=$(basename $pathname .mkv) | |
| dirname=$(dirname $pathname) | |
| h264videopath="$dirname/../h264video/$filename.h264" | |
| aacaudiopath="$dirname/../aacaudio/$filename.m4a" | |
| aacvideopath="$dirname/../aacvideo/$filename.mp4" | |
| ac3videopath="$dirname/../ac3video/$filename.mp4" |
| from subprocess import check_output | |
| import re | |
| import os | |
| from shutil import copy2 as copy | |
| # adjust paths to your liking | |
| path = os.environ['HOME'] + '/Dropbox/Preferences/Notational Data/' | |
| outpath = os.environ['HOME'] + '/Desktop' | |
| os.mkdir(outpath + '/export') |
Some useful keywords for tagging software related content.
Taken from: http://alternativeto.net/
| #!/bin/bash | |
| for i in {1..70000}; | |
| do | |
| NUM=`ps -o pid -p $i | grep $i ` | |
| if [ $NUM ]; | |
| then | |
| echo " $i $NUM " | |
| log config --process=$i --mode 'level:off' | |
| fi |
| defaults write com.apple.Safari WebKitMediaPlaybackAllowsInline -bool false | |
| defaults write com.apple.SafariTechnologyPreview WebKitMediaPlaybackAllowsInline -bool false | |
| defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false | |
| defaults write com.apple.SafariTechnologyPreview com.apple.Safari.ContentPageGroupIdentifier.WebKit2AllowsInlineMediaPlayback -bool false |