Skip to content

Commit

Permalink
Merge pull request #1 from insolvency/patch-1
Browse files Browse the repository at this point in the history
Add more Joe Biden photos
  • Loading branch information
YummyBacon5 authored Apr 29, 2024
2 parents 1f6d74e + 764189a commit f87d36c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Quickly configure windows with the objectively best settings
* Close Edge (opened by default)
* Close Teams (opened by default)
* Open useful tabs
* Funny Joe Biden
* Funny Joe Biden and more!

# To run

Expand All @@ -26,4 +26,4 @@ curl -L -o likes-gay-config.exe https://github.com/likes-gay/win-config/releases
```

## Using a Rubber Ducky (badusb) to run the script
Upload the [``payload.dd``](https://github.com/likes-gay/win-config/blob/main/payload.dd) to your usb
Upload the [``payload.dd``](https://github.com/likes-gay/win-config/blob/main/payload.dd) to your usb
19 changes: 17 additions & 2 deletions main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,22 @@ Start-Process "chrome.exe" "https://office.com"
Start-Process "chrome.exe" "https://teams.microsoft.com/v2" -Wait -PassThru

# Easter egg ;)
Invoke-WebRequest -Uri https://upload.wikimedia.org/wikipedia/commons/1/1f/Joe_Biden_81st_birthday.jpg -OutFile $env:USERPROFILE\Downloads\Joe_Biden_81st_birthday.jpg
Start-Process $env:USERPROFILE\Downloads\Joe_Biden_81st_birthday.jpg
$images = (Invoke-WebRequest "https://raw.githubusercontent.com/likes-gay/win-config/main/photos.txt").Content.Split([Environment]::NewLine)

# Create folder to store downloaded images in to prevent clutter.
$downloadPath = $env:USERPROFILE + "\Downloads\likes-gay-images"
If (!(test-path $downloadPath)) {
New-Item -ItemType Directory -Path $downloadPath
}

foreach ($i in $images) {
# Get the name of the image from the URL
# Windows will not open images in the photo viewer unless they have a file extension.
$imageName = $i.split("/")[$i.split("/").Count - 1]

# Download and open the image
Invoke-WebRequest -Uri $i -OutFile $downloadPath\$imageName
Start-Process $downloadPath\$imageName
}

exit
20 changes: 20 additions & 0 deletions photos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
https://d1e00ek4ebabms.cloudfront.net/production/e65ee53c-6d09-4fc2-81dc-80f04f00d7b9.jpg
https://thehill.com/wp-content/uploads/sites/2/2023/12/bidenjoe_120523_ap.jpg
https://d.newsweek.com/en/full/2350394/joe-biden.jpg
https://www.usmagazine.com/wp-content/uploads/2020/11/Joe-Biden-Bio-Page.jpg
https://images.axios.com/K8XW61u-s1xa-pluw6nTkndXK-4=/1502x0:5213x3711/1920x1920/2024/02/22/1708564222850.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/6/68/Joe_Biden_presidential_portrait.jpg/192px-Joe_Biden_presidential_portrait.jpg
https://www.livemint.com/lm-img/img/2024/04/27/600x338/US-VOTE-POLITICS-BIDEN-13_1714229014356_1714229050934.jpg
https://www.telegraph.co.uk/content/dam/world-news/2023/09/28/TELEMMGLPICT000351093084_16958818130980_trans_NvBQzQNjv4Bq5AKy6kltchdyQ3tVtY_32XwSCF1R0VweJ7DS2UnVMSQ.jpeg
https://imageio.forbes.com/specials-images/imageserve/6449313170053bcd1af33129/Republican-Presidential-Hopefuls-Speak-At-The-Palmetto-Family-Vision-24-Forum/1960x0.jpg
https://www.insideedition.com/sites/default/files/images/2023-07/071023_rfkjr_muscles_web.jpg
https://media.vanityfair.com/photos/61e8484ab8d453b000d508aa/master/w_2560%2Cc_limit/Ron-DeSantis.jpg
https://media.npr.org/assets/music/news/2010/06/eminem_wide-9bf03a4bfc100c7218ffa3c8d9f8099bcc994bff-s1400-c100.jpg
https://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Jeb_Bush_%2845866471945%29_%283%29.jpg/1200px-Jeb_Bush_%2845866471945%29_%283%29.jpg
https://routenote.com/blog/wp-content/uploads/2021/12/8.-Eminem.jpg
https://static.politico.com/82/a7/f6d3b9544b6b876b582356eb4584/210318-ted-cruz-ap-773.jpg
https://static.texastribune.org/media/files/094874a502dcd43bdf987c4a30489330/Ted Cruz REUTERS TT 02.jpg
https://upload.wikimedia.org/wikipedia/commons/1/1f/Joe_Biden_81st_birthday.jpg
https://media.wired.com/photos/65a6928dae90f0808c8836da/16:9/w_2400,h_1350,c_limit/Vivek-iowa-politics-GettyImages-1927809177.jpg
https://img.theepochtimes.com/assets/uploads/2023/12/20/id5550000-GettyImages-1868185337-1080x720.jpg
https://i.ibb.co/bzD8W4c/joe-biden-sex.png

0 comments on commit f87d36c

Please sign in to comment.