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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Money Input Mask</title> | |
<style> | |
input { | |
font-size: 18px; | |
padding: 10px; | |
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
name: Ruby | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
db: |
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
rake -v | |
/home/paulo-felipe/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/fog-1.19.0/lib/fog/core/collection.rb:150: warning: circular argument reference - filters | |
/home/paulo-felipe/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/fog-1.19.0/lib/fog/rackspace/mock_data.rb:43: warning: key "name" is duplicated and overwritten on line 81 | |
/home/paulo-felipe/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/postgresql_adapter.rb:1222: [BUG] Segmentation fault at 0x00007fa55320c140 | |
ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0100 p:---- s:0393 e:000392 CFUNC :initialize | |
c:0099 p:---- s:0391 e:000390 CFUNC :new | |
c:0098 p:0019 s:0381 e:000380 METHOD /home/paulo-felipe/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/p |
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
name: Ruby | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
db: |
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
# Execute this file as follows and compare the results in ruby 1.8.*: | |
# | |
# ruby class_var_ex.rb | |
# ruby class_var_ex.rb "include module" | |
# ruby class_var_ex.rb "include module" "include global" | |
# ruby "include global" | |
@@test = 9 if ARGV.last == "include global" | |
module X |
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 'mini_magick' | |
#Criar script IMG_#{numero + 1} for each loop | |
initial_number = 3746 | |
final_number = 3774 | |
image_name = "" | |
image_name_converted = "" | |
while initial_number < final_number | |
initial_number = initial_number + 1 |