Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snowy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snowy

  • 0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

snowy

"snowy" is an identicon implements with the snow crystal motif.

  • package name: snowy
  • version: 0.1
  • software quality: EXPERIMENTAL
  • license: BSD-2-clause License
  • author: dearblue dearblue@users.noreply.github.com
  • report issue to: https://github.com/dearblue/ruby-snowy/issues/
  • dependency ruby: ruby-2.1+
  • dependency ruby gems: (none)
  • dependency library: (none)
  • bundled external C library: (none)

snowy demonstration

How to usage

require "snowy"
require "zlib"

str = "abcdefg"
salt = 0
id = Zlib.crc32(str, salt) # transcode to 32-bits integer
pngdata = Snowy.generate_to_png(id, size: 256)
File.binwrite("snowy.png", pngdata)

Demonstration with web browser

$ gem install sinatra haml
$ ruby snowy-demo.rb

And, access to http://localhost:4567/ on web browser.

FAQs

Package last updated on 10 Dec 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc