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
| --- | |
| # Tasks for the Task runner: | |
| # | |
| # https://taskfile.dev/ | |
| version: "3.50" | |
| set: [pipefail] | |
| includes: |
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 ruby -wKU | |
| class Application | |
| def test(input) | |
| pass = false | |
| (1..20).each do |number| | |
| if input % number == 0 |
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 ruby -wKU | |
| puts `ps -o rss= -p #{$$}`.to_i | |
| current_fib = 1 | |
| fib_numbers = [] | |
| for i in 1..4000000 do | |
| if i == current_fib * 2 | |
| fib_numbers << i |
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 gemspec:validate --trace | |
| (in /Users/se/Downloads/glyph) | |
| ** Invoke gemspec:validate (first_time) | |
| ** Invoke version_required (first_time) | |
| ** Execute version_required | |
| ** Execute gemspec:validate | |
| glyph.gemspec is invalid. See the backtrace for more details. | |
| rake aborted! | |
| undefined method `prerelease?' for nil:NilClass |
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
| ["book/output/html5/glyph.html", "book/output/html5/images/document_generation.png", "book/output/html5/images/glyph.png", "book/output/html5/images/glyph.svg", "book/output/html5/styles/default.css", "book/output/html5/styles/lazy.css", "book/output/html5/styles/ultraviolet/lazy.css"] are not files |