Instuctions available (moved) at REMOTE ORIGIN website: Extract Subtitles From mkv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sets up a DOM MutationObserver that watches for elements using undefined CSS | |
* class names. Performance should be pretty good, but it's probably best to | |
* avoid using this in production. | |
* | |
* Usage: | |
* | |
* import cssCheck from './checkForUndefinedCSSClasses.js' | |
* | |
* // Call before DOM renders (e.g. in <HEAD> or prior to React.render()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Fix albums display order | |
-- Changes the "sort album" field, to ensure that albums get displayed in chronological order on iPods. | |
-- CC-BY-NC 2011, Jean-Karim Bockstael, | |
tell application "iTunes" | |
-- input checking | |
if selection is {} then | |
display dialog "You must select at least a track" | |
return | |
else | |
set selected_tracks to selection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Please see https://gist.github.com/Jamesits/6a58a1b08d5cd09a94a02f30ddaf0e13#gistcomment-2081294 | |
; for instruction. | |
; Author: James Swineson <[email protected]> | |
[General] | |
Name=James Profile | |
; 【启用 DirectWrite 支持】 | |
; [0:Disable] 1:Enable | |
DirectWrite=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Usage: git_files <BRANCH> | |
# | |
# Get all files created/changed in the BRANCH | |
# | |
git diff --stat `git merge-base master $1`..$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################## | |
# Author: Peter Gordon <[email protected]> | |
# License: Public Domain | |
############################################################################## | |
# gresource-extract.sh | |
# Version: 1 | |
# | |
# This Bash script is designed to extract all resource files in a given | |
# GResource file, with the given base folder. For example, if a GResource file |
- Start in Single User Mode by holding down Command-S when starting the Mac.
- Commands can also be typed via Terminal app when OS X is running.
See also: https://support.apple.com/en-us/HT201573
More tips: http://www.tekrevue.com/tip/mac-startup-options/
- Type
diskutil list
to view available drives
1. install
brew install tor
brew install privoxy
2. copy and modify config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@foo: `javascript` ; |
NewerOlder