Created
June 24, 2011 14:42
-
-
Save timvisher/1044912 to your computer and use it in GitHub Desktop.
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
wallpaper-manager-core.core> (first (map #(assoc % :imported-at (time-coerce/to-long (:imported-at %))) (map #(assoc % :imported-at (time-coerce/from-long (fs/mtime (wallpaper->thumbnail-path %)))) (read-string (slurp (str preferences-home "/library.clj")))))) | |
{:imported-at 1308914971000, :thumbnail-resolution {:extension "png", :width 1920, :height 1200}, :source "upload", :title "wallpaper-1130627", :tags #{"1440x900" "1920x1200" "16:10" "1280x800"}, :resolutions #{{:extension "png", :width 1920, :height 1200} {:extension "png", :width 1440, :height 900} {:extension "png", :width 1280, :height 800}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment