Skip to content

Instantly share code, notes, and snippets.

View paigeadelethompson's full-sized avatar
💭
🧫 making stuff

Paige Thompson paigeadelethompson

💭
🧫 making stuff
View GitHub Profile
@moorepants
moorepants / engrxiv-papers.csv
Last active February 20, 2024 08:40
A look at download counts from Engrxiv
We can't make this file beautiful and searchable because it's too large.
GUID,Title,Abstract,status,"file url","Download count",URL,"Preprint DOI","Publisher DOI","Date created","Date modified"
mkzp5,"A stochastic multiscale peridynamic model for corrosion-induced fracture","Concrete fracture caused by corrosion of the reinforcing bars plays a key role in accelerating rebar corrosion and causing subsequent structure failure. To better predict this process, we introduce a three-phase stochastic peridynamic model, with the simplest constitutive relation (linear elastic with brittle failure), that avoids the need for explicit concrete microstructure geometry representations. The model links information from the composition at the microscale (phase volume fractions) to the macroscale fracture behavior, while costing the same as a fully homogenized model. We show that a similar peridynamic homogenized model fails in capturing the correct fracture modes/patterns in these problems where the microstructure controls failure behavior. The multiscale model is used to study fracture in reinfo
Description: >
Provides Grafana hosted on ECS Fargate.
Parameters:
LogCollectionStackName:
Description: Name of the CRM log collection stack which provides the Elasticsearch cluster for monitoring data
Type: String
Resources:
GrafanaCluster:
@lorey
lorey / markdown_to_text.py
Last active April 8, 2024 03:25
Markdown to Plaintext in Python
from bs4 import BeautifulSoup
from markdown import markdown
import re
def markdown_to_text(markdown_string):
""" Converts a markdown string to plaintext """
# md -> html -> text since BeautifulSoup can extract text cleanly
html = markdown(markdown_string)
//-----------------------------------------------//
//On page load
// - Browser -
//-----------------------------------------------//
AWS.config.update({
region: "eu-west-1"
});
var credConfig = {