更新: | 2024-10-08 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
概要
(def prime-numbers | |
((fn f [x] | |
(cons x | |
(lazy-seq | |
(f (first | |
(drop-while | |
(fn [n] | |
(some #(zero? (mod n %)) | |
(take-while #(<= (* % %) n) prime-numbers))) | |
(iterate inc (inc x)))))))) |
更新: | 2024-10-08 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
概要
// Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
// | |
// This is a hack to fill the gap between 480 and 767 pixels - a missing range | |
// in the bootstrap responsive grid structure. Use these classes to style pages | |
// on cellphones when they transition from portrait to landscape. | |
// | |
// Contains: | |
// Columns, Offsets, Pushes, Pulls for the Mid-Small layout | |
// Visibility classes for the Mid-Small layout | |
// Redefined visibility classes for the Extra Small layout |
module Jekyll | |
class CategoryAwareNextGenerator < Generator | |
safe true | |
priority :high | |
def generate(site) | |
site.categories.each_pair do |category_name, posts| | |
posts.sort! { |a, b| b <=> a } |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;
set listOfNames to {} | |
set theFolder to choose folder "Select the source folder" | |
tell application "Finder" | |
set filelist to every file of the folder theFolder | |
repeat with currentFile in filelist | |
set currentFileName to (the name of currentFile) | |
set nom to currentFileName | |
if text -4 of nom is "." then | |
set currentFileName to (text 1 thru -5 of nom) |