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:
I hereby claim:
To claim this, I am signing this object:
form_navigation = -> | |
stripped_url = document.location.toString().split("#") | |
anchor_value = if stripped_url.length > 1 | |
stripped_url[1] | |
else | |
'contact' | |
$("##{anchor_value}").addClass('active') | |
$(".resume-form-navigation .#{anchor_value}").addClass('active') | |
document.addEventListener 'turbolinks:load', form_navigation |
require 'sinatra' // (1)
get '/hi' do // (2)
"Hello World!" // (3)
end
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") |
I hereby claim:
To claim this, I am signing this object: