This file contains hidden or 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 requests | |
| import pandas as pd | |
| import numpy as np | |
| from io import StringIO | |
| URL = "https://ourworldindata.org/grapher/technology-adoption-by-households-in-the-united-states.csv" | |
| print("Downloading dataset...") |
This file contains hidden or 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 sys | |
| from pathlib import Path | |
| from natsort import humansorted | |
| import imagej | |
| import scyjava | |
| import tqdm | |
| import openpyxl | |
| # python3.10 |
This file contains hidden or 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 subprocess | |
| import tempfile | |
| from pathlib import Path | |
| import argparse | |
| import cv2 | |
| from doclayout_yolo import YOLOv10 | |
| from tqdm import tqdm |
This file contains hidden or 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 json | |
| import sqlite3 | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| from pathlib import Path | |
| ZOTERO_DB = Path("/Users/morpheous/Zotero/zotero.sqlite") | |
| HOST = "127.0.0.1" | |
| PORT = 9371 |
This file contains hidden or 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
| #!/bin/bash | |
| curl -s https://en.wikipedia.org/wiki/Timeline_of_historic_inventions \ | |
| | pandoc -f html -t plain \ | |
| | sed -n '/^Paleolithic/,/^See also$/p' \ | |
| | awk ' | |
| /^[[:space:]]*- / { | |
| if (out) print out | |
| out = $0 | |
| next | |
| } |
This file contains hidden or 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
| #!/bin/bash | |
| # Usage: | |
| # ./export.sh "/path/to/folder" | |
| folder="$(cd "$1" && pwd)" | |
| if [[ ! -d "$folder" ]]; then | |
| echo "Usage: $0 /path/to/ppt/folder" | |
| exit 1 | |
| fi |
This file contains hidden or 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 sys | |
| import string | |
| import subprocess | |
| import json | |
| import unicodedata | |
| from pathlib import Path | |
| from pprint import pprint | |
| import torch | |
| import re |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Human Neurobio - Lab 2</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or 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
| <Response> | |
| <Say loop="2">Haley is awake</Say> | |
| </Response> |
This file contains hidden or 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 sys | |
| import requests | |
| from requests.adapters import HTTPAdapter | |
| from urllib3.util.retry import Retry | |
| from concurrent.futures import ThreadPoolExecutor, as_completed | |
| import time | |
| import json | |
| from tqdm import tqdm | |
| import base64 |
NewerOlder