Skip to content

Instantly share code, notes, and snippets.

View jackcrane's full-sized avatar
🤦‍♂️
"verschlimmbessern": To make something worse by trying to improve it

jackcrane

🤦‍♂️
"verschlimmbessern": To make something worse by trying to improve it
View GitHub Profile
<Response>
<Say language="en-us" voice="woman">
This is an automated emergency call from the Ohio River Way recreation trail,
calling to report there was a Coast Guard Plan Guide registered, and the operator has not checked in, nor has responded to attempts to contact them.
</Say>
<Pause length="1"/>
<Say language="en-us" voice="man">
The missing vessel is a 25 foot sail boat, last checked in at 10:30 am local time at near "Downtown Cincinnati", with plans to progress to "Lexington".
</Say>
<Pause length="1"/>
The roadmap for the DigitalOcean App is as follows:
- Change 'account' link to 'settings' include more settings for the app
- Database listing and editing. This will require some thinking and work. Design suggestions are appreciated!
- DNS Service support, adding, editing, and deleting entries
- Networking setup with Load Balancers and firewalls
- Add Spaces support, including uploading, downloading, and sharing files
- Add Kubernetes support with link to the Kube dashboard (?) if possible
- Make availible on Android
- Implement disk, memory, and networking monitoring for Droplets
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
https://raw.githubusercontent.com/HenningVanRaumle/pihole-ytadblock/master/ytadblock.txt
https://raw.githubusercontent.com/mkb2091/blockconvert/master/output/domains.txt
https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://v.firebog.net/hosts/static/w3kbl.txt
https://adaway.org/hosts.txt
https://v.firebog.net/hosts/AdguardDNS.txt
#Simple, not all that good email scraper that recursively indexes webpages from a domain (replace varible "site" on line 38)
from bs4 import BeautifulSoup
import requests
f = open("data.txt","a")
# lists
urls=[]
Imus@msnbc.com
AbramsReport@msnbc.com
Hardball@msnbc.com
TheNews@msnbc.com
Banfield@msnbc.com
Nachman@msnbc.com
MSNBCInvestigates@msnbc.com
Headliners@msnbc.com
Today@NBC.com
weekendtoday@nbc.com
<?php
$switchstate = ""; // Init a variable to keep track of the switched state of the HTML input, this way we can show the state in the actual button.
if($_SERVER["REQUEST_METHOD"]==="POST") { // Look to see if we submitted a form to this page. If we did, then we will execute the code to change the file.
$file = fopen("textfile.txt", "w"); // Open the file called "textfile.txt" in "write" mode.
if(@$_POST["updateStatus"]==="on") { // Check the status of the input. Notice in the html at the bottom of the file the name of the checkbox input is the same as within the brackets. (updateStatus)
// The checkbox is checked.