-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
38 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
<meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><link rel=icon href=/images/favicon.ico><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css integrity=sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3 crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js integrity=sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p crossorigin=anonymous></script><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css><style type=text/css>html,body{height:100%;padding-top:30px;padding-bottom:40px}.sidebar-nav{padding-left:18px}.navbar-right{padding-right:18px}#wrap{min-height:100%;height:auto!important;height:100%;margin:0 auto 0}#push,#footer{height:60px}#footer{background-color:#f5f5f5}.white,.white a{color:#fff}</style></head><body><nav class="navbar navbar-expand navbar-dark fixed-top bg-dark"><div class=container-fluid><div class=navbar-header><button class=navbar-toggler type=button data-toggle=collapse data-target=#navbarSupportedContent aria-controls=navbarSupportedContent aria-expanded=false aria-label="Toggle navigation"> | ||
<span class=navbar-toggler-icon></span></button></div><div class="collapse navbar-collapse" id=navbarCollapse><ul class="navbar-nav me-auto mb-2 mb-md-0"><li class=nav-item><a class="nav-link active" href=/><i class="bi bi-house-door" style=color:#fff></i> Home</a></li><li class=nav-item><a class="nav-link active" href=/about/><i class="bi bi-signpost-2" style=color:#fff></i> About</a></li><li class=nav-item><a class="nav-link active" href=/posts/><i class="bi bi-card-list" style=color:#fff></i> Blog</a></li><li class=nav-item><a class="nav-link active" href=/tags/><i class="bi bi-tags" style=color:#fff></i> Tags</a></li><li class=nav-item><a class="nav-link active" href=https://github.com/cacoco><i class="bi bi-github" style=color:#fff></i> GitHub</a></li></ul><div class="navbar-text navbar-right"><i class="bi bi-asterisk" style=color:#fff></i><span style=color:#fff> <a href=https://angstrom.io><span>å</span>ngstr<span>ö</span>m.io</a> </span></div></div></div></nav><div id=wrap><div class=container-fluid><div class=container><h1 class=mt-5>Fizzbuzz</h1><p class="text-muted mt-3"><a class=text-muted href=https://angstrom.io/2012/07/11/fizzbuzz/>Published July 11, 2012</a> | ||
<a class=text-muted href=/tags/fizzbuzz>#fizzbuzz</a> | ||
<a class=text-muted href=/tags/clojure>#clojure</a></p><article class="article mt-5"><p><em>Birds do it. Bees do it. Even educated fleas do it. So let’s do it.</em></p><p>Ask any programmer these days and they’ve probably heard of it. <a href=https://weblog.raganwald.com/2007/01/dont-overthink-fizzbuzz.html>Fizzbuzz</a>.</p><h4 id=the-problem>The Problem</h4><p>Write a program that prints the numbers from 1 to 100. But for multiples of 3 print “Fizz” instead of the number and for the multiples of 5 print “Buzz”.<br>For numbers which are multiples of both three and five print “FizzBuzz”.</p><p>I came across (probably much later than most everyone else) Jeff Atwood’s post on <a href=https://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html>the Fizzbuzz problem</a> as it pertains to interviewing programmers. Naturally, like <a href=https://www.codinghorror.com/blog/2007/02/fizzbuzz-the-programmers-stairway-to-heaven.html>any other progammer</a> I set out to prove to myself that I could indeed write a Fizzbuzz. The challenge was to write it as quickly as possible and to handicap myself I decided to do it in a language that I had only little experience with at the time: <a href=https://clojure.org/>Clojure</a>.</p><h4 id=a-solution-in-clojure>A Solution in Clojure</h4><div class=row><div class=col-md-10><script src=https://gist.github.com/cacoco/5562510.js></script></div></div><p>Full project source available <a href=https://github.com/cacoco/fizzbuzz>on github</a>.</p></article></div><div id=push></div><div id=push></div><div class="bg-light py-5"><div class=container><div class=row><div class="col-md-6 text-center"><a class=pull-left href=/about/ title=About>« About</a></div><div class="col-md-6 text-center"><a class=pull-right href=/2012/08/01/apache-buildr-and-annotation-processing-for-aws-simple-workflow/ title="Next Post: Apache Buildr and Annotation Processing for Aws Simple Workflow">Apache Buildr and Annotation Processing for Aws Simple Workflow »</a></div></div></div></div></div><div id=push></div></div></body></html> | ||
<a class=text-muted href=/tags/clojure>#clojure</a></p><article class="article mt-5"><p><em>Birds do it. Bees do it. Even educated fleas do it. So let’s do it.</em></p><p>Ask any programmer these days and they’ve probably heard of it. <a href=https://weblog.raganwald.com/2007/01/dont-overthink-fizzbuzz.html>Fizzbuzz</a>.</p><h4 id=the-problem>The Problem</h4><p>Write a program that prints the numbers from 1 to 100. But for multiples of 3 print “Fizz” instead of the number and for the multiples of 5 print “Buzz”.<br>For numbers which are multiples of both three and five print “FizzBuzz”.</p><p>I came across (probably much later than most everyone else) Jeff Atwood’s post on <a href=https://www.codinghorror.com/blog/2007/02/why-cant-programmers-program.html>the Fizzbuzz problem</a> as it pertains to interviewing programmers. Naturally, like <a href=https://www.codinghorror.com/blog/2007/02/fizzbuzz-the-programmers-stairway-to-heaven.html>any other progammer</a> I set out to prove to myself that I could indeed write a Fizzbuzz. The challenge was to write it as quickly as possible and to handicap myself I decided to do it in a language that I had only little experience with at the time: <a href=https://clojure.org/>Clojure</a>.</p><h4 id=a-solution-in-clojure>A Solution in Clojure</h4><div class=row><div class=col-md-10><script src=https://gist.github.com/cacoco/5562510.js></script></div></div><p>Full project source available <a href=https://github.com/cacoco/fizzbuzz>on github</a>.</p></article></div><div id=push></div><div id=push></div><div class="bg-light py-5"><div class=container><div class=row><div class="col-md-6 text-center"><a class=pull-left href=/angstromio/ title>«</a></div><div class="col-md-6 text-center"><a class=pull-right href=/2012/08/01/apache-buildr-and-annotation-processing-for-aws-simple-workflow/ title="Next Post: Apache Buildr and Annotation Processing for Aws Simple Workflow">Apache Buildr and Annotation Processing for Aws Simple Workflow »</a></div></div></div></div></div><div id=push></div></div></body></html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!doctype html><html><head><title>Angstromios</title> | ||
<meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><link rel=icon href=/images/favicon.ico><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css integrity=sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3 crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js integrity=sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p crossorigin=anonymous></script><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css><style type=text/css>html,body{height:100%;padding-top:30px;padding-bottom:40px}.sidebar-nav{padding-left:18px}.navbar-right{padding-right:18px}#wrap{min-height:100%;height:auto!important;height:100%;margin:0 auto 0}#push,#footer{height:60px}#footer{background-color:#f5f5f5}.white,.white a{color:#fff}</style><link rel=alternate type=application/rss+xml href=https://angstrom.io/angstromio/index.xml title="life and code · in small doses"></head><body><div id=wrap><div class=container-fluid><div class=container><h1 class=text-center>Angstromio</h1><div class="row mt-2"><div class="d-none d-sm-block col-sm-2 mt-auto offset-sm-2 text-right"><time class=post-date datetime=0001-01-01T00:00:00Z>Jan 1, 0001</time></div><div class=col><a class=text-body href=/github/angstromio/angstromio-util/>ångströmio-util</a></div></div></div></div><div id=push></div></div></body></html> | ||
<!doctype html><html><head><title></title> | ||
<meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content><link rel=icon href=/images/favicon.ico><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css integrity=sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3 crossorigin=anonymous><script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js integrity=sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p crossorigin=anonymous></script><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css><style type=text/css>html,body{height:100%;padding-top:30px;padding-bottom:40px}.sidebar-nav{padding-left:18px}.navbar-right{padding-right:18px}#wrap{min-height:100%;height:auto!important;height:100%;margin:0 auto 0}#push,#footer{height:60px}#footer{background-color:#f5f5f5}.white,.white a{color:#fff}</style></head><body><div id=wrap><div class=container-fluid><div class=container><h1></h1><h1 id=atomimagesangstromio48png-ångstromiohttpsgithubcomangstromio><img src=../images/angstromio48.png alt=atom> <a href=https://github.com/angstromio>ångstromio</a></h1><h2 id=a-collection-of-kotlin-libraries>A collection of Kotlin libraries.</h2><h3 id=angstromio-utilshttpsgithubcomangstromioangstromio-util><a href=https://github.com/angstromio/angstromio-util>angstromio-utils</a></h3><p>A collection of Kotlin utilities.</p><h3 id=angstromio-validatorhttpsgithubcomangstromioangstromio-validator><a href=https://github.com/angstromio/angstromio-validator>angstromio-validator</a></h3><p>A Jakarta validator in Kotlin.</p><h3 id=angstromio-jsonhttpsgithubcomangstromioangstromio-json><a href=https://github.com/angstromio/angstromio-json>angstromio-json</a></h3><p>A “fail-slow” JSON deserializer for Kotlin data classes.</p><h3 id=angstromio-flagshttpsgithubcomangstromioangstromio-flags><a href=https://github.com/angstromio/angstromio-flags>angstromio-flags</a></h3><p>JVM applications flags which support arrays, maps, and JSON input.</p></div></div><div id=push></div></div></body></html> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.