Skip to content

Instantly share code, notes, and snippets.

View ozment's full-sized avatar

ozment

View GitHub Profile
@ozment
ozment / KMS_office.cmd
Created December 11, 2022 06:41 — forked from Zibri/KMS_office.cmd
KMS server Windows
@echo off
title Microsoft Office 2019 versions are supported!&cls&echo
============================================================================&echo
#Project: Activating Microsoft software products for FREE without software&echo
============================================================================&echo.&echo
#Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist
"%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist
"%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
@ozment
ozment / PY0101EN-2-1-Tuples.ipynb
Created September 25, 2020 06:45
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ozment
ozment / PY0101EN-1-2-Strings.ipynb
Created September 24, 2020 05:56
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ozment
ozment / PY0101EN-1-1-Types.ipynb
Created September 24, 2020 04:36
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ozment
ozment / currentBitcoin
Last active February 6, 2021 20:59
BTC PRICE NABBER via Bitstamp API
# python3
# @ozment
# uses Bitstamps API to retrieve current price per BTC
import json
from urllib.request import urlopen
def dagnabtc(btc):
fiat = float(json.loads(urlopen('https://www.bitstamp.net/api/ticker/').read())['last'])
if btc > 0: