I hereby claim:
- I am samuelkobe on github.
- I am samuelkobe (https://keybase.io/samuelkobe) on keybase.
- I have a public key ASCklBhQ_2_7e8ACiTv7XJiToEj6CpgDS2j87n7c9SlebQo
To claim this, I am signing this object:
import javax.imageio.ImageIO; | |
import javax.swing.*; | |
import javax.swing.event.MenuEvent; | |
import javax.swing.event.MenuListener; | |
import javax.swing.plaf.basic.BasicArrowButton; | |
import java.awt.GridLayout; | |
import java.awt.event.*; | |
import java.awt.image.BufferedImage; | |
import java.awt.*; | |
import java.io.File; |
<div class='inquiries'> | |
<%= form_for [refinery, :inquiries, @inquiry] do |f| %> | |
<%= render :partial => "/refinery/admin/error_messages", | |
:locals => { | |
:object => @inquiry, | |
:include_object_name => true | |
} %> | |
<div class="field"> | |
<%= f.required_label :name, :class => 'placeholder-fallback' %> | |
<%= f.text_field :name, :class => 'text', :required => 'required', :placeholder => t('name', :scope => 'activerecord.attributes.refinery/inquiries/inquiry') %> |
KOBE ~/Documents/workspace/mls (working) $ rake routes | |
refinery / Refinery::Core::Engine | |
quicksearches GET /quicksearches(.:format) quicksearches#index | |
POST /quicksearches(.:format) quicksearches#create | |
new_quicksearch GET /quicksearches/new(.:format) quicksearches#new | |
edit_quicksearch GET /quicksearches/:id/edit(.:format) quicksearches#edit | |
quicksearch GET /quicksearches/:id(.:format) quicksearches#show | |
PUT /quicksearches/:id(.:format) quicksearches#update | |
DELETE /quicksearches/:id(.:format) quicksearches#destroy |
class ApplicationController < ActionController::Base | |
protect_from_forgery | |
helper_method :current_user | |
def self.requires_authentication(*actions) | |
before_filter :authenticate, :only => actions | |
end | |
private |
class UsersController < ApplicationController | |
def index | |
@users = User.order(:id) | |
respond_to do |format| | |
format.html | |
format.csv { send_data @users.to_csv } | |
format.xls # { send_data @users.to_csv(col_sep: "\t") } | |
end | |
end |
PID file: /Users/samuelkobe/Documents/hworkspace/mailapp/tmp/pids/passenger.3001.pid | |
Log file: /Users/samuelkobe/Documents/hworkspace/mailapp/log/passenger.3001.log | |
Environment: development | |
Accessible via: http://0.0.0.0:3001/ | |
You can stop Phusion Passenger Standalone by pressing Ctrl-C. | |
=============================================================================== | |
Connecting to database specified by database.yml | |
$(document).ready(function(){ | |
$(window).bind('scroll', function() { | |
var navHeight = $( window ).height() - 50; | |
if ($(window).scrollTop() > (navHeight)*.75) { | |
$('nav').addClass('fixed').animate ({ | |
top: "0px", | |
}, 400 ); | |
} | |
else { | |
$('nav').removeClass('fixed').css ({ |
function parse_git_branch () { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
BLUE="\[\e[1;34m\]" | |
RED="\[\033[0;31m\]" | |
LIGHTBLUE="\[\e[0;36m\]" | |
GREEN="\[\033[0;32m\]" | |
NO_COLOUR="\[\033[0m\]" |
I hereby claim:
To claim this, I am signing this object: