
Creating ePub files with Pages ePub is an open ebook standard produced by the International Digital Publishing Forum. Pages ’09 lets you export your documents in ePub format for reading with iBooks on iPhone, iPad, or iPod touch. iBooks supports both ePub and PDF file formats, and you can export both from Pages. When to use ePub or PDF Use ePub when text is the most important part of your document, for example when you create a book, a report, a paper, a thesis, or classroom reading material. Optimized for iBooks features such as changes in text size, font, and orientation (rotating your device between landscape or portrait). Use PDF when layout is the most important part of your document, for example when you create a brochure, a flyer, or a manual with multiple illustrations. Preserves all content, formatting, and fonts as you intended. Creating an ePub Document to Read in iBooks Preparing an existing Pages document for export to ePub format Exporting your document to ePub format Choose Share > Export.
Zero downtime Clojure deployments We’re heavily into microservices at uSwitch, with many of them being Clojure Ring applications, and our infrastructure is hosted on Amazon AWS. One of the advantages of microservices is that horizontal scaling, especially with EC2 hosting them, is simple: add more machines! Unfortunately the use of Clojure, or more specifically the requirement of the JVM and the associated poor startup performance, means that deployments can take an unreasonable amount of time. To resolve this we run a remove-upgrade-add style of deployment: a host machine is removed from the corresponding ELB; the service is upgraded; then the machine is returned to the ELB. So upgrading a service for us, at the moment, goes something like this: The steps of this system are: Although this works in the majority of cases we’ve been unhappy with this as a solution for several reasons: The hack day was about trying to create a deployment system more like this: The steps of this are: The service The infrastructure #!
Ebook Formatting Templates for EPUB and Kindle- Unruly Guides Step-by-Step Videos and Tutorials SIGIL WYSIWYG Ebook Editor Program Download SIGIL DIY eBook Formatting Kit 3.1 (Feb 2012) Preparation NEW! Watch them sequentially or separately PLAY ALL OR WATCH INDIVIDUALLY: (2010-2012) Step-by-Step Tutorial (Sigil 5.3) These videos of Sigil 4.9 – 5.3 are still useful, although some features may have been depreciated or moved in newer updates of the Sigil program. How to Create a Linkable Table of Contents for Kindle** Although this is intended for one HTML file for Kindle publishing, the basics of coding can ALSO be used with the new Formatting Kit 3.0; if you have questions, please feel free to contact me. Ebook Covers Understanding Transducers What are transducers? Using transducers is easy enough—but how do they work underneath the hood? This article explores transducers by ignoring transducers. Instead we will examine two ordinary functions, map and filter. We'll play with them and scrutinize them. And since we ignore transducers, you won't need to know what transducers are to follow along. Lastly, I encourage you to type these examples into your REPL, or use clojurescript.net. Power of reduce You are probably familiar with map and filter, and know that we can combine them together, like this: (map inc (range 10)); ⇒ (1 2 3 4 5 6 7 8 9 10) (filter even? A key insight, however, is that map and filter can be defined using reduce. (defn map-inc-reducer [result input] (conj result (inc input))) (reduce map-inc-reducer [] (range 10)); ⇒ [1 2 3 4 5 6 7 8 9 10] But note map-inc-reducer's explicit use of inc as its transformer. Let's also implement the expression (filter even? (defn filter-even-reducer [result input] (if (even?
Creating an ePub Book Using Pages - How to Make the eBook Cover Look Good About a month ago, I attended the ISTE 2011 Conference in Philadelphia, where I led one workshop on the iPad and later collaborated with four other Apple Distinguished Educators (ADEs) on another workshop. The topic of this second workshop was using Apple’s Pages word processing and page layout program to create ePub files. That is, eBooks in the ePub format. Last week, I participated in the Apple Distinguished Educators Summer Institute in Phoenix, AZ. The ADE Summer Institute is five days of intensive professional development and camaraderie with some of the best educators you’ll find anywhere. The topic of ePub book covers came up in our team meeting as we designed a sample ePub resource. When you export from Pages for ePub, you check an option to use the first page contents as the cover. I designed a simple cover for the book using Pixelmator on the Mac. Apple’s guidelines for ePubs tell us to only use inline images. 1.
quil/quil 3D PageFlip for ePub - Convert EPUB to 3D Flash FlippingBook. [3dpageflip.com] 3D PageFlip for ePub aimed at electronic book (eBook) users who is looking for a quick, easy, and efficient way to convert EPUB to online flash format , 3D PageFlip for ePub Converter makes it possible to view EPUB files online (3D Book) by converting them to 3D Flash Flip Book (eBook) format. With 3D PageFlip for ePub, EPUB to page turn book conversion software can be accomplished in just 2 steps: Drag and drop files to application and Hit "Convert"! Converted output in Flash format allows you to share the EPUB on a webpage or distribute it through CD. Another amazing feature of 3D PageFlip for ePub is that it allows you to create Adobe Flash based 3D Page Flipping Book (eBook) within seconds. The pages turn with the option of rolling the entire book in three dimensions, and this induces a feeling in users as if they are holding an actual book in their hands. Publish Online and offline Make the publications more flexible and run it on more devices like iPhone, iPad, and Android devices.
bbatsov/clojure-style-guide HandBrake 0.9.5 Update: A patch release for the WinGui has been uploaded that fixes a few of the more annoying issues caused by the GUI re-write. If your not having problems, there isn't any need to upgrade, but if you've seen issues, try the new build. The core engine is still 0.9.9 HandBrake 0.9.9 General Improved HandBrake pineapple icon by Matt Johnson Improved Retina-resolution icons within the application, by Nik Pawlak ​ Core Windows User Interface has been re-written in WPF Includes many small UI enhancements Switched to .NET 4 Client Profile smaller download for those who don't have .NET 4 Full installed Mac Assorted bug fixes including better support for Retina displays Prevent sleep during encoding and scanning for Mountain Lion Drag & Drop files onto the Main window or application icon to scan Nicer progress indication on the dock icon Preview window improvements and bugfixes Updated Growl to 2.0.1 Notification Center support (when Growl is not installed) Linux
Pinholes - Idiomatic Clojure Lenses - podsnap Lenses are a construct for getting, "setting" or "modifying" values within data structures, especially deeply nested data structures. The quotation marks have the usual meaning when they show up in funktionsprache: not mutating anything per se, but instead producing an object, or reference thereto, that is identical except for the requested change. In Scala, the need for lenses is pretty glaring, as illustrated in Eugene Yokota's great explanation of lenses in Scalaz, because of the centrality of case classes. In his example problem, a turtle is represented with three case classes: case class Point(x: Double, y: Double) case class Color(r: Byte, g: Byte, b: Byte) case class Turtle(position: Point, heading: Double, color: Color) val t = Turtle(Point(2.0, 3.0), 0.0, Color(255.toByte, 255.toByte, 255.toByte)) // t: Turtle = Turtle(Point(2.0,3.0),0.0,Color(-1,-1,-1)) This is lovely, but if you wanted to change just the x position, you'd have to write t.copy(position=t.position.copy(x=42.0))
Fulltext Embedded Fonts in ePub for iBooks Up until now, community opinion has been that iBooks on the iPad doesnotsupportembeddedfonts. It turns out that this is wrong. Not only is it possible to typeset entire books using embedded svg fonts in iBooks, it's actually fairly easy. Example First, a demonstration of my solution: A Scandal in Bohemia (ePub, 927 KB). Here's a screenshot of the first page in iBooks: The font used in the demo is Sorts Mill Goudy by Barry Schwartz, an open font available from The League of Moveable Type. Method So, how does this work? Embed your font using FontSquirrel's @font-face kit generator to create an svg font package. Difficulties Of course, there are still some problems: This technique is really slow. I suspect that this happens when the line turns out to be a bit too long, but I'm not entirely sure. [edit] This post is primarily about answering the question "Is it possible to embed fonts in iBooks?" Acknowledgements & References Credit where credit is due.
Dockerizing a Clojure Application Dockerizing a Clojure Application Over the last few years, the software development community has been undergoing a lot of transformation. There’s a tug of war in progress across our entire community; while our languages and tools are getting faster, simpler, sharper, the problems we face grow ever larger and more complex. We tackle a lot of the complexity in how we build our applications. This is where things get really complicated. Docker is one such sharp tool. Cloud, meet Immutability If you haven’t heard, Docker is a tool for containerizing applications, such that they can be run on any host–laptop, cloud provider, or otherwise. All of this is well and good, but how can you Dockerize your own Clojure applications? Create a Dockerfile for your application. Learn more about Docker You can learn more about Docker itself on its website, or take a deeper dive in its docs. A Basic Dockerfile With that said, here is a basic Dockerfile for a Clojure application: The play by play: A Runnable JAR
iLearn - W3C Member - Curso de Web Standards, Web Designer no Rio de Janeiro, Padrões Web, HTML5, CSS, XHTML, iPhone, iPad, Tableless, WebMaster, Actionscript, PHP, Flash, Web Designer, Marketing Digital etc - Tel: 21 2557-3810 Replacing shell scripts with Clojure+JamVM - Max Gonzih We all hate shell scripting. Scripts are annoyingly hard to debug, test and verify. Would be lovely, to use some kind of lisp for scripting, right? To do interactive development with repl in your favorite editor. First what we will need is to get clojure jar file: Next lets create executable that will live in /usr/bin (or /opt/bin or /home/youruser/bin): And now it’s time for our hello world script: Make it executable: And run it: Yay! 2 seconds startup time, not really suitable for scripting, right? “But… but you told us that there is only JVM available on production system without ability to add external dependencies.” I lied, sorry. Compiling JamVM with OpenJDK support: JamVM will be installed as separate vm in openjdk, so it will not mess with existing installation. Let’s update our clojure executable: Let’s try it out: Better, right? How slow is JamVM? Much slower, but if you think about it shell scripting most of the time is about executing external commands, IO and data filtering.