Skip to content

Instantly share code, notes, and snippets.

unknownzerx

Block or report user

Report or block unknownzerx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:dffb4346fe2f7429423b
// a tree
var t = {
left: {
left: {
left: null,
right: null
},
right: null
},
right: {
View office-thinner.py
#! /usr/bin/python
# -*- coding: utf-8 -*-
import os
import filecmp
dir1 = '''/Applications/Microsoft Word.app/'''
dir2 = '''/Applications/Microsoft Excel.app/'''
View mac-hevc-hw-encoder.md

Use this code snip to get all encoders: https://stackoverflow.com/a/38954520

On a 13" MacBook Pro 2019 (with T2)

2019-08-23 16:20:04.737 print-encoders[26396:2240602]   1752589105  com.apple.videotoolbox.videoencoder.hevc.ave HEVC Apple HEVC (AVE) Apple HEVC (AVE)
2019-08-23 16:20:04.737 print-encoders[26396:2240602]   1752589105  com.apple.videotoolbox.videoencoder.hevc.gva HEVC Apple HEVC (HW) Apple HEVC (HW)
2019-08-23 16:20:04.737 print-encoders[26396:2240602]   1752589105  com.apple.videotoolbox.videoencoder.hevc.vcp HEVC Apple HEVC (SW) Apple HEVC (SW)

(showing HEVC-related only)

You can’t perform that action at this time.