Skip to content

Instantly share code, notes, and snippets.

View zurgeg's full-sized avatar
🐍
I may be slow to respond.

zurgeg

🐍
I may be slow to respond.
View GitHub Profile
@zurgeg
zurgeg / windows_remove_insider_warning.bat
Created June 27, 2021 18:21
Remove the Windows Insider warning from any Insider build of Windows 10
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /t REG_DWORD /v NotificationDisabled /d 1 /f >NUL >2&1
@zurgeg
zurgeg / nt_manual_install.bat
Last active June 24, 2021 20:01
Windows NT Manual Install Script (Compatible With Windows Vista>=)
@echo off
echo Usage:
echo nt_manual_install.bat <path_to_install.wim> <path_to_install_dir> <system_partition>
echo By default, it installs Windows Home
echo To override this, you can set NTMANINSTALLINDEX to the index in the WIM image
echo For more info, you can run "dism /Get-WimInfo /WimFile:%1"
REM Set NTMANINSTALLINDEX if it isn't already set.
If Not Defined NTMANINSTALLINDEX (
set NTMANINSTALLINDEX=1
This file has been truncated, but you can view the full file.
Build started...
1>------ Build started: Project: SCMRevGen, Configuration: Release x64 ------
1>Cannot find git or git.cmd, check your PATH:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x86;C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86;;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\;;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files\Oculus\Support\oculus-runtime;C:\Program Files (x86)\Razer\
@zurgeg
zurgeg / 10mb_file
Created August 24, 2020 16:11
10mb file
This file has been truncated, but you can view the full file.
9254835974458887629672873635789957411886024698554157393849494864228024962939550688297074527198420261051675205999609689838587412
7948702662533481896767559573369920938242346354580061545409242090168773727371802699309443935396635866263937828773324526334321892
7929250312741837331511829643632683169694074912332726993582394725302853411901337696207186358524323117172520907433878952968176465
9486937364148093931718552300016332142708943190856638524388888569011747617956915519539025796115901484762122047712200094207683584
0703675740855407318047361595661595146837376373951978537785605481083388906490085533348547865459237835407372374738389274773789264
3524314516560200536698529022539598732463389124803873184044464663165630452635665559603483233341839268186056673186867104904449866
3388466377320953222057779182433549144340237502432464295061371141084500222833875925546082542869030852833895137466510262849050187
2359980877010447170873386178573828860442255448874794721230413368694441497441338856684036949118353204002591974711928301953002372
from math import pi, sin, cos
from direct.showbase.ShowBase import ShowBase
from direct.task import Task
from direct.actor.Actor import Actor
from direct.interval.IntervalGlobal import Sequence
from panda3d.core import Point3, Vec3
from panda3d.bullet import BulletWorld
from panda3d.bullet import BulletPlaneShape
from panda3d.bullet import BulletRigidBodyNode
This file has been truncated, but you can view the full file.
nce
2020-04-25 15:37:25.189 32556-32556/? W/KeyboardModeManager: KeyboardModeManager.setInputView():359 setInputView() : inputView = com.google.android.apps.inputmethod.libs.framework.core.InputView{271ec38 V.E...... .......D 0,0-1080,1731}
2020-04-25 15:37:25.189 32556-32556/? I/ConversationToQueryExtension: ConversationToQueryExtension.isEnabledForHostApp():257 Conv2Query not enabled due to current app [com.google.android.settings.intelligence] not in whitelist
2020-04-25 15:37:25.190 32556-32556/? I/ConversationToQueryExtension: ConversationToQueryExtension.onActivate():168 onActivate() : Disabled by unsupported host app
2020-04-25 15:37:25.195 32556-32556/? I/VoiceImeExtension: VoiceImeExtension.shouldStartVoiceInputAutomatically():335 No private IME option set to start voice input.
2020-04-25 15:37:25.204 32556-3623/? I/FederatedC2QExtension: FederatedC2QExtension.setupInferencing():556 Federated Conv2Query inferencing disabled, switching to baseline
2020-04-25 15:37:25.228 7027-7302/? W/DynamiteModule:
[INFO]: The requirements (certifi, scikit-learn) don't have recipes, attempting to install them with pip
[INFO]: If this fails, it may mean that the module has compiled components and needs a recipe.
[INFO]: -> directory context /content/.buildozer/android/platform/build-armeabi-v7a/build
[INFO]: -> running virtualenv --python=python3 ...(and 56 more)
Exception in thread background thread for pid 82832:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
import os
ans = input('Type A if on RasPi/Mac or B if on Windows')
if ans.lower() == 'a':
os.system('pip3 install --user flask')
import flask
else:
os.system('pip install flask')
import flask
@zurgeg
zurgeg / lotso_numbers.csv
Created March 30, 2020 01:14
lotso_numbers.csv
0 1 2 3
0 17 23 13
1 27 50 7
2 72 98 50
3 13 20 89
4 8 26 82
5 17 89 28
6 33 99 36
7 60 18 7
8 9 97 12
@zurgeg
zurgeg / simp_chess.py
Last active April 12, 2019 23:21 — forked from rsheldiii/chess.py
chess program for python
"""CONVENTIONS:
positions are done row-column from the bottom left and are both numbers. This corresponds to the alpha-number system in traditional chess while being computationally useful. they are specified as tuples
"""
import itertools
import pickle
WHITE = "white"
BLACK = "black"