Skip to content

Instantly share code, notes, and snippets.

View dmd's full-sized avatar

Daniel M. Drucker, Ph.D. dmd

View GitHub Profile
mefi.rupa/#mefi.2007:14:41 <@esch> duckstab: http://feeds.feedburner.com/~r/FreakonomicsBlog/~3/128657380/
mefi.rupa/#mefi.2007:16:18 <@cortex> I'm leveraging my experience hollering at idiots on metatalk: i'm hollering at idiots at the freakonomics blog in my spare time.
mefi.rupa/#mefi.2007:16:21 <@cortex> http://freakonomics.blogs.nytimes.com/2007/08/17/feed-interrupted-another-rss-issue/#comments
mefi.rupa/#mefi.2007:16:22 <@bp> http://freakonomics.blogs.nytimes.com/2007/08/17/feed-interrupted-another-rss-issue/#comment-102226 - is that seriously Dave Winer
mefi.rupa/#mefi.2007:18:35 <@esch> I'm pissed that the freakonomics feed isn't full post anymore.
mefi.rupa/#mefi.2007:21:43 <@cortex> The fine readers of the Freakonomics blog post their questions for Mefi's Own Adam (and Jamie).
Binary file mefi.rupa/#mefi.2007 matches
mefi.rupa/#mefi.2008:21:09 <+lrrr> antifreez was a full feed, like before. Terrible move Freakonomics, absolutely terrible. (Not to mention, maybe you need to throw away almost your en
#!/bin/bash
# Update the temperature database
# I don't use netcat because I'm a real man and don't
# rely on external tools, especially not ones that take
# a WHOLE SECOND to time out before they return.
rrdtool update /var/log/imt/temperature.rrd N:$(
exec 3<>/dev/tcp/localhost/imtuc
FROM continuumio/miniconda3
RUN pip install spyder dmipy
RUN apt-get -y update
RUN apt-get install -y python3-pyqt5
RUN apt-get install -y libgl1-mesa-glx
RUN apt-get install -y libsm6 libxext6
RUN apt-get install -y libnss3
RUN apt-get install -y libxrender1 libfontconfig1
RUN apt-get install -y libxcursor-dev libxcomposite-dev libxdamage-dev libxrandr-dev libxtst-dev libxss-dev libdbus-1-dev libevent-dev libfontconfig1-dev libcap-dev libpulse-dev libudev-dev libpci-dev libnss3-dev libasound2-dev libegl1-mesa-dev gperf bison nodejs
Script started on Fri Oct 7 12:50:54 2022
]1337;[email protected]]1337;CurrentDir=/Users/dmd]1337;ShellIntegrationVersion=12;shell=zsh% ]2;dmd@dromedary:~]1;~]133;D;0]1337;[email protected]]1337;CurrentDir=/Users/dmd ]133;A
dmd@dromedary ~
$ ]133;B[?1h=[?2004hppython3 -m venv venvs/granger[?1l>[?2004l
]2;python3 -m venv venvs/granger]1;python3]133;C;% ]2;dmd@dromedary:~]1;~]133;D;0]1337;[email protected]]1337;CurrentDir=/Users/dmd ]133;A
dmd@dromedary ~
$ ]133;B[?1h=[?2004h..
#!/bin/bash
# aws ecr-public create-repository --repository-name rapidtide-cloud --region us-east-1
# RETURNED:
REPO=public.ecr.aws/l0v4l2q2/rapidtide-cloud
docker build -t dmd3eorg/rapidtide-cloud .
docker buildx build --push --platform=linux/amd64,linux/arm64 -t dmd3eorg/rapidtide-cloud .
docker login --username AWS --password $(aws ecr-public get-login-password --region us-east-1) $REPO
#!/bin/bash
# aws ecr-public create-repository --repository-name rapidtide-cloud --region us-east-1
# RETURNED:
REPO=public.ecr.aws/l0v4l2q2/rapidtide-cloud
docker build -t dmd3eorg/rapidtide-cloud .
docker buildx build --push --platform=linux/amd64,linux/arm64 -t dmd3eorg/rapidtide-cloud .
docker login --username AWS --password $(aws ecr-public get-login-password --region us-east-1) $REPO
#!/bin/bash
# aws ecr-public create-repository --repository-name rapidtide-cloud --region us-east-1
# RETURNED:
REPO=public.ecr.aws/l0v4l2q2/rapidtide-cloud
docker build -t dmd3eorg/rapidtide-cloud .
docker buildx build --push --platform=linux/amd64,linux/arm64 -t dmd3eorg/rapidtide-cloud .
docker push dmd3eorg/rapidtide-cloud
AWSTemplateFormatVersion: 2010-09-09
Description: >-
AWS CloudFormation to create the batch job to run rapidtide-cloud,
and IAM roles to allow it access to S3 and Secrets.
Resources:
VPC:
Type: 'AWS::EC2::VPC'
Properties:
CidrBlock: 10.0.0.0/16
InternetGateway:
{
"data": [
{
"id": "1",
"type": "sensor_statuses",
"attributes": {
"assetId": 1,
"inputId": 1,
"lastSensorContact": "2022-08-06T18:02:16.000+00:00",
"minRange": "35.00",
{"data":[{"id":"1","type":"sensor_statuses","attributes":{"assetId":1,"inputId":1,"lastSensorContact":"2022-08-06T18:02:16.000+00:00","minRange":"35.00","maxRange":"37.00","preAlarmMin":null,"preAlarmMax":null,"emergencyAlarmMin":null,"emergencyAlarmMax":null,"overLimit":0,"underLimit":0,"value":"36.49","units":"C","signalStrength":100,"batteryLevel":23},"links":{"self":"/api/v1/sensor_statuses/1"}},{"id":"2","type":"sensor_statuses","attributes":{"assetId":1,"inputId":2,"lastSensorContact":"2022-08-06T18:02:16.000+00:00","minRange":"60.00","maxRange":"100.00","preAlarmMin":null,"preAlarmMax":null,"emergencyAlarmMin":null,"emergencyAlarmMax":null,"overLimit":0,"underLimit":0,"value":"74.62","units":"%RH","signalStrength":100,"batteryLevel":23},"links":{"self":"/api/v1/sensor_statuses/2"}},{"id":"3","type":"sensor_statuses","attributes":{"assetId":2,"inputId":3,"lastSensorContact":"2022-08-06T17:54:04.000+00:00","minRange":"25.00","maxRange":"30.00","preAlarmMin":null,"preAlarmMax":null,"emergencyAlarmMin":nul