Skip to content

Instantly share code, notes, and snippets.

Victor Hugo Bueno victorbueno

Block or report user

Report or block victorbueno

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
victorbueno /
Created Jul 10, 2018 — forked from sevos/
Rails 5.2 + Komponent + Turbolinks + Stimulus


rails new my_app --rc=template.rc -m template.rb
View request-install-packages.xml
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
victorbueno / bancos-brasil-2017-04-21.sql
Created Apr 21, 2017
Lista de Bancos Brasileiros Atualizada 2017
View bancos-brasil-2017-04-21.sql
INSERT INTO `banks` (`CODE`, `NAME`)
('654', '654 - Banco A.J.Renner S.A.'),
('246', '246 - Banco ABC Brasil S.A.'),
('25', '25 - Banco Alfa S.A.'),
('641', '641 - Banco Alvorada S.A.'),
('213', '213 - Banco Arbi S.A.'),
('19', '19 - Banco Azteca do Brasil S.A.'),
('29', '29 - Banco Banerj S.A.'),
('0', '0 - Banco Bankpar S.A.'),
#Go inside this directory in a command line tool and type:
sudo chgrp -R your-apache-group-name .
chmod g+w .
victorbueno / simple_form_foundation.rb
Created Jan 24, 2014
Simple Form and Zurb Foundation inline forms
View simple_form_foundation.rb
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
config.wrappers :foundation, class: :input, hint_class: :field_with_hint, error_class: :error do |b|
b.use :html5
b.use :placeholder
b.optional :maxlength
b.optional :pattern
b.optional :min_max
b.optional :readonly
View gist:5390741
"apk":"UEsDBBQACAAIAPltZEAA ... dC9tYWluBtULtOw0AQnM3lYUg=",
"current": true
View background_notification.rb
def background_exception_notification(exception, options={})
if @notifier = Rails.application.config.middleware.detect{ |x| x.klass == ExceptionNotifier }
@options = (@notifier.args.first || {}).reverse_merge(self.class.default_options)
@exception = exception
@backtrace = exception.backtrace || []
@sections = @options[:background_sections]
@data = options[:data] || {}
@data.each do |name, value|
instance_variable_set("@#{name}", value)
victorbueno / pushlink-integration.xml
Created Oct 22, 2011
PushLink integration - XML
View pushlink-integration.xml
victorbueno /
Created Oct 22, 2011
PushLink integration - Java
View Error Log
[INFO] [soapui:test {execution: integracaoFunctionalTest}]
soapUI 3.6 Maven2 TestCase Runner
17:52:40,155 WARN [DefaultSoapUICore] Missing folder [C:\server\localhost\jenkins\jobs\DTFRestricao\workspace\trunk\.\ext] for external libraries
17:52:40,170 INFO [DefaultSoapUICore] Creating new settings at [C:\Documents and Settings\Default User\soapui-settings.xml]
17:52:41,639 INFO [WsdlProject] Loaded project from [file:C:/server/localhost/jenkins/jobs/DTFRestricao/workspace/trunk/DTFRestricaoWeb/DTFIntegração-soapui-project.xml]
17:52:43,061 INFO [SoapUITestCaseRunner] Running soapUI tests in project [DTFIntegração]
17:52:43,077 INFO [SoapUITestCaseRunner] Running Project [DTFIntegração], runType = SEQUENTIAL
17:52:43,124 INFO [SoapUITestCaseRunner] Running soapUI testcase [TestCase: obtemDadosVeiculo - Placa inválida DB]
17:52:43,233 INFO [SoapUITestCaseRunner] running step [DataSource: TestCasePlacaInválida]
17:52:43,249 INFO [SoapUITestCaseRunner] running step [Test Request: Placa inválida]
You can’t perform that action at this time.