Go to any directory and clone repo with sources.
cd ~
git clone https://github.com/certbot/certbot
button(class='order') | |
span(class='default') Complete Order | |
span(class='success') Order Placed | |
svg(viewbox='0 0 12 10') | |
polyline(points='1.5 6 4.5 9 10.5 1') | |
div(class='box') | |
div(class='truck') | |
div(class='back') | |
div(class='front') | |
div(class='window') |
{ | |
"token": "[token]", | |
"job": "notifySlack", | |
"ref": "refs/pull/4/merge", | |
"sha": "[shad]", | |
"repository": "colbyfayock/demo-github-actions", | |
"repository_owner": "colbyfayock", | |
"repositoryUrl": "git://github.com/colbyfayock/demo-github-actions.git", | |
"run_id": 120667610, | |
"run_number": "2", |
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
# From https://stackoverflow.com/questions/29547218/ | |
# remove-silence-at-the-beginning-and-at-the-end-of-wave-files-with-pydub | |
from pydub import AudioSegment | |
def detect_leading_silence(sound, silence_threshold=-50.0, chunk_size=10): | |
''' | |
sound is a pydub.AudioSegment | |
silence_threshold in dB | |
chunk_size in ms |
VOICE_MIN_DECIBELS = -35; | |
DELAY_BETWEEN_DIALOGS = 400; | |
DIALOG_MAX_LENGTH = 60*1000; | |
MEDIA_RECORDER = null; | |
IS_RECORDING = false; | |
//startRecording: | |
function startRecording(){ | |
IS_RECORDING = true; | |
record(); |
#!/usr/bin/env python | |
import os | |
import xml.parsers.expat | |
from xml.sax.saxutils import escape | |
from optparse import OptionParser | |
from math import log10 | |
# How much data we process at a time |
import csv | |
import glob | |
import gzip | |
import hashlib | |
import xml.sax | |
import tqdm | |
file_list = glob.glob("./pubmed/*.xml.gz") |
import sys | |
import openai | |
import json | |
import pandas as pd | |
from Bio import Entrez | |
from datetime import datetime | |
from PyQt6 import QtWidgets, QtGui | |
from PyQt6.QtCore import Qt | |
# Replace with your own ChatGPT API key |
import os | |
import re | |
import gzip | |
import hashlib | |
from tqdm import tqdm | |
from bs4 import BeautifulSoup, SoupStrainer | |
fnames = [] | |
for fname in os.listdir('PubMed'): | |
if fname.endswith('.xml'): |