Skip to content

Instantly share code, notes, and snippets.

import * as React from "react"
import { CardGrid } from "@/components/CardGrid/CardGrid"
export default function About() {
return (
<div>
<CardGrid />
</div>
)
}
id old_name new_name pct_change
8700 ABIGAIL HOUSE FOR NURSING & REHABILITATION 1105 Linden St 0.8809523809523809
15147 MANORCARE HEALTH SERVICES Appleton 0.88
5378 WELLSVILLE MANOR 304 W 7th St 0.875
8447 BCP MILFORD, LLC 1100 1st St 0.875
13422 SEABURY NURSING & REHABILITATION 2443 W 16th St 0.875
6173 LARGO NURSING AND REHABILIATION CENTER Largo 0.868421052631579
11025 SUBURBAN HEALTHCARE AND REHABILITATION 20265 Emery Rd 0.868421052631579
10999 ORRVILLE POINTE Jag Health 0.8666666666666667
11663 MILLCREEK MANOR 5535 Peach St 0.8666666666666667
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 4 columns, instead of 3. in line 8.
id,old_name,new_name,edit_dist
14582,"VMRC, COMPLETE LIVING CARE",VMRC - Virginia Mennonite Retirement Community - Independent and Assisted Living,64
11919,TRANSITIONAL SUB-ACUTE UNIT,Tower Health Medical Group Physical Medicine & Rehabilitation - Wyomissing,61
9593,CHAMPLAIN VALLEY PHYSICIANS HOSP MED CTR S N F,"Skilled Nursing Facility, UVM Health Network - Champlain Valley Physicians Hospital",60
11670,LONGWOOD AT OAKMONT,"Longwood At Oakmont Retirement Community - Independent Living, Assisted Living,",60
12206,MANCHESTER COMMONS OF PRESBYTERIAN SENIORCARE,"Manchester Commons Retirement Community - Independent Living, Personal Care, Skilled Nursing",60
11872,ELMWOOD GARDENS OF PRESBYERIAN SENIORCARE,"Elmwood Gardens Retirement Community - Independent Living, Rehab, Skilled Nursing",55
11883,OAKWOOD HEIGHTS OF PRESBYTERIAN SENIORCARE,"Oakwood Heights Retirement Community - Independent Living, Rehab, Skilled Nursing",54
11931,"SUMMIT AT BLUE MOUNTAIN NURSING & REHAB CTR, THE",The Summit Nursing and Rehabilit
a = 24680000
b = 13570000
out = 0
a = a // 10
b = b // 10
a = a // 10
b = b // 10
a = a // 10
b = b // 10
a = a // 10
import sys
def gen_digit_packing(a_val, b_val):
a = var("a")
b = var("b")
out = var("out")
p = []
p.extend(assign(a, a_val))
@astonm
astonm / aspell-35-2.txt
Created April 29, 2020 18:58
Fun with Vigenere Cipher
Custom wordlist generated from http://app.aspell.net/create using SCOWL
with parameters:
diacritic: strip
max_size: 35
max_variant: 2
special: <none>
spelling: US
Using Git Commit From: Sat Oct 19 01:36:03 2019 -0400 [496b40d]
with
dau as (
-- This part of the query can be pretty much anything.
-- The only requirement is that it have three columns:
-- dt, user_id, inc_amt
-- Where dt is a date and user_id is some unique identifier for a user.
-- Each dt-user_id pair should be unique in this table.
-- inc_amt represents the amount of value that this user created on dt.
-- The most common case is
-- inc_amt = incremental revenue from the user on dt
@astonm
astonm / switchbot_bluepy.py
Created July 8, 2019 02:48 — forked from aerialist/switchbot_bluepy.py
Activate switchbot by python with bluepy on Raspberry Pi
# Activate switchbot by python with bluepy on Raspberry Pi
# https://github.com/IanHarvey/bluepy
#
# Switchbot's API is taken from this
# https://github.com/OpenWonderLabs/python-host
import binascii
from bluepy.btle import Peripheral
# find your switchbot address by
@astonm
astonm / keybase-proof.md
Created February 15, 2014 00:39
Proof of my identity for Keybase.io

Please post a Gist with the following:

Keybase proof

I hereby claim:

  • I am astonm on github.
  • I am aston (https://keybase.io/aston) on keybase.
  • I have the public key with fingerprint 4198 7754 4E88 4106 3262  4ACB 4F04 069F E205 2317