- Medicine
- Statistics
- Sociology
- Religion
- https://youtube.com/playlist?list=PLNcTke38QqQojjPskyX89Fh8Z87Px6xPL
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
# Check for Administrator Privileges | |
if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
Write-Host "This script requires Administrator privileges. Please run it as an Administrator." | |
Exit | |
} | |
# Run as Administrator | |
Set-ExecutionPolicy Bypass -Scope Process -Force -Confirm:$false | |
# Install Chocolatey |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
first_key_down | next_key_down | freq | mean | std | |
---|---|---|---|---|---|
A | A | 75865 | 415.7420473683694 | 211.15077174990657 | |
A | B | 1004970 | 165.28457375000784 | 85.53598674842621 | |
A | C | 2195967 | 167.4397778601112 | 61.035602729802285 | |
A | D | 1441567 | 162.8665241188316 | 31.321963905203503 | |
A | E | 3605848 | 405.72196709898844 | 208.6443786776474 | |
A | F | 651427 | 402.95098691571224 | 203.15117061387028 | |
A | G | 638791 | 395.8929611390238 | 198.9873950522662 | |
A | H | 5849734 | 197.66910352690073 | 90.16204233255728 | |
A | I | 601633 | 249.09574362732477 | 202.01115726544845 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Start with a base Ubuntu 22.04 image | |
# --platform=linux/amd64 | |
FROM ubuntu:22.04 | |
# Set environment variables | |
ENV DEBIAN_FRONTEND=noninteractive \ | |
LLVM_VERSION=c0b45fef155fbe3f17f9a6f99074682c69545488 \ | |
LLVM_INSTALL_PATH=/opt/llvm \ | |
CUDAQ_INSTALL_PATH=$HOME/.cudaq |
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
import time, sys | |
def progress(iterable, length=33): | |
total, start = len(iterable), time.monotonic() | |
for count, it in enumerate(iterable, 1): | |
yield it | |
if count % max(1, total // 10000) == 0 or count == total: | |
percent = count / total | |
sys.stdout.write( | |
f'\r▕{"█" * int(length * percent) + " " * (length - int(length * percent))}▏ ' |
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
function isWorn() { | |
console.log(Bangle.isCharging(), E.getTemperature(), Bangle.getAccel().mag); | |
if (Bangle.isCharging()) | |
return false; | |
if (E.getTemperature() >= 33.1) | |
// https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8266026/table/T2/ | |
return true; | |
if (Bangle.getAccel().mag >= 1.02) | |
return true; | |
return false; |
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
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble | |
The GNU General Public License is a free, copyleft license for |
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
:root { | |
--bg-color: #ffffff; | |
--font-color: #000000; | |
/* highest contrast colors | |
for light and dark themes */ | |
--red: #ec0000; | |
--green: #008900; | |
--blue: #5f5fff; | |
--gray: #757575; | |
} |
NewerOlder