Skip to content

Instantly share code, notes, and snippets.

@takato3000
takato3000 / chaotic_mapping.py
Created October 2, 2023 10:53
Chaotic Mapping
import sympy
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
import random
import sys
sys.set_int_max_str_digits(100000)
def tent_map(beta, iterations) -> list:
@takato3000
takato3000 / ntp_set.ps1
Last active September 29, 2022 03:55
windows ntp powershell script
function Set-TimeSynchronization {
param(
[string[]] $TimeSource = 'time.windows.com',
[int] $MaxPosPhaseCorrection = 5,
[int] $MaxnegPhaseCorrection = 5,
[int] $PollInterval = 1800
)
## set external time source
## set server type to NTP
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Parameters -Name Type -Value 'NTP'