Project moved to: https://github.com/se7enack/Bulk-SSL-Certificate-Expiration-Notifier
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
amazon.com | |
android.com | |
apple.com | |
azure.com | |
bing.com | |
digicert.com | |
dns.google | |
dropbox.com | |
epicgames.com | |
example.com |
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
#!/usr/bin/env python3 | |
import csv | |
from random import randrange | |
import time | |
import pyttsx3 | |
def countdown(t): | |
while t: |
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 kubernetes import client, config | |
config.load_kube_config() | |
def get_pods(namespace='all-namespaces'): | |
v1 = client.CoreV1Api() | |
if namespace == 'all-namespaces': | |
ret = v1.list_pod_for_all_namespaces(watch=False) | |
else: |
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
apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
name: check-ssl-expiration | |
namespace: default | |
spec: | |
concurrencyPolicy: Allow | |
failedJobsHistoryLimit: 1 | |
jobTemplate: | |
spec: |
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
#!/usr/bin/env python3 | |
import os | |
string = ".720p.WEB.h264-ETHEL" | |
# Get the current working directory | |
cwd = os.getcwd() | |
# Get a list of all the files in the current directory |
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
print("\nDoomsday Zero Years") | |
for x in range(00, 99): | |
if int(x/4+x)%7 == 0: | |
print(f"{x:02d}") | |
print("\n") |
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
import random | |
import requests | |
import json | |
import datetime | |
rangeStart=1960 | |
rangeEnd=2024 | |
count = 30 | |
for i in range(count): |
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
import requests | |
access_token_file = "/Users/sburke/.ghp" | |
repo_name = "test123" | |
base_url = "https://api.github.com" | |
def create_repo(access_token, repo_name, repo_descr=None): | |
url = f"{base_url}/user/repos" | |
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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
"sort" |
NewerOlder