Skip to content

Instantly share code, notes, and snippets.

@stuartellis
stuartellis / root-Taskfile.yaml
Created August 1, 2026 16:29
Task and Copier
---
# Tasks for the Task runner:
#
# https://taskfile.dev/
version: "3.50"
set: [pipefail]
includes:
@stuartellis
stuartellis / gist:657305
Created October 31, 2010 23:24
Possible solution to Euler problem 5
#!/usr/bin/env ruby -wKU
class Application
def test(input)
pass = false
(1..20).each do |number|
if input % number == 0
#!/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
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
["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