I called my certificate OTrecorderSign
$ vi *.c
$ make
$ codesign -f -s OTrecorderSign myprog
# attempting to be the most robust solution for outputting git log as JSON, | |
# using only `git` and the standard shell functions, without requiring | |
# additional software. | |
# - uses traditional JSON camelCase | |
# - includes every major field that git log can output, including the body | |
# - proper sections for author, committer, and signature | |
# - multiple date formats (one for reading, ISO for parsing) | |
# - should properly handle (most? all?) body values, even those that contain | |
# quotation marks and escaped characters |
#h264 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1080p) temp.aac" -c copy "Apple Special Event, October 2020 (1080p).mp4" | |
#h265 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1 |
#include <ctype.h> | |
#include <errno.h> | |
#include <stdarg.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
struct Archive |
# 1. Clone the remote
git clone monster-repository project-repository
# 2. change dir
cd project-repository
# 3. Remove the remote
git remote rm origin
// | |
// Copyright (c) 2014 Cédric Luthi “0xced” | |
// | |
// ./uncruftapidiff https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS80APIDiffs/index.html iOS8_0APIDiffs.html | |
// ./uncruftapidiff https://developer.apple.com/library/prerelease/mac/documentation/General/Reference/APIDiffsMacOSX10_10SeedDiff/index.html OSX10_10APIDiffs.html | |
// | |
#import <Foundation/Foundation.h> | |
#import <sysexits.h> |
// Playground - noun: a place where people can play | |
import Cocoa | |
struct Regex { | |
let pattern: String | |
let expressionOptions: NSRegularExpressionOptions | |
let matchingOptions: NSMatchingOptions | |
init(pattern: String, expressionOptions: NSRegularExpressionOptions, matchingOptions: NSMatchingOptions) { |
// Source for the Accidental Tech Podcast (ATP) T-Shirt: | |
// http://www.marco.org/2014/04/29/atp-shirts | |
// | |
// By Marco Arment, April 28, 2014. MIT license. | |
@implementation ATPLogoView | |
- (void)drawRect:(CGRect)rectIgnored | |
{ | |
NSString *fontName = @"MyriadPro-Semibold"; |
// | |
// NSImage+Retina.h | |
// | |
// Created by Levi Nunnink on 3/11/14. | |
// | |
#import <Cocoa/Cocoa.h> | |
@interface NSImage (Retina) |
/* | |
* Wiegand API Raspberry Pi | |
* By Kyle Mallory All rights reserved. | |
* 12/01/2013 | |
* Based on previous code by Daniel Smith (www.pagemac.com) and Ben Kent (www.pidoorman.com) | |
* Depends on the wiringPi library by Gordon Henterson: https://projects.drogon.net/raspberry-pi/wiringpi/ | |
* | |
* This is linked with -lpthread -lwiringPi -lrt | |
* | |
* The Wiegand interface has two data lines, DATA0 and DATA1. These lines are normall held |