def hello_world
puts "hello world!"
end
Posts
What I learned in 2019
22 Dec
- Patched a serialize-javascript moderate security vulnerability.
npm i serialize-javascript
- Found more vulnerabilities…
- Patched a serialize-javascript moderate security vulnerability.
Use Ruby reduce method to find the average of any array of floats
Here’s an quick Ruby method I stumbled upon to help find the average of an array of floats. Much time and lines of code were saved. Less code is better code.
Use Cucumber to test a RESTful API
Use Ruby’s JSON module to run simple Cucumber scenarios to test a RESTful API, DevOps style!
Some cool podcasts you should listen to
Just finished up the Tim Ferriss interview with Ed Zschau this morning. Fabulous insight on how a difference-maker thinks. This man played a major part in me being able to do what I love to do, and I never even knew it.
Rails SPA with Active Admin and Active Storage
For my brother’s nano-brewery, I wanted to build a simple, single-page application in which he could create, display, update, and delete content via a database. He also needed to be able easily upload images. I found a few tutorials on building a Rails-backend API with React-frontend, but at the time of this article, I didn’t yet know much about React (or Angular for that matter) so we just went with Rails and Bootstrap.
Spotify
I just downloaded 46 songs on Spotify in under a minute. Remember when it used to take 5+ minutes to download one song on Napster? What does the future hold? Where are we going?
HTTParty
An old article from when I was in Omaha Code School. Playing with an API.
Javascript Basics
I don’t work with JavaScript much, but when I do it’s handy to have some notes.
subscribe via RSS