View granger_rainbow.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
import png # pip3 install pypng | |
import colorsys # h_ue,s_aturation,v_alue | |
filename = "rainbow.png" | |
# MacBook1,1 - MacBook7,1: 1280x800 | |
# iMac 27" 5K: 5120x2880 | |
# borderless A4 @ 600ppi: 4960x7016 -> https://www.papersizes.org/a-sizes-in-pixels.htm |
View AomeiRemovalTool.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aomei Partition Assistant | |
#at top of script | |
if (! | |
#current role | |
(New-Object Security.Principal.WindowsPrincipal( | |
[Security.Principal.WindowsIdentity]::GetCurrent() | |
#is admin? | |
)).IsInRole( | |
[Security.Principal.WindowsBuiltInRole]::Administrator |
View # mbedtls - 2020-09-08_06-54-10.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for mbedtls on macOS 10.15.6 | |
Build date: 2020-09-08 06:54:10 |
View # mbedtls - 2020-09-08_06-28-50.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for mbedtls on macOS 10.15.6 | |
Build date: 2020-09-08 06:28:50 |
View 2019-nCoV_quadratic_regression.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Not meant to teach proper Python, or statistics, but it works | |
import warnings | |
import numpy | |
import scipy.stats | |
x = numpy.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]) | |
y = numpy.array([4515.0, 5974.0, 7711.0, 9692.0, 11791.0, 14380.0, 17205.0, 20438.0, 24324.0, 28018.0]) |
View KEYDB.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; KEYDB.cfg | |
; 2017-09-02 16:04:54 | |
; | |
; server: http://www.labdv.com/aacs | |
; processing keys: 18 (18 from doom9.org forum) | |
; host certificates: 8 (7 from doom9.org forum) | |
; disc VUK keys: 24010 keys for 23999 discs (0 from doom9.org forum) | |
; processing keys | |
| PK | 0x810827A76E5B2CC1685E3217A23E2186 ; DK_V01-V12 |
View 01.configure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-12-24 14:22:17 +0100 | |
./configure | |
-prefix | |
/usr/local/Cellar/qt5/5.4.0 | |
-system-zlib | |
-qt-libpng | |
-qt-libjpeg | |
-confirm-license | |
-opensource |
View regex-weburl.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Updated: 2010/12/05 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it) | |
// | |
// Permission is hereby granted, free of charge, to any person |