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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=301880 | |
--> | |
<configuration> | |
<configSections> | |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | |
</configSections> |
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
<script> | |
var iOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false ); | |
var android = ( navigator.userAgent.match(/Android/i) ? true : false ); | |
if (iOS) { | |
document.location = "https://itunes.apple.com/pt/app/pointsup/id880237921?mt=8"; | |
}; | |
if (android) { | |
document.location = "https://play.google.com/store/apps/details?id=br.com.pointsup.controller&hl=pt_BR"; | |
}; | |
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
production: | |
# Configure available database sessions. (required) | |
sessions: | |
# Defines the default session. (required) | |
default: | |
# Defines the name of the default database that Mongoid can connect to. | |
# (required). | |
database: silicio_rails_production | |
# Provides the hosts the default session can connect to. Must be an array | |
# of host:port pairs. (required) |
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
production: | |
# Configure available database sessions. (required) | |
sessions: | |
# Defines the default session. (required) | |
default: | |
# Defines the name of the default database that Mongoid can connect to. | |
# (required). | |
database: silicio_rails_production | |
# Provides the hosts the default session can connect to. Must be an array | |
# of host:port pairs. (required) |
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>ICAD - <?php echo $title; ?></title> | |
<link rel="icon" href="<?php echo URL::base(); ?>assets/img/favicon.ico" type="image/x-icon" /> | |
<?php | |
echo Assets::factory('all') | |
->js('jquery-1.9.1.js') | |
->css('bootstrap.min.css') |
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
def get_activities | |
activities = Activity.find_all_by_construction_id(params[:construction]) | |
@rows = [] | |
data = params[:data] | |
data = data.to_date | |
data_inicial = data.beginning_of_week(:sunday) | |
data_final = data.end_of_week(:saturday) |
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
source 'https://rubygems.org' | |
gem 'rails', '3.2.14' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'mysql2', '0.3.13' | |
gem 'devise', '3.0.3' | |
gem 'cancan', '1.6.10' |
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
@implementation Cliente | |
+(RKObjectMapping *)clienteResponseMapping{ | |
RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[self class]]; | |
[mapping addAttributeMappingsFromDictionary:@{ | |
@"id": @"clienteID", | |
@"fbID": @"fbID", | |
@"nome": @"nome", | |
@"sobrenome": @"sobrenome", |
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
access_index GET /access(.:format) access#index | |
POST /access(.:format) access#create | |
new_access GET /access/new(.:format) access#new | |
edit_access GET /access/:id/edit(.:format) access#edit | |
access GET /access/:id(.:format) access#show | |
PUT /access/:id(.:format) access#update | |
DELETE /access/:id(.:format) access#destroy | |
occupations GET /occupations(.:format) occupations#index | |
POST /occupations(.:format) occupations#create | |
new_occupation GET /occupations/new(.:format) occupations#new |
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
[Sun Jun 16 17:47:23 2013] [error] [client 177.98.160.163] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/phppgadmin/classes/Misc.php on line 342 | |
[Sun Jun 16 17:47:23 2013] [error] [client 177.98.160.163] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/phppgadmin/classes/Misc.php on line 342, referer: https://www.multicredmais.com.br/phppgadmin/ | |
[Sun Jun 16 17:47:23 2013] [error] [client 177.98.160.163] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/phppgadmin/classes/Misc.php on line 342, referer: https://www.multicredmais.com.br/phppgadmin/ | |
[Sun Jun 16 17:47:23 2013] [error] [client 177.98.160.163] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/phppgadmin/classes/Misc.php on line 342, referer: https://www.multicredmais.com.br/phppgadmin/browser.php | |
[Sun Jun 16 17:47:25 2013] [error] [client 177.98.160.163] PHP Deprecated: Assignin |