Skip to content

Instantly share code, notes, and snippets.

View socketpy's full-sized avatar
🏠
Working from home

d4shz3r0 socketpy

🏠
Working from home
  • d4shz3r0
  • Bali - Indonesia
View GitHub Profile
@socketpy
socketpy / install-android-sdk-in-ubuntu.md
Created June 18, 2024 03:39 — forked from EmadAdly/install-android-sdk-in-ubuntu.md
install JDK and Android SDK on Linux Ubuntu

install openjdk

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
@socketpy
socketpy / example_urls.txt
Created July 22, 2024 13:18 — forked from Mr0grog/example_urls.txt
Check the HTTP status codes for a list of URLs in a file. Undoubtedly there are fancier ways to do this with wget or some other common Linux utilities, but I’m not good enough at bash scripting to find a way to do that with minimal memory usage (if the list of URLs is millions long) and with nice formatting, so I just wrote a script.
www.energy.gov
gobbledegook
apple.com
www.gpo.gov
httpstat.us/404