Skip to content

Instantly share code, notes, and snippets.

View daveseah's full-sized avatar

DSri Seah daveseah

View GitHub Profile
@daveseah
daveseah / gist:81e4377974847e54ec663a721f1a2ef0
Last active August 6, 2019 06:19
Console errors from Mac OBS when changing parameters of a browser source
The following errors are generated when adding a browser source:
error 01:07:26.683258 -0400 taskgated cannot open file at line 42270 of [95fbac39ba]
error 01:07:26.683311 -0400 taskgated os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory
error 01:07:27.028057 -0400 tccd cannot open file at line 42270 of [95fbac39ba]
error 01:07:27.028080 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory
error 01:07:27.030801 -0400 tccd cannot open file at line 42270 of [95fbac39ba]
error 01:07:27.030854 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory
error 01:07:27.352127 -0400 CodeMeterMacX send failed: Invalid argument
error 01:07:32.341693 -0400 tccd cannot open file at line 42270 of [95fbac39ba]
@daveseah
daveseah / sri-open.js
Last active August 30, 2018 01:26
Alfred 4 : Script to open a set of folders/objects (MacOS Automation Javascript/JXA)
/*////////////////////////// ALFRED OPEN FOLDERS \\\\\\\\\\\\\\\\\\\\\\\\\\\\*\
A script to accept an input query keyword, then open a set of folders/files
via the finder. I made this to quickly open folders and related files by
keyword. CMD-SPACE followed by cd km, fo example, opens my ~/KM folder and
launches a VSCODE project after speaking a custom prompt.
/// CONSTANTS ///////////////////////////////////////////////////////////////*/
/// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/// long directory paths
@daveseah
daveseah / github-print-bookmarklet
Last active September 23, 2015 21:02 — forked from BenjaminKlatt/github-print-bookmarklet
Bookmarklet for Removing GitHub Frame for Printing
/// copy the line below for bookmarklet, use as URL
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1); f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window, document,"1.3.2",function($,L){$('#header,.pagehead,.breadcrumb,.commit,.meta,#footer,#footer-push,.wiki-actions,#last-edit,.actions,.header,.site-footer,.repository-sidebar,.file-navigation,.gh-header-meta,.gh-header-actions,#wiki-rightbar,#wiki-footer').remove();$('#files,.file').css({"background":"none","border":"none"});$('link').removeAttr('media');$('.container,.repository-with-sidebar .repository-content').css('width','100%');$('.gh-header-title,.has-rightbar #wiki-body').css('margin-right','0');});
/*/ NOTES
1. Figured out what CSS to change u