Skip to content

Instantly share code, notes, and snippets.

View allenan's full-sized avatar
👨‍🚀

Andrew Allen allenan

👨‍🚀
View GitHub Profile

Keybase proof

I hereby claim:

  • I am allenan on github.
  • I am allenan (https://keybase.io/allenan) on keybase.
  • I have a public key ASDYJCJGREumj3dkMoXo9PuuICdgRYQK9dG3H0QnMy96Dgo

To claim this, I am signing this object:

app.rb
require 'sinatra' // (1)

get '/hi' do // (2)
  "Hello World!" // (3)
end
  1. Library import

# routes.rb
Rails.application.routes.draw do
root 'trailers#index'
resources :trailers do
collection do
get 'query'
end
end
end
package main
import "fmt"
func main() {
for i := 1; i <= 100; i++ {
if i % 15 == 0 {
fmt.Println("CracklePop")
} else if i % 3 == 0 {
fmt.Println("Crackle")

Keybase proof

I hereby claim:

  • I am allenan on github.
  • I am allenan (https://keybase.io/allenan) on keybase.
  • I have a public key whose fingerprint is CA94 E33C 2D71 1617 33B8 627A 4916 E33C 0587 E385

To claim this, I am signing this object: