- Supports all phones on Tier 1 carriers
- Find and correct for inaccuracy patterns
- Supports smart phones on all carriers
- Possible spoof prevention: http://stackoverflow.com/questions/6623945/check-if-geo-location-has-been-spoofed
@shift_groups = @shifts.group_by(&:date).to_a.sort | |
2012-02-06 | |
#<Shift:0x00000004b3f868> | |
2012-02-07 | |
#<Shift:0x00000004a59b60> | |
#<Shift:0x00000004a59200> | |
#<Shift:0x00000004a58738> | |
2012-02-08 | |
#<Shift:0x00000004a57db0> |
<input type="button" onclick="myfunction()" value="NEWEdit" /> | |
<script language="javascript" type="text/javascript"> | |
$(function() { | |
$(document).on('click', '#edit', function() { | |
$('#he').text($('#posts').data('count')); | |
}); | |
}); |
class Vod < ActiveRecord::Base | |
def self.matchup(matchup) | |
r1, r2 = matchup.split("v") | |
where(r1: r1, r2: r2) | |
end | |
end |
<div style="line-height: 20px"> | |
REP Code: <span style="color: #ff0000;"><strong><a href="http://www.promocodesforkarmaloop.com/action">ACTION</a></strong></span> - <strong>20% OFF ALL ITEMS</strong> | |
<small>No Minimum. No Restrictions. Doesn't expire. | |
OR Combine | |
Rep Code: <strong><a href="http://www.promocodesforkarmaloop.com/action">ACTION</a></strong> + ANY Karmaloop promo code for 21% OFF ALL ITEMS | |
</small></div> |
Animals.each do |letter, results| | |
10.times do | |
doc = Nokogiri::HTML(open("http://www.ocar.org/page.php?tut=realtor-affiliate-search-results&tid=802&pid=8&first_or_last_name=#{letter}&city=&office=&btc=&op=find_a_realtor&ftut=find-a-realtor&start=#{results_per_page}")) | |
realtors = {} | |
('a'..'z').each do |n| | |
realtors[n] = Realtor.create | |
end | |
doc.css('div.search_results_item').each do |number| | |
phone_number = /\(\d{3}\)\s\d{3}-\d{4}/.match("#{number.content}") | |
('a'..'z').each do |n| |
FactoryGirl.define do | |
factory :neutral_account, class: FinancialAccounting::Update::Neutral::Account do | |
load_sequence { FactoryGirl.generate(:sn) } | |
loaded_at { Time.now } | |
recorded_at { Time.now } | |
created_at { Time.now } | |
updated_at { Time.now } | |
factory :valid_neutral_account do | |
association :custodian, factory: :custodian |
# | |
# Autogenerated by Thrift | |
# | |
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING | |
# | |
require 'exception_types' | |
require 'shared_types' | |
class OtoplastikCustomer < Customer | |
def otoplastik? | |
true | |
end | |
def prices(article) | |
query = lambda do |merchant_code| | |
OtoplastikArticlePrice.where("otoplastik_article_id = ? AND merchant_code = ?", article.id, merchant_code).order("minimum DESC") | |
end |
resources :studentinfos do | |
get ':type' => 'studentinfos#type', constraints: { type: /\d+/ } | |
end |