Skip to content

Instantly share code, notes, and snippets.

View lkuszaj's full-sized avatar
🎯
Focusing

Luke Kuszaj lkuszaj

🎯
Focusing
View GitHub Profile
@lkuszaj
lkuszaj / TopQueries.sql
Created March 28, 2019 23:13 — forked from BrentOzar/TopQueries.sql
Some of the top StackOverflow queries from http://data.stackexchange.com. Great for demoing wide SELECT workloads.
USE StackOverflow;
GO
IF OBJECT_ID('dbo.usp_Q7521') IS NULL
EXEC ('CREATE PROCEDURE dbo.usp_Q7521 AS RETURN 0;')
GO
ALTER PROC dbo.usp_Q7521 @UserId INT AS
BEGIN
/* Source: http://data.stackexchange.com/stackoverflow/query/7521/how-unsung-am-i */
@lkuszaj
lkuszaj / reclaimWindows10.ps1
Created January 8, 2017 01:24 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@lkuszaj
lkuszaj / balance.py
Last active November 18, 2015 15:11
Balance
# Input
initialBalance = input('Enter initial balance: ')
desiredBalance = input('Enter final balance desired: ')
rate = input('Enter annual precentage: ')
balance = initialBalance
year = 2015
if rate < 1:
rate = float(rate) * 100
print"**************************************"