Skip to content

Instantly share code, notes, and snippets.

// Curious about ages for the 2019 tour divide.
// Text grabbed from https://bikepacking.com/bikes/tour-divide-rigs-2019/
// That website is the best, I didn't write any of this, they did, all credit to them.
// btw:
// average age: 44.782051282051285
// median age: 45
const originalStr = `
JOIN/SUPPORT
async function someFunc() {
const somePromise = new Promise((resolve, reject) => {
resolve('cool ' + Math.random())
})
// return Promise.reject(new Error('bs!')) // Could reject
// throw new Error('yowza') // or could throw
return somePromise
}
@taketime
taketime / build.gradle
Created March 14, 2017 22:12
Gradle config for Auto-incrementing a build number/versionCode. Look at bumpBuildNumber()
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.coolproject"
minSdkVersion 19
targetSdkVersion 25
versionCode bumpBuildNumber() // Increments a build number; uses gradle.properties for storage
versionName "0.0.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@taketime
taketime / stjohns_traffic_forum.md
Created November 15, 2016 18:45
Notes from 11/14/2017 St Johns Traffic Safety Forum

I went to the St Johns traffic safety forum yesterday. It was great, and 100+ people turned out, mostly people that live in St Johns. This was put together largely by Travis Parker, one of the St Johns NA board members. It sounds like he's been focused on safety for a while, but pushed to hold the forum after two bad crashes: a student being hit crossing N Columbia to get to school, and a person riding a bike being hit and killed on the St Johns bridge. The big issues brought up were speed of cars, freight routes and their incompatibility with neighborhoods, and large amounts of cut through traffic all over the neighborhood. The most common feeling residents had was a lack of safety, specifically walking and cycling. Basically, people said they didn't feel the streets were safe for people. To be clear, this was signaled consistently among nearly everyone present, who represented all ages and genders.

Tina Kotek was there for the whole meeting. She's the current Speaker of the House in the OR House of Reps. S

The Numbers

2015 data

2016 data

  • I could not find official information, so I browsed through Portland Police Bureau press releases, and scanned a couple local news websites
  • at least 5 people walking have been killed
    • I don't have all their ages and genders, but at least:

Arbor Lodge Street Safety Committee. Meeting 2!

last time

  • came up with ideas, and prioritized them
  • priority 1 was the silent ride. Happened Wednesday, great attendance.
  • priority 2: infrastructure improvements for Rosa Parks and Delaware
  • priority 3: education events with Sunday Parkways

Infrastructure improvements for Rosa Parks and Delaware

  • consider ways we can improve safety
@taketime
taketime / safety_meeting.md
Last active May 20, 2016 01:16
Arbor Lodge Road Safety Meeting announcement. Given at AL meeting on 5/19.

What?

  • Arbor Lodge Road Safety Meeting!
  • Sunday 5/22 at 9am at the Kenton Firehouse
  • all are welcome, and I promise there will be coffee

Why?

  • neighborhood safety
  • Arbor Lodge park is a major center of life for all ages
  • Chief Joseph means there are a lot of kids walking and riding
  • Harper's playground means there are A LOT of kids walking and riding

2016

  1. 1/10: a 28 year old man was hit while crossing SW 11th: http://www.portlandoregon.gov/police/news/read.cfm?id=6906
  2. 1/12: an 84 year old woman was killed while in a crosswalk: http://www.portlandoregon.gov/police/news/read.cfm?id=6911
  3. 2/18: a 15 year old boy hit while walking. By two different cars: http://www.kgw.com/news/local/teen-hit-by-multiple-cars-suffers-life-threatening-injuries/46025461
  4. 2/23: a 26 year old man was hit while walking in NE.
  5. 3/18: a 34 year old woman was hit while walking on Glisan. She died a week later: http://www.portlandoregon.gov/police/news/read.cfm?id=7116
  6. 3/19: 17 year old killed while biking on SE Center: http://www.portlandoregon.gov/police/news/read.cfm?id=7082
  7. 3/19: a 58 year old was killed while walking across Cully: http://www.portlandoregon.gov/police/news/read.cfm?id=7083
  8. 3/26: a 66 year old man was hit while walking downtown.
  9. 3/28: a person was hit on Sandy
@taketime
taketime / portland_middle_housing_testimony.md
Created April 28, 2016 16:32
In favor of middle housing

The middle housing plan will help increase safety by putting more feet on our streets and sidewalks. It will provide greater financial security by keeping mortgages and rents relatively lower. It will help keep our city more diverse. It will allow more of our older citizens to age in place. It will provide increased demand for better public transportation and cycling infrastructure. Portland bucked national trends with our funding of the MAX in 1978. We should buck trends again by keeping the future of our city available to the widest range of people.

I am a homeowner in the Arbor Lodge neighborhood, where Arbor Lodge park is a central public space. The park is often busy with families and games and people walking. I want to see that vigor on all of our streets and sidewalks. Middle housing can help make that happen.

Christopher Jones
address
Portland, OR 97217

ffmpeg -i ron.mov -s 600x400 -r 11 -f gif - | gifsicle --optimize=3 --delay=15 > ron.gif