This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node: | |
def __init__(self, name, capacity, flow=0, is_arrow_head=False): | |
self.name = name | |
self.capacity = capacity | |
self.flow = flow | |
self.is_arrow_head = is_arrow_head | |
class Edge: | |
def __init__(self, start_node, end_node, capacity, is_bidirectional=False): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import hmac | |
import hashlib | |
from urllib.parse import urlparse, parse_qs, urlencode, urlunparse | |
# Given test private URL for private image we need to sign | |
KEY = 'KEY-FROM-CF-IMAGE-DAHSBOARD' | |
PRIVATE_URL = 'https://imagedelivery.net/abc123/abc123/public' | |
EXPIRATION = 60 * 60 * 24 # 24 hours in seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* pixieset.com full size image scraper | |
* | |
* Rips all images in highest quality | |
* | |
* To use scroll to the very bottom of the album and press F12 then paste the below snippet in and press enter. | |
* The full file list will be copied to your clipboard afterwards. You can use jdownloader to easily download the full list. | |
*/ | |
(() => { | |
const data = document.querySelectorAll('.masonry-brick img') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.2; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/security/Pausable.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::========================================================== | |
:: Elliot Mason - Computer Forensics - Lab 02 | |
:: Computer Information Collection Script | |
::========================================================== | |
:: Set script variables here | |
@echo off | |
SET seperator========================================================= | |
SET SystemInfo="System_Info.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================== | |
systeminfo | |
======================================================== | |
Host Name: CSCE-2020-062 | |
OS Name: Microsoft Windows 10 Enterprise LTSC | |
OS Version: 10.0.17763 N/A Build 17763 | |
OS Manufacturer: Microsoft Corporation | |
OS Configuration: Member Workstation | |
OS Build Type: Multiprocessor Free |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================== | |
net user | |
======================================================== | |
User accounts for \\CSCE-2020-062 | |
------------------------------------------------------------------------------- | |
Administrator DefaultAccount Guest | |
ineg-admin WDAGUtilityAccount | |
The command completed successfully. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================== | |
ipconfig /all | |
======================================================== | |
Windows IP Configuration | |
Host Name . . . . . . . . . . . . : csce-2020-062 | |
Primary Dns Suffix . . . . . . . : uark.edu | |
Node Type . . . . . . . . . . . . : Hybrid | |
IP Routing Enabled. . . . . . . . : No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source /home/masonel/.oh-my-zsh/scripts/kube-ps1.sh | |
LINE_DIVIDER_='$FG[237]${(l.COLUMNS..-.)}' | |
# Grab the current date (%D) and time (%T) wrapped in {}: {%D %T} | |
CURRENT_TIME_="%{$fg[white]%}{%{$fg[yellow]%}%D %T%{$fg[white]%}} %{$reset_color%}" | |
# Grab the current machine name | |
CURRENT_MACH_="%{$FG[154]%}%m%{$fg[white]%} %{$reset_color%}" | |
# Define Custom Color Variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>>eNpjYBBgMGZgYGBm5mFJzk/MYWVh5UrOLyhILdLNL0oF8jiTi0pT | |
UnXzM0FSbCmpxalFJczMzCwpmWCaKzUvNbdSNymxOBXIY00vSiwuBjI | |
4Movy86AmsBQn5qWAJItL8vNAAqwlRampIFXcpUWJeZmluVCFDIyC/f | |
NkG1rkGED4fz2Dwf//IAxkXQA6EYRBLmVgBArAAGtyTmZaGgNDgwsDg | |
4IjIyNjtcg694dVU+wZIfJ6DlDGB6hIxG6oyINWKCNiNZTRcRjKcJgP | |
Y9TDGP0OjMZg8NkewYDYVQI0GWoJhwOCAZFsAUkyMva+3brg+7ELdox | |
/Vn685JuUYM+YKRvqK1D63g4oyQ7UwMgEJ2bNBIGdMB8wwMx8YA+Vum | |
nPePYMCLyxZ2QF6RABEQ4WQOKANzB4BPiArAU9QEJBhgHmNDuYMSIOj | |
Glg8A3mk8cwxmV7dH+oODDagAyXAxEnQATYQrjLGKHMSAeIhCRCFqjV | |
iAHZ+hSE507CbDyMZDWaG1RgbjBxwOIFNBEVpIDnAtmTAideMMMdAQz |
NewerOlder