Skip to content

Instantly share code, notes, and snippets.

View Williamr5th's full-sized avatar

WilliamR5th Williamr5th

View GitHub Profile
# IMPORTS
import pandas as pd
import math
import os.path
import time
from bitmex import bitmex
from binance.client import Client
from datetime import timedelta, datetime
from dateutil import parser
from tqdm import tqdm_notebook #(Optional, used for progress-bars)
@Williamr5th
Williamr5th / ..runasTI.bat
Created October 27, 2019 09:00 — forked from AveYo/..runasTI.bat
Lean and Mean runas TrustedInstaller / System compact snippet to easily integrate in your batch scripts
@echo off & title AveYo`s :runasTI snippet usage showcase (final)
:: First handle command line parameters (for example via Send to) to run as TrustedInstaller AllPrivileges
if /i "%~dp0" equ "%APPDATA%\Microsoft\Windows\SendTo\" call :runasTI 1 %* &exit/b
echo(
echo Fully portable, compact, plain-text runas TrustedInstaller or SYSTEM snippet v20191010
echo ========================================================================================
echo - now also supports short common programs names such as cmd, regedit, powershell..
echo - now sets console buffer so that the scrollbars are visible!