This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public URLRead(URL url) { | |
BufferedReader reader; | |
awl = new ArrayList<AptWrapper>(); | |
Log.d(TAG,url.toExternalForm()); | |
try { | |
reader = new BufferedReader(new InputStreamReader(url.openStream())); | |
String str; | |
boolean flag = false; | |
error_flag = false; | |
while ((str = reader.readLine()) != null && error_flag == false) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= flash.each do |key,value| %> | |
<div class="flash <%= key %> span-22 last prepend-1"> | |
<%= value %> | |
</div> | |
<% end %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# == Schema Information | |
# | |
# Table name: players | |
# | |
# id :integer not null, primary key | |
# first_team :boolean | |
# preffered_position :string(255) | |
# rating :integer | |
# hometown :string(255) | |
# notes :text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SessionsController < ApplicationController | |
@base_uri = 'service.hwrdprkns.com:8080/' | |
def new | |
@title = 'Sign In' | |
end | |
def create | |
if params[:session][:email].blank? || params[:session][:password].blank? |
NewerOlder