I hereby claim:
-
I am nonsleepr on github.
-
I am nonsleepr (https://keybase.io/nonsleepr) on keybase.
-
I have a public key ASD2K73fCmJ6Ruf8af6CwpPQKYiBD3vk2tdhKIG1qydczgo
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"basics": { | |
"name": "Alexander Bason", | |
"label": "Red Team Operator", | |
"image": "", | |
"email": "[email protected]", | |
"phone": "(530) 675-4199", | |
"url": "https://nonsleepr.github.io/", | |
"summary": "Highly skilled Red Team Operator and Security Researcher with demonstrated\nexpertise in advanced persistent threat emulation and critical\nvulnerability discovery, backed by close to 20 years of software\nengineering experience. Track record of discovering multiple high-impact\nCVEs and successfully compromising complex enterprise environments through\ncustom exploit development, Active Directory attacks, and cloud\ninfrastructure exploitation. Proven ability to develop offensive tooling,\nautomate attack frameworks, and deliver technical mentorship to engineering\nteams. Combines deep technical knowledge in both offensive security and\nsoftware development to identify and exploit vulnerabiliti |
services: | |
piped-frontend: | |
image: 1337kavin/piped-frontend:latest | |
restart: unless-stopped | |
depends_on: | |
- piped-backend | |
container_name: piped-frontend | |
entrypoint: "" | |
command: | |
- /bin/sh |
# Install with: | |
# incus image import --alias nixos/adguard-home \ | |
# $(nix build .#nixosConfigurations.adguard-home.config.system.build.metadata --print-out-paths)/tarball/nixos-system-x86_64-linux.tar.xz \ | |
# $(nix build .#nixosConfigurations.adguard-home.config.system.build.tarball --print-out-paths)/tarball/nixos-system-x86_64-linux.tar.xz | |
{ | |
description = "AdGuardHome Container"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; # The systemd supporting cgroups v1 | |
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
}; |
import requests | |
from io import BytesIO | |
import sys | |
import json | |
OFFICEPY_HOST = "service-preview-p1-eastus2.officepy.microsoftusercontent.com" | |
USER_AGENT = "Microsoft Office/16.0 (Windows NT 10.0; Microsoft Excel 16.0.16827; Pro)" | |
GREEN = '\033[32m' |
I hereby claim:
I am nonsleepr on github.
I am nonsleepr (https://keybase.io/nonsleepr) on keybase.
I have a public key ASD2K73fCmJ6Ruf8af6CwpPQKYiBD3vk2tdhKIG1qydczgo
import trio | |
from multiplexer import Multiplexer | |
async def reader(mx, key, timeout=100): | |
print(f'Waiting for "{key}"...') | |
try: | |
with trio.fail_after(timeout): | |
value = await mx[key] | |
print(f'Got value "{value}" for key {key}') |
# Requires presence of credentials.txt file containing login/password in the following format: | |
# UserName=my_username&Password=my_password | |
COMPETITION=diabetic-retinopathy-detection | |
all: download_files | |
session.cookie: credentials.txt | |
curl -o /dev/null -c session.cookie https://www.kaggle.com/account/login | |
curl -o /dev/null -c session.cookie -b session.cookie -L -d @credentials.txt https://www.kaggle.com/account/login |
ngrams.tokenizer <- function(x, n = 2) { | |
trim <- function(x) gsub("(^\\s+|\\s+$)", "", x) | |
terms <- strsplit(trim(x), split = "\\s+")[[1]] | |
ngrams <- vector() | |
if (length(terms) >= n) { | |
for (i in n:length(terms)) { | |
ngram <- paste(terms[(i-n+1):i], collapse = " ") | |
ngrams <- c(ngrams,ngram) | |
} | |
} |
require(plyr) | |
kfold <- function(df, k, train.f, predict.f) { | |
progress.bar <- create_progress_bar("text") | |
progress.bar$init(k) | |
N <- nrow(df) | |
subsample.id <- sample(1:k, N, replace = TRUE) | |
r <- vector(length = N) | |
### Set of functions to download datasets from Kaggle | |
# Usage: | |
# | |
# > train <- kaggle_get_file("train.csv", | |
# + competition.name = "titanic-gettingStarted", | |
# + username = "username", | |
# + password = "password") | |
# | |
# > head(train, n = 2) |