Skip to content

Instantly share code, notes, and snippets.

View gen0cide's full-sized avatar
🇺🇦
Slava Ukraini

Alex Levinson gen0cide

🇺🇦
Slava Ukraini
View GitHub Profile
@gen0cide
gen0cide / reclaimWindows10.ps1
Created July 28, 2018 20:30 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <[email protected]>
# Modified by: alirobe <[email protected]> based on my personal preferences.
# Version: 2.20.1, 2018-07-23
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@gen0cide
gen0cide / TheBestRandomWeighted.java
Created May 16, 2019 01:24
Interview Question: Explain this.
import java.util.Random;
import java.util.Arrays;
public class TheBestRandomWeighted {
private static final Random rand = new Random();
public static void main(String[] argv) {
int low = 0;
int dip = 12;
int peak = 88;
@gen0cide
gen0cide / golangci-lint.yml
Created September 1, 2019 00:38
GolangCI Config
run:
deadline: 30s
skip-dirs:
- "vendor"
- "go-build"
- "\\.gen"
- ".*/\\.tmp/.*$"
- ".*/go-build/\\.go/.*$"
- ".*/go-build/\\.tmp/.*$"
- ".*/vendor/.*$"