Skip to content

Instantly share code, notes, and snippets.

View dhowe's full-sized avatar

Daniel Howe dhowe

  • new york / hong kong
View GitHub Profile
@dhowe
dhowe / hyphenated.txt
Created June 24, 2022 11:35
some hyphenated english words
mother-in-law
father-in-law
sister-in-law
brother-in-law
sergeant-at-arms
merry-go-round
happy-go-lucky
editor-in-chief
over-the-counter
up-to-date
[
{
"author": "JULES RENARD",
"author_meta": "(France, 1864–1910)",
"source": "Short_An_International_Anthology",
"title": "The Mouse",
"text": "As I sit under the lamp, writing out my daily page, I hear a faint noise. If I stop, it stops too. It begins again, as soon as I scratch my way across the paper.<p>It is a mouse waking up.<p>I sense her comings and going around the dark corner where the maid keeps her rags and brushes.<p>The mouse jumps onto the floor and trots across the kitchen tiles. She passes near the fireplace, under the sink, vanishes into the dishes, and by a series of reconnaissance missions which she extends farther and farther, approaches me.<p>Each time I set down my pen, the silence alarms her. Each time I use it, she thinks, I suppose, that there is another mouse somewhere, and this reassures her.<p>Then I lose sight of her. She is under my table, at my feet. She circulates from one chair leg to the next. She brushes against my shoes, nibbles the sole, or, boldly,
@dhowe
dhowe / ppp.json
Last active December 19, 2021 09:43
[
{
"source": "Penguin_Prose_Poems",
"title": "The End of Days",
"text": "A snake with honey-coloured eyes survived and told what had happened:\nIn our burning fields, Yesterday drew me with the spittle of its mouth on a charred wall, like a blackboard in front of frightened pupils. Thus you saw in me the image of my father, throwing my last pennies into the fountain of death, then sewing the buttons of his oil-green coat in the furrows of mud where you had planted seeds, arranged in the form of words, and they grew and blossomed when light rained down, warm as remorse, and again blood was made to flow on the palms of the earth. Canes grew high as poplars and we broke them to roof our refuge, and we jumped over our vein-streams to swim in our first sky. We fertilised our language with our debris. Mountains had become ripe heads for the fists of the sky and the slopes cheeks we ran down like melted ice, and at every point where the disappeared had fallen an unattainable flower sprang up, or a bur
@dhowe
dhowe / gapp.json
Last active December 9, 2021 15:27
[
{
"source": "Great_American_Prose_Poems",
"author": "AMY LOWELL",
"author_meta": "(1874–1925)",
"title": "Red Slippers",
"text": "Red slippers in a shop-window; and outside in the street, flaws of gray, windy sleet!\nBehind the polished glass the slippers hang in long threads of red, festooning from the ceiling like stalactites of blood, flooding the eyes of passers-by with dripping color, jamming their crimson reflections against the windows of cabs and tram-cars, screaming their claret and salmon into the teeth of the sleet, plopping their little round maroon lights upon the tops of umbrellas.\nThe row of white, sparkling shop-fronts is gashed and bleeding, it bleeds red slippers. They spout under the electric light, fluid and fluctuating, a hot rain—and freeze again to red slippers, myriadly multiplied in the mirror side of the window.\nThey balance upon arched insteps like springing bridges of crimson lacquer; they swing up over curved heels like whirling tanagers sucked in a wind-
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"eslint": "5.12.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:
#!/bin/bash -eo pipefail
yarn test
yarn run v1.13.0
warning ../package.json: No license field
$ react-scripts test
PASS src/Components/Logo/Logo.test.jsx
PASS src/Components/Video/Video.test.jsx
PASS src/Components/Footer/Footer.test.jsx
PASS src/Components/Header/Header.test.jsx
@dhowe
dhowe / bigcaslon.xml
Created June 12, 2018 07:37
bigcaslon ttf xml
<?xml version="1.0" encoding="UTF-8"?>
<structure name="OTF_file" iteration="0" startpos="0">
<binary name="sfnt version" iteration="0" value="00 01 00 00 "/>
<number name="numTables" iteration="0" display="decimal" value="20"/>
<number name="searchRange" iteration="0" display="decimal" value="256"/>
<number name="entrySelector" iteration="0" display="decimal" value="4"/>
<number name="rangeShift" iteration="0" display="decimal" value="304"/>
<structure name="TableRecords" iteration="0" startpos="12">
<structure name="OS2TableRecord" iteration="0" startpos="12">
<number name="tag" iteration="0" display="hex" fixedval="OS/2" value="0x4F532F32"/>
@dhowe
dhowe / hang.cs
Created May 17, 2018 10:20
Hangs C# 6.0 for 20-30 seconds on my system
var re = new Regex(@"(?:\()((?:(?<p>\()|(?<-p>\))|[^()|]+|(?(p)(?!))(?<pipe>\|))*)(?:\))(?(p)(?!))(?(pipe)|(?!))");
var matches = re.Matches("((((amusemen).emoadj().cap()(, (are we |arent we|I gather)|)?)");
foreach (Match m in matches) {}
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en" class=" cookies geolocation history pointerevents no-touchevents cssanimations no-overflowscrolling placeholder localstorage sessionstorage"><head><script src="http://pagead2.googlesyndication.com/pagead/osd.js"></script><script src="//pagead2.googlesyndication.com/pagead/expansion_embed.js?source=safeframe"></script><script src="https://securepubads.g.doubleclick.net/gampad/ads?gdfp_req=1&amp;correlator=1430336611376567&amp;output=json_html&amp;callback=googletag.impl.pubads.callbackProxy1&amp;impl=fifs&amp;json_a=1&amp;eid=108809080&amp;sc=0&amp;sfv=1-0-5&amp;iu_parts=1021472%2CDoodle_Crunching_Skyscraper_Left%2CDoodle_Crunching_InContent%2CDoodle_Crunching_Background%2CDoodle_Crunching_Skyscraper%2CDoodle_Crunching_Leaderboard&amp;enc_prev_ius=%2F0%2F1%2C%2F0%2F2%2C%2F0%2F3%2C%2F0%2F4%2C%2F0%2F5&amp;prev_iu_szs=120x600%7C160x600%7C300x600%2C728x90%2C1920x1080%2C120x600%7C160x600%7C300x600%2C994x250%7C970x250%7C800x250%7C930x180%7C
[{
"count": 2,
"url": "http://microsoft.com"
}, {
"count": 0,
"url": "http://aliexpress.com"
}, {
"count": 0,
"url": "http://google.it"
}, {