Skip to content

Instantly share code, notes, and snippets.

View Benitoite's full-sized avatar
🇺🇸
¡Packaging for macOS notaryservices!

Richard E Barber Benitoite

🇺🇸
¡Packaging for macOS notaryservices!
View GitHub Profile
@Benitoite
Benitoite / macos-app-icon.md
Created September 10, 2023 04:19 — forked from jamieweavis/macos-app-icon.md
How to create an .icns macOS app icon
@Benitoite
Benitoite / macpatch2
Created July 19, 2022 03:46
brings ART macos package up-to-date with RT-dev
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf204a5d2..194cf2da5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,7 @@
if(APPLE)
- cmake_minimum_required(VERSION 3.5)
+ cmake_minimum_required(VERSION 3.7)
cmake_policy(SET CMP0025 NEW)
+ cmake_policy(SET CMP0037 NEW)
@Benitoite
Benitoite / timelapse.md
Last active June 13, 2021 23:14 — forked from alexellis/timelapse.md
ffmpeg time-lapse

Convert sequence of JPEG images to MP4 video

ffmpeg -r 24 -pattern_type glob -i '*.JPG' DSC_%04d.JPG -s hd1080 -vcodec libx264 timelapse.mp4

  • -r 24 - output frame rate
  • -pattern_type glob -i '*.JPG' - all JPG files in the current directory
  • -i DSC_%04d.JPG - e.g. DSC_0397.JPG
  • -s hd1080 - 1920x1080 resolution

Slower, better quality

@Benitoite
Benitoite / gist:5e202df637aaa1a5609f1ce456e6bf83
Created January 28, 2021 20:34
meson options for building mesa
-Dplatforms=x11,wayland -Ddri-drivers=[] -Ddri3=enabled -Dgallium-extra-hud=true -Dvulkan-drivers=['amd','intel','swrast'] -Dshader-cache=enabled -Dvulkan-overlay-layer=true -Dvulkan-device-select-layer=true -Dopengl=true -Dgles1=disabled -Dgles2=disabled -Degl=disabled -Dllvm=enabled -Dlmsensors=enabled -Dtools=glsl,nir -Dopencl-spirv=true -Dgallium-vdpau=enabled -Dgallium-xvmc=enabled -Dgallium-va=enabled -Dglvnd=true -Dgbm=enabled -Dlibunwind=enabled -Dosmesa=true -Dgallium-nine=true -Dgallium-opencl=icd -Dopencl-spirv=false
@Benitoite
Benitoite / Info.plist
Last active June 6, 2020 22:37
Example Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>myexecutable</string>
</dict>
</plist>
@Benitoite
Benitoite / ctimetest.c
Last active March 3, 2020 21:13
ctime_r-test
#include <time.h>
#include <stdio.h>
int main()
{
char buf[26];
long t;
time(&t);
ctime_r (&t, buf);

Keybase proof

I hereby claim:

  • I am Benitoite on github.
  • I am kd6kxr (https://keybase.io/kd6kxr) on keybase.
  • I have a public key whose fingerprint is D1BA C925 F31D 9A99 7A90 D519 2DBA 0680 C336 0E5F

To claim this, I am signing this object:

diff -r 6fce4eda8251 rtengine/dcraw.cc
--- a/rtengine/dcraw.cc Wed Oct 24 12:03:15 2018 +0200
+++ b/rtengine/dcraw.cc Sat Oct 27 13:53:10 2018 +0200
@@ -30,6 +30,10 @@
//#define BENCHMARK
#include "StopWatch.h"
+#include <zlib.h>
+#include <stdint.h>
+
diff --git a/rtengine/dcraw.cc b/rtengine/dcraw.cc
--- a/rtengine/dcraw.cc
+++ b/rtengine/dcraw.cc
@@ -6113,6 +6113,7 @@
break;
case 305: case 11: /* Software */
fgets (software, 64, ifp);
+ RT_software = software;
if (!strncmp(software,"Adobe",5) ||
!strncmp(software,"dcraw",5) ||
#!/usr/bin/env ruby -Ku
require 'net/http'
require 'net/https'
require 'open-uri'
require 'cgi'
require 'optparse'
ACCOUNT = '' # Set to Google Voice account email for default account
PASSWORD = '' # Set to Google Voice account password for default account