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
from typing import Match | |
import requests, os, argparse, sys, platform | |
import xml.etree.ElementTree as ET | |
from urllib.parse import urlparse | |
from pick import pick | |
from os import path | |
''' |
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
// ==UserScript== | |
// @name Wikipedia mobile4desktop | |
// @namespace https://www.paulchabot.ca | |
// @version 0.1 | |
// @description gives you the mobile version of wikipedia on desktop | |
// @author Paul Chabot | |
// @match https://*.wikipedia.org/wiki/* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== |
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
# Drop Tables Script | |
# Removes all tables from a mysql database without dropping the database | |
# Paul Chabot - www.paulchabot.ca | |
# Original script from https://www.cyberciti.biz/faq/how-do-i-empty-mysql-database/ | |
#!/bin/bash | |
MUSER="$1" | |
MDB="$2" | |
# Detect paths |
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
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### | |
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget. | |
### You can download all the binaries one-shot by just giving the BASE_URL. | |
### Script might be useful if you need Oracle JDK on Amazon EC2 env. | |
### Script is updated for every JDK release. | |
### Features:- | |
# 1. Resumes a broken / interrupted [previous] download, if any. | |
# 2. Renames the file to a proper name with including platform info. |