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
| .../modules/havaianas/inc/products/clothing.inc | 32 ++++++++++++---------- | |
| 1 file changed, 18 insertions(+), 14 deletions(-) | |
| diff --git a/havaianas/sites/all/modules/havaianas/inc/products/clothing.inc b/havaianas/sites/all/modules/havaianas/inc/products/clothing.inc | |
| index 18e2332..c8cb9ab 100644 | |
| --- a/havaianas/sites/all/modules/havaianas/inc/products/clothing.inc | |
| +++ b/havaianas/sites/all/modules/havaianas/inc/products/clothing.inc | |
| @@ -115,6 +115,7 @@ function _havaianas_products_clothing_import_form_validate($form, &$form_state) | |
| } | |
| } |
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
| app/models/broadcast/message.rb | 9 +++++++++ | |
| app/models/flow/flow.rb | 1 + | |
| spec/models/broadcast/message_spec.rb | 23 +++++++++++++++++++++++ | |
| 3 files changed, 33 insertions(+) | |
| diff --git a/app/models/broadcast/message.rb b/app/models/broadcast/message.rb | |
| index 68b71c4..85d1508 100644 | |
| --- a/app/models/broadcast/message.rb | |
| +++ b/app/models/broadcast/message.rb | |
| @@ -18,6 +18,7 @@ class Broadcast::Message < 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
| diff --cc app/models/patient.rb | |
| index 23c2109,c793d14..0000000 | |
| --- a/app/models/patient.rb | |
| +++ b/app/models/patient.rb | |
| @@@ -17,22 -18,24 +18,25 @@@ class Patient < ActiveRecord::Bas | |
| before_destroy :check_for_associated_records | |
| before_save :set_patient_state | |
| + after_commit :set_code_if_empty | |
| + before_validation :instantiate_hipaa_authorization |
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
| require 'spec_helper' | |
| describe VoiceCallsController do | |
| let!(:token) { Twilio::CONFIG['CALLBACK_TOKEN'] } | |
| let(:mock_number) { Struct::TwilioPhoneNumber.new('1234', '+12225550100') } | |
| let(:twilio_sid) { 'SomeSid' } | |
| let(:default_params) { | |
| { | |
| CallStatus: "in-progress", | |
| CallSid: twilio_sid, |
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 dir="ltr" lang="pt-BR"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Redefinição Automática de Senha</title> | |
| <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width"> | |
| <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
| <link rel="stylesheet" href="style.css" media="screen"> | |
| <!--[if lte IE 7]><link rel="stylesheet" href="../style.ie7.css" media="screen" /><![endif]--> |
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
| db/schema.rb | 16 +--------------- | |
| 1 file changed, 1 insertion(+), 15 deletions(-) | |
| diff --git a/db/schema.rb b/db/schema.rb | |
| index 61f7a0d..d54b7d2 100644 | |
| --- a/db/schema.rb | |
| +++ b/db/schema.rb | |
| @@ -222,19 +222,6 @@ ActiveRecord::Schema.define(:version => 20140520224716) do | |
| add_index "patient_chats", ["responded_at"], :name => "index_patient_chats_on_responded_at" | |
| add_index "patient_chats", ["texted_at"], :name => "index_patient_chats_on_texted_at" |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import random | |
| import requests | |
| import json | |
| # Enter your won joke handy in case reddit goes down | |
| PLIVO_JOKE="What do you get when you cross a snowman with a vampire? A frostbite" |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| from flask import Flask, Response, request, url_for | |
| import plivoxml | |
| from utils import joke_from_reddit | |
| # This file will be played when a caller presses 2. | |
| PLIVO_SONG = "https://s3.amazonaws.com/plivocloud/music.mp3" |
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
| Puppet quickstart (serverless) | |
| $ vim test.pp | |
| file { 'testfile-puppet': | |
| path => '/tmp/testfile-puppet', | |
| ensure => present, | |
| mode => '0640', | |
| content => "I'm a test file.\n" | |
| } |
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
| var PVT; | |
| (function() { | |
| PVT = {}; | |
| var meses = ['janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro']; | |
| var initialized = false; | |
| var dispatchEvent = function(el, evtType) | |
| { |