Skip to content

Instantly share code, notes, and snippets.

@DanSkeel
DanSkeel / AVCaptureDeviceFormat of iPhone6s
Created Dec 10, 2015
AVCaptureDeviceFormat of iPhone6s
View AVCaptureDeviceFormat of iPhone6s
<AVCaptureDeviceFormat: 0x13910d5f0 'vide'/'420v' 192x 144, { 3- 30 fps}, HRSI:4032x3024, fov:57.702, max zoom:189.00 (upscales @21.00), AF System:2, ISO:23.0-1472.0, SS:0.000013-0.333333>,
<AVCaptureDeviceFormat: 0x13911ad10 'vide'/'420f' 192x 144, { 3- 30 fps}, HRSI:4032x3024, fov:57.702, max zoom:189.00 (upscales @21.00), AF System:2, ISO:23.0-1472.0, SS:0.000013-0.333333>,
<AVCaptureDeviceFormat: 0x13911a2d0 'vide'/'420v' 352x 288, { 3- 30 fps}, HRSI:3696x3024, fov:52.893, max zoom:189.00 (upscales @10.50), AF System:2, ISO:23.0-1472.0, SS:0.000013-0.333333>,
<AVCaptureDeviceFormat: 0x13911a7d0 'vide'/'420f' 352x 288, { 3- 30 fps}, HRSI:3696x3024, fov:52.893, max zoom:189.00 (upscales @10.50), AF System:2, ISO:23.0-1472.0, SS:0.000013-0.333333>,
<AVCaptureDeviceFormat: 0x139118950 'vide'/'420v' 480x 360, { 3- 30 fps}, HRSI:4032x3024, fov:57.702, max zoom:189.00 (upscales @8.40), AF System:2, ISO:23.0-1472.0, SS:0.000013-0.333333>,
<AVCaptureDeviceFormat: 0x139118bb0 'vide'/'420f' 480x 360, { 3- 30 f
@DanSkeel
DanSkeel / private.xml
Last active Sep 10, 2020
Settings for Karabiner to enable Shift+Enter shortcut for newline in Messages app
View private.xml
<?xml version="1.0"?>
<!-- Documentation: https://pqrs.org/osx/karabiner/xml.html.en -->
<root>
<appdef>
<appname>Messages</appname>
<equal>com.apple.iChat</equal>
</appdef>
<item>
<name>Enable Shift+enter newline shortcut in Messages app</name>
<identifier>private.Messages.NewLine</identifier>
@DanSkeel
DanSkeel / main.m
Created Jun 15, 2015
Stupid command line tool that prints log files colored with XcodeColors
View main.m
// Created by DanSkeel on 15.06.15.
// How to:
// Create a command line tool project in xcode and paste this into main.m
// Provide path to log file in `filePath` var
// Run and see colored log file in console output
#import <Foundation/Foundation.h>
#include <stdio.h>
@DanSkeel
DanSkeel / DSLogging.h
Last active Sep 12, 2015
Logging configuration header for global/local levels in CocoaLumberjack (2.0.0)
View DSLogging.h
//
// Created by DanSkeel on 23.04.15.
#import "CocoaLumberjack.h"
#define DS_LogScopeGlobal extern
#define DS_LogScopeLocal static
#define DS_LogMutableYes
#define DS_LogMutableNo const