Skip to content

Instantly share code, notes, and snippets.

@freklov
freklov / things-tagged_reminders.applescript
Created April 2, 2017 08:14
AppleScript for Things: Copy Things to dos with a specific tag to a dedicated Reminders list
# 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
@darkn3rd
darkn3rd / GUIDE.MD
Last active September 3, 2021 13:18
Pedantic ADHD Guide to DevOps ToolBox
@CTimmerman
CTimmerman / bookmarklets.js
Last active October 23, 2025 11:37
Bookmarklets / Favelets - Drag to bookmarks bar and rename, then click on page to affect.
// 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
@ahmadawais
ahmadawais / audacity_audio_editing.md
Created March 27, 2017 09:21
AUDIO: How to Edit Your Audio in Audacity to Make You Sound Better!

AUDIO: How to Edit Your Audio in Audacity to Make You Sound Better.

— by https://youtu.be/TYF5ytMDFpA

Requirements

  • Audacity
  • Audio File

Process

  1. Open the file
@RebeccaWhit3
RebeccaWhit3 / Keywords for Tagging Web Technologies.md
Created March 24, 2017 00:12
Good tags for web technology knowledge management.
@othercat
othercat / ConvertAC3MKVtoAACMP4.sh
Last active February 15, 2023 01:54
Convert AC3 MKV to AAC MP4
#! /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"
@Noleli
Noleli / nvalttobear.py
Created March 22, 2017 21:53
A Python script to add Notational Velocity/nvALT tags as hashtags for Bear
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')
@RebeccaWhit3
RebeccaWhit3 / Keywords for Tagging Software.md
Last active January 14, 2022 07:43
Keywords for Tagging Software

Keywords for Tagging Software

Some useful keywords for tagging software related content.

AlternativeTo

Taken from: http://alternativeto.net/

Software by Genre

@keirthomas
keirthomas / logkill.sh
Last active March 16, 2018 06:27
BASH script to kill most app/process logging in macOS Sierra – replace USERNAME with your username (use whois in terminal to discover this)
#!/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
@zwaldowski
zwaldowski / safari-inline-video.sh
Last active December 10, 2020 07:31
Safari Inline Video
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