Skip to content

Instantly share code, notes, and snippets.

@hpcdisrespecter
hpcdisrespecter / padder.sh
Last active March 20, 2025 12:42
Center and pad cartesian POSCAR
#!/bin/bash
if [ $# -ne 2 ]; then
echo "Usage: $0 <file> <amount>"
exit 1
fi
if [ "$2" -lt 0 ]; then
echo "Amount must be positive"
exit 1
fi
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time
import os
def download_req(url, name):