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_identifier":"josé-carlos-magno-004153", | |
"profile_pic_url":"None", | |
"background_cover_image_url":"None", | |
"first_name":"José Carlos", | |
"last_name":"Magno", | |
"full_name":"José Carlos Magno", | |
"follower_count":956, | |
"occupation":"Diretor at Beyondsoft Brasil", | |
"headline":"Cloud Specialist, passionate about tech, strategy, governance, cost optimization, compliance & data", |
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 CreateFuncionarios < ActiveRecord::Migration | |
def change | |
create_table :funcionarios, id: false do |t| | |
t.string :Login, :limit => 30, primary_key: true | |
t.integer :Matricula | |
t.string :Nome | |
t.date :DataAdmissao | |
t.date :DataDemissao | |
t.string :Email | |
t.string :CPF, :limit => 20 |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.quadrado { | |
background: green; | |
height:100px; | |
top:100px; | |
width:100px; | |
} |
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
#primeiro { | |
background: red; | |
} | |
#segundo { | |
background: blue; | |
transition: 2s all ease; | |
} |
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
.box-alerta { | |
float:left; | |
background: #4f4f4f; | |
border-radius:3px 3px 3px 3px; | |
box-shadow: 5px 5px 10px 0 #000; | |
color: white; | |
font-family:monospace; | |
padding: 0px 5px 0px 5px; | |
} |
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
namespace :scheduler do | |
desc "Scheduler..." | |
task :go => :environment do | |
Scheduler.go | |
puts "Scheduler.go - #{Time.now} - Success!" | |
end | |
end | |
class Scheduler < ActiveRecord::Base |
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 RmDb < ActiveRecord::Base | |
establish_connection "rm" | |
self.abstract_class = true | |
end | |
class FuncionarioRm < RmDb | |
# set_table_name "VW_DadoPessoalInfra" | |
set_table_name "VW_InfraDadosProfissionais" | |
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
-------------------------------------------------------------- | |
Voce conhece as gems abaixo ? para que cada uma serve ? | |
will_paginate | |
oauth | |
nokogiri | |
thinking-sphinx | |
cancan | |
sidekiq |
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
quando :servidor :forCriado do |ci| | |
incluir :hostmonitor, ci | |
notificar :financeiro, ci | |
end | |
quando :servidor :mudarStatus do |ci| | |
notificar :owner, ci | |
end |