This file contains hidden or 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
from scipy import optimize | |
import matplotlib.pyplot as plt | |
import numpy as np | |
x = np.array([0.44555229,0.451050222,0.456548005,0.462047815,0.467547149,0.473043054,0.47853905,0.484035373,0.489533812,0.495033622,0.500536561,0.506039441,0.511543989,0.517043889,0.522544503,0.528034508,0.533517718,0.538981795,0.54444468,0.549870014,0.555286944,0.560680449,0.566039383,0.571363509,0.5766294,0.58096844,0.586257875,0.590781629,0.595990837,0.600669384,0.605544567,0.610717297,0.614884973,0.619913459,0.624611497,0.629727483,0.634378314,0.638994694,0.643537581,0.648026347,0.652395248,0.656798244,0.661090612,0.665349484,0.669545651,0.673695207,0.6777215,0.681734681,0.685683012,0.689574421,0.693359315,0.697144389,0.700820148,0.704441071,0.708014906,0.711506248,0.714960277,0.718354821,0.721866608,0.725091338,0.728342831,0.731495917,0.734687626,0.737798691,0.740819752,0.743921816,0.746825039,0.749714971,0.752602696,0.755390763,0.758161485,0.760909796,0.763517857,0.766114473,0.768681109,0.771167219,0.773579657,0.776034713,0.7 |
This file contains hidden or 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
from ctypes import LibraryLoader, WinDLL, WinError, GetLastError | |
from ctypes import Structure, Union, POINTER, create_string_buffer, cast, byref | |
from ctypes import c_int, c_uint, c_long, c_ulong, c_int64, c_uint64 | |
from ctypes.wintypes import BOOL, BYTE, WORD, DWORD, WCHAR, HANDLE | |
from platform import machine | |
windll = LibraryLoader(WinDLL) | |
# Windows API from https://github.com/Dobatymo/ctypes-windows-sdk/blob/6f984f4753fcd83cd57f045b204d0be0d702d41c/cwinsdk/um/sysinfoapi.py | |
X64 = machine().endswith('64') |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<AdminDeploymentCustomizations xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment"> | |
<BundleCustomizations TargetDir="default" NoWeb="default"/> | |
<SelectableItemCustomizations> | |
<SelectableItemCustomization Id="Blend" Hidden="no" Selected="no" /> | |
<SelectableItemCustomization Id="LightSwitch" Hidden="no" Selected="no" /> | |
<SelectableItemCustomization Id="VC_MFC_Libraries" Hidden="no" Selected="yes" /> <!-- for factory, lang generators --> | |
<SelectableItemCustomization Id="OfficeDeveloperTools" Hidden="no" Selected="no" /> | |
<SelectableItemCustomization Id="SQL" Hidden="no" Selected="no" /> |
This file contains hidden or 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
import os | |
import argparse | |
import binascii | |
import re | |
import socket | |
try: | |
import socketserver | |
except ImportError: | |
import SocketServer as socketserver | |
import errno |
This file contains hidden or 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
try: | |
import tkinter.ttk as ttk | |
except ImportError: | |
import ttk | |
class CheckableTreeview(ttk.Treeview): | |
check_mark = '✓' # '*' | |
uncheck_mark = '' |
This file contains hidden or 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
[cmi] | |
namespace=urn:schemas-microsoft-com:unattend | |
ClientServerSplit=true | |
AnswerFileFormat=1 | |
ServerDatacenterACorCore=P7CCN-72DMB-93C9B-C9PD7-379HK | |
EnterpriseNEval=MNXKQ-WY2CT-JWBJ2-T68TQ-YBH2V | |
ProfessionalSingleLanguage=G3KNM-CHG6T-R36X3-9QDG6-8M8K9 | |
CoreSingleLanguage=BT79Q-G7N6G-PGBYW-4YWX6-6F4BT | |
Professional=VK7JG-NPHTM-C97JM-9MPGT-3V66T | |
ServerStorageStandard=VN8D3-PR82H-DB6BJ-J9P4M-92F6J |