Estágio em Programação: https://infosimples.github.io/estagio-em-programacao/
This file contains 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 --git a/accessible/base/NotificationController.h b/accessible/base/NotificationController.h | |
index bc1a692c23d8599512a5ce956d99998640347c46..4e77897aa4a84ce88445ba45f1ba3b5b2dde9e23 100644 | |
--- a/accessible/base/NotificationController.h | |
+++ b/accessible/base/NotificationController.h | |
@@ -244,6 +244,8 @@ class NotificationController final : public EventQueue, | |
} | |
#endif | |
+ bool IsUpdatePendingForJugglerAccessibility() { return IsUpdatePending(); } | |
+ |
This file contains 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 Renderer::Post | |
def self.create_doc_xml(root) | |
doc = LibXML::XML::Document.new | |
doc.encoding = LibXML::XML::Encoding::UTF_8 | |
doc.root = LibXML::XML::Node.new(root) | |
doc | |
end | |
def self.create_node(name, value=nil, type=nil) | |
node = LibXML::XML::Node.new(name) |
This file contains 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
# gem install benchmark-memory activesupport builder nokogiri rabl ox libxml-ruby | |
require 'benchmark' | |
require 'benchmark-memory' | |
require 'builder' | |
require 'active_support/core_ext/hash/conversions' | |
require 'rabl' | |
require 'nokogiri' | |
require 'libxml' | |
require 'ox' |
This file contains 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
# gem install multi_json json yajl-ruby oj benchmark-memory | |
require 'multi_json' | |
require 'json' | |
require 'yajl' | |
require 'oj' | |
require 'benchmark' | |
require 'benchmark-memory' | |
hash1 = { |
This file contains 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
# Install dependencies: | |
# | |
# posix-spawn (check all benefits at https://github.com/rtomayko/posix-spawn) | |
# gem install posix-spawn | |
# | |
# Poppler utils (http://poppler.freedesktop.org/) | |
# apt-get install poppler-utils | |
# | |
require 'posix/spawn' |