tailwindcss
References:
| [{:title ":clojureD 2020", | |
| :id "PLaSn8eiZ631lrDFmUTBH9LFGzAxc3tvU4", | |
| :items | |
| ({:title | |
| "clojureD 2020: Lightning Talks by Mikkel Gravgaard, Daniel Slutsky, Daniel Janus and Arne Brasseur", | |
| :id "fVtawjGbvOQ", | |
| :duration "1363"} | |
| {:title | |
| "clojureD 2020: \"From Lazy Lisper to Confident Clojurist\" by Alexander Oloo", | |
| :id "j57UbYFbI-U", |
tailwindcss
References:
#GNU Screen Cheat Sheet
##Basics
| (defn nth' [coll n] | |
| (transduce (drop n) (completing #(reduced %2)) nil coll)) | |
| (defn tree-seq' | |
| [branch? children root] | |
| (eduction (take-while some?) (map first) | |
| (iterate (fn [[node pair]] | |
| (when-some [[[node' & r] cont] (if (branch? node) | |
| (if-some [cs (not-empty (children node))] | |
| [cs pair] |
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
| using UnityEngine; | |
| using UnityEngine.UI; | |
| /* | |
| Radial Layout Group by Just a Pixel (Danny Goodayle) - http://www.justapixel.co.uk | |
| Copyright (c) 2015 | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |