
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
HomeworkReport is an utility program, which generates HTML files with given template files.
Install it yourself as:
$ gem install homework_report
Note that extra libraries are required if you want to use Haml, Slim, or Markdown instead of ERB
Add this line to your application's Gemfile:
gem 'homework_report'
And then execute:
$ bundle
FORMAT FILE EXTENSIONS REQUIRED LIBRARIES
------------ --------------------------- ------------------------
ERB .erb, .rhtml none
Haml .haml haml
Slim .slim slim
Markdown .markdown, .mkd, .md redcarpet, maruku, or kramdown
It generates HTML text to the standard output or file
$ homework_report [options] FILE
You can execute $ homework_report --help
to see the available options
homework.slim
- @topic = "Uncharted"
- @name = "Nathan Drake"
doctype html
html
head
title= @topic
body
p
| Name: #{@name}
Execute the command to generate HTML
$ homework_report -o homework.html homework.slim
homework.slim
- @course = "Digital Image Synthesis"
- @topic = "Assignment #1 - Height Field"
- @name = "David Lin"
- @submission_date = Date.today
= render 'template.slim'
template.slim
doctype html
html
head
title #{@course} - #{@topic}
body
div
h1= @topic
h3 Name: #{@name}
h3 Submission Date: #{@submission_date}
div
= render "description.md"
div
= render "final_images.slim"
description.md
## Description of implementation approach and comments
blahblahblah
final_images.slim
h2 Final Images Rendered with my implementation of Heightfield2
p
img src="http://www.csie.ntu.edu.tw/~cyy/courses/rendering/12fall/assignments/proj1/smooth.jpg"
Finally, execute the command to generate homework.html
$ homework_report -o homework.html homework.slim
TODO: I'm working on it
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that homework_report demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.