Skip to content

Instantly share code, notes, and snippets.

View espdesign's full-sized avatar

Evan Pendergraft espdesign

View GitHub Profile
@espdesign
espdesign / flake.nix
Last active May 20, 2026 14:22
Antigravity CLI flake.nix
#nix run "git+https://gist.github.com/espdesign/bd5655d21c21615c4601de86c87279fb" --no-write-lock-file
{
description = "Antigravity CLI";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
@espdesign
espdesign / resume.json
Last active March 30, 2025 15:52
JSON Resume
{
"basics": {
"name": "Evan Pendergraft",
"label": "Cybersecurity Student",
"picture": "https://example.com/photo.jpg",
"email": "evanpendergraft@gmail.com",
"phone": "+1 (315) 267-6592",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "thomas.edison@example.com",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@espdesign
espdesign / ids_model.py
Last active March 27, 2025 19:59
ids_model
# IDS Model
# | Attack Event | Acceptable Event|
# |-------------------|-------------------|
# Alarm Triggered (P) | TP | FP |
# Alarm Not Triggered (N) | FN | TN |
def main():
input_acep_trigg = input("Enter acceptable events triggered the IDS alarms FORMAT: int/int >>>")
A,B = [int(i) for i in input_acep_trigg.split('/')]
input_attk_trigg = input("Enter attack events triggered the IDS alarms FORMAT: int/int >>>")
@espdesign
espdesign / calc_multi_groups.py
Created October 31, 2024 13:53
CYBR360 Question 8.1
# EVAN PENDERGRAFT
# CYBR360 QUESTION 8.1
"""
8.1. Understanding the functionality of groups, cyclic groups and subgroups is
important for the use of public-key cryptosystems based on the discrete logarithm
problem. That's why we are going to practice some arithmetic in such structures
in this set of problems.
Let's start with an easy one. Determine the order of all elements of the
multiplicative groups of: