A script to fix EDID problems on external monitors in Mac OS.
-
Connect the problem monitor.
-
Restart in rootless state with 'CMD R'.
-
Disable SIP. http://www.madrau.com/support/support/srx_1011.html
import xlrd | |
import sys | |
if __name__ == '__main__': | |
if len(sys.argv) != 2: | |
print "Usage: git-xlsx-textconv file.xslx" | |
excelFileName = sys.argv[1] | |
xlFile = xlrd.open_workbook(excelFileName) |
/* VT100 terminal reset (<ESC>c) */ | |
console.log('\033c'); | |
/* numbers comparations */ | |
> '2' == 2 | |
true | |
> '2' === 2 |
A script to fix EDID problems on external monitors in Mac OS.
Connect the problem monitor.
Restart in rootless state with 'CMD R'.
Disable SIP. http://www.madrau.com/support/support/srx_1011.html
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
# 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 |