Elm Study Notes
Decoding Recursive Data Structures:
From Elm Slack
Hello software developers,
Please check your code to ensure you're not making one of the following mistakes related to cryptography.
"How do I get started with Node?" is a commonly heard question in #Node.js. This gist is an attempt to compile some of the answers to that question. It's a perpetual work-in-progress.
Understand that it's going to take time to learn Node.js, just like it would take time to learn any other specialized topic - and that you're not going to learn effectively just by reading things, or following tutorials or courses. _Get out there and build things!
|# Generator for valid Swedish personnummer: http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden)|
|# By Henrik Nyh <http://henrik.nyh.se> 2009-01-29 under the MIT license.|
|def self.generate(date=nil, serial=nil)|
|date ||= Date.new(1900+rand(100), 1+rand(12), 1+rand(28))|
|serial = serial ? serial.to_s : format("%03d", 1+rand(999)) # 001-999|