Skip to content

Instantly share code, notes, and snippets.

View Eunoia's full-sized avatar
🍍
bring the hustle

Evan R Eunoia

🍍
bring the hustle
View GitHub Profile
@Eunoia
Eunoia / art_scavenger_hunt.md
Created October 26, 2022 20:00
Can you find these items at the museum
  • art from a content you have not been to before
  • A very large cluster of plants
  • furniture you wouldn't want in your house
  • your group posed like a painting or sculpture
  • a smaller version of something big
  • a bigger version of something small
  • something with holes
  • an installation designed to look good on a small screen
  • people on a first date
  • food
function formatedDate(offset = 7) {
da = new Date();
da.setDate(da.getDate() - offset);
y = da.getFullYear();
m = da.toLocaleString("default", { month: "long" });
d = da.getDate();
ord = "";
switch (da.getDate()) {
case 1:
@Eunoia
Eunoia / gist:2fa8bcab3b88527e82cfc9df12763925
Created April 23, 2020 17:41
Linear Regression javascript
//https://stackoverflow.com/questions/6195335/linear-regression-in-javascript
function linearRegression(y,x){
var lr = {};
var n = y.length;
var sum_x = 0;
var sum_y = 0;
var sum_xy = 0;
var sum_xx = 0;
var sum_yy = 0;
grep WEBSITE.GET.OBJECT real_log | grep -v localhost | grep -v css | grep -v images | grep -v \.js |grep -v \.png | cut -c 86- | grep slack
Tuna Pasta Salad With Dill
https://www.thespruceeats.com/tuna-pasta-salad-with-dill-3058889
APPLE DIJON KALE SALAD
https://www.budgetbytes.com/apple-dijon-kale-salad/
CURRIED TOFU SALAD
https://www.budgetbytes.com/curried-tofu-salad/
KALE & SALMON CAESAR SALAD
@Eunoia
Eunoia / gist:29ca40fd1fbb99cd8c2e16afa07e7fb2
Created April 18, 2019 22:58
Download files from Wells Fargo Statement Pages
function download_pdf(a_tag){
var link = document.createElement('a');
link.href = $(a_tag).data('url');
link.download = "Trust "+$(a_tag).text()
link.dispatchEvent(new MouseEvent('click'));
}
$('.documents').eq(0).find('[data-url]').map(function(){ download_pdf(this) })
HUC12 Name ToHUC
180902081301 Pisgah Crater 180902081304
180300121501 Media Agua Creek 180300121502
180101010302 Eightmile Creek 180101010304
180701020802 Pole Creek-Santa Clara River 180701020902
180902060903 Eller Slough 180902061903
180901020705 North Fork Bishop Creek-Owens River 180901020710
180600090105 Lower San Antonio Creek 180600090203
180400091103 Peppermint Creek-Woods Creek 180400091205
180201610402 Natomas Main Drainage Canal-Sacramento River 180201630701
@Eunoia
Eunoia / brownie.txt
Created December 8, 2018 20:50
Instant brownie mix is for the weak
Instant brownie mix is the weak.
This recipe makes the best brownies ever.
* 80g unsifted flour
* ¼ tsp baking soda
* ¼ tsp salt
* 70g butter
* 140g sugar
* 2 tbsp water
@Eunoia
Eunoia / notes.md
Created June 4, 2018 05:52
Notes on population counts in After the Deluge

After the Deluge

In this book, sea level rise leads to a smaller San Francisco in the year 2445, where all food needs are met by the city. The bay teems with life, and people eat Cioppino everyday. Most travel is done by bicycle, and streets have been turned into gardens.

As I read, I've been wondering about the population, how much lower, or higher than present SF is it? Most of the city is turned to the plow, but people live in group homes, which makes it hard to determine population.

Copy of the report
<https://lims.minneapolismn.gov/Download/File/1038/2018%20Local%20Board%20of%20Appeal%20and%20Equalization%20Update.pdf>
People talking about the report.
<https://twitter.com/anton612/status/990597518433177602>
Site to request data
<http://www.ci.minneapolis.mn.us/datapractices/WCMSP-180814>
First tweet I saw