Skip to content

Instantly share code, notes, and snippets.


Jeffrey Warren jywarren

View GitHub Profile
View large-stage.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:d1ab70c6fc17b7a752810b9a84b97541
Started POST "/images" for at 2020-08-18 15:36:13 +0000
Processing by ImagesController#create as JSON
Parameters: {"authenticity_token"=>"wuflt1Wepizvywwhw+5crTD56SGhl0P4ZAt8IiBfrYv7zfGBMeDgq7xwIMhL9TWt+GW92Asz6rNO+rDuxDXroA==", "uid"=>"1", "image"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x00007faa1096a020 @tempfile=#<Tempfile:/tmp/RackMultipart20200818-258-50admo.png>, @original_filename="muk.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"image[photo]\"; filename=\"muk.png\"\r\nContent-Type: image/png\r\n">}}
[paperclip] Trying to link /tmp/RackMultipart20200818-258-50admo.png to /tmp/b60fb7657926287713da4f2861d6db3520200818-258-x45r2h.png
[paperclip] Trying to link /tmp/b60fb7657926287713da4f2861d6db3520200818-258-x45r2h.png to /tmp/b60fb7657926287713da4f2861d6db3520200818-258-1fv4zqi.png
Command :: file -b --mime '/tmp/b60fb7657926287713da4f2861d6db3520200818-258-1fv4zqi.png'
Command :: identify -format '%wx%h,%[exif:orientation]' '/tmp/b60fb765792
jywarren / pixelate.js
Last active Aug 10, 2020
A bookmarklet to make all pixel art crisp. Save as a bookmark URL and use the bookmark on any page to prevent anti-aliasing.
View pixelate.js


Putting the reasons for crying aside for the moment, we might concentrate on the correct way to cry, which, be it understood, means a weeping that doesn’t turn into a big commotion nor proves an affront to the smile with its parallel and dull similarity. The average, everyday weeping consists of a general contraction of the face and a spasmodic sound accompanied by tears and mucus, this last toward the end, since the cry ends at the point when one energetically blows one’s nose.

View nytimes-covid-cases-July 10.txt
Marion Correctional Institution — Marion, Ohio 2,439
San Quentin State Prison — San Quentin, Calif. 1,842
Pickaway Correctional Institution — Scioto Township, Ohio 1,792
Harris County jail — Houston, Texas 1,558
Trousdale Turner Correctional Center — Hartsville, Tenn. 1,382
North County jail — Castaic, Calif. 1,368
Smithfield Foods pork processing facility — Sioux Falls, S.D. 1,098
Chuckawalla Valley State Prison — Blythe, Calif. 1,094
View thermal-fishing-tinkercad.ino
* Thermal fishing
// Pins 3, 5, and 6 are the red, green and blue LEDs on the Arduino board.
// give them names:
int redPin = 3;
int greenPin = 5;
int bluePin = 6;
jywarren / index.html
Last active Apr 27, 2020
Certification mark generator/saver
View index.html
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Cert generator</title>
<link rel="stylesheet" href="" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<body class="container">
jywarren / hazePedal.ino
Last active Mar 10, 2020
View hazePedal.ino
* Jeffrey Yoo Warren & Andy Lee
* digipot
#define chipselect 15
#define updown 14
#define inc 16
You can’t perform that action at this time.