Personal Project Portfolio
python bash powershell
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

readme, three scripts added in initial commit

Kenyon Fryman dc927c7a

+54
+3
README.md
··· 1 + ###Hello World! 2 + 3 + My name is Kenyon aka Intrahype. This repository will serve as my personal portfolio for software engineering. I will be loading this space with examples of my work in Python, Assembly, and Scripting (multiple languages).
+12
scripting/atproto-getCar.sh
··· 1 + #!/bin/bash 2 + 3 + # <pds.domain> --replace with pds url, if you are using Bluesky PDS, enter bsky.social 4 + # <user account did> --replace with account did (decentralized identity document), can be found using tools like pdsls.dev 5 + 6 + # This is a simple retrival script using the XRPC endpoint for getRepo 7 + # which will download the CAR file for a specified account 8 + 9 + # This targets only Linux based systems with Bash installed 10 + # while the same command can be used on MacOS, it requires extra configuration for wget and the zsh shell 11 + 12 + wget https://<pds.domain>/xrpc/com.atproto.sync.getRepo?did=did:plc:<user account did>
+18
scripting/oneWayDiff.py
··· 1 + # This script will find differences between two csv files text strings 2 + # and write any missing lines to a new file 3 + 4 + #import csv module 5 + import csv 6 + 7 + # use open method to instantiate both files 8 + # replace filenames with local files, files must be in same folder as script file 9 + with open('<filename>', 'r') as f1, open('<filename2>', 'r') as f2: 10 + f1_lines = f1.readlines() 11 + f2_lines = f2.readlines() 12 + 13 + # use open method to iterate through both files looking for matches 14 + # write non-matches to new file 15 + with open('<outputfilename>', 'w') as difference_file: 16 + for line in f1_lines: 17 + if line not in f2_lines: 18 + difference_file.write(line)
+21
scripting/twoWayDiff.py
··· 1 + # This script will look for difference in two files by scanning both files against each other 2 + # and then outputting any missing lines to a new file. 3 + 4 + # import csv module 5 + import csv 6 + 7 + # instantiate both files using the open module 8 + # replace filenames with local files, files must be in same folder as script is run 9 + with open('<filename>', 'r') as f1, open('<filename2>', 'r') as f2: 10 + f1_lines = f1.readlines() 11 + f2_lines = f2.readlines() 12 + 13 + # use open module to iterate through lists and create output file 14 + # input desired filename in outputfilename area 15 + with open('<outputfilename>', 'w') as difference_file: 16 + for line in f1_lines: 17 + if line not in f2_lines: 18 + difference_file.write(line) 19 + for line in f2_lines: 20 + if line not in f1_lines: 21 + difference_file.write(line)