
Harp, the static web server with built-in preprocessing CodeKit — THE Mac App For Web Developers lokesh/color-thief · GitHub GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live. Sass vs. LESS "Which CSS preprocessor language should I choose?" is a hot topic lately. I've been asked in person several times and an online debate has been popping up every few days it seems. It's nice that the conversation has largely turned from whether or not preprocessing is a good idea to which one language is best. Let's do this thing. Really short answer: Sass Slightly longer answer: Sass is better on a whole bunch of different fronts, but if you are already happy in LESS, that's cool, at least you are doing yourself a favor by preprocessing. Much longer answer: Read on. The Much Longer Answer The Learning Curve with Ruby and Command Line and Whatever The only learning curve is the syntax. Winner: Nobody Helping with CSS3 With either language, you can write your own mixins to help with vendor prefixes. In Sass, you can use Compass, and Compass will keep itself updated, and thus the prefix situation is handled for you. In LESS, there are also some mixin libraries battling to be the best. See that?
Michael Fields » Bookmark This! Earlier today I posted that I was thinking about creating a Chrome extension which would allow me to easily add new sites to my bookmarks section. My friend Devin responded asking if I knew about the Press This functionality. Although I was in fact aware of Press This, I had to admit that I’ve never actually used it before so I gave it a try. How Press This Works If you log into WordPress and navigate to Settings -> Writing you will find a heading for “Press This” which instructs you to drag a link into the bookmarks bar in your browser. The title tag of the html document is inserted as the value of the post title.If any text was selected, it is inserted into the content boxA link to the document is appended to the content box. What I Need to Do I need to create a bookmark and not a post.I need to automatically set the title.I need all custom taxonomies to display.I need to set the name and value of a custom field. Post Title The post title can be injected by setting a value to .
Passer au statique : 5 raisons de tester la JAMstack sur votre prochain projet · Jamstatic Article original : Go static: 5 reasons to try JAMstack on your next project de Tom Bennet Adopter une stack de développement Web moderne pour pouvoir générer des sites statiques présente bien des avantages et Tom Bennet en a listé cinq des principaux. Si vous n’aviez encore jamais entendu parlé de la JAMstack, cet article donne un aperçu global du processus et de l’écosystème actuel ainsi que des gains engendrés. Vous trouverez également des lectures pour approfondir votre connaissance sur le sujet. Que ce soit pour mettre en place un blog, configurer un site de e-commerce ou développer une single page application en JavaScript, le temps où on se rabattait par défaut sur WordPress pour tout ou presque est révolu. Avant d’expliquer plus en détail pourquoi, commençons déjà par regarder de quoi on parle. JAMstack et développement statique Le terme JAMstack désigne la stack JavaScript, APIs et Markup et une manière de construire des sites Web statiques sans base de données. 1. 2. 3. 4. 5.
Passing page url into a custom field via the Press-This bookmarklet - WordPress Build A Blog With Jekyll And GitHub Pages Color Palettes with the Options Framework | WP Theming I recently collaborated on a project with Brian Casel, another WordPress developer, who wanted options for selecting preset color palettes in the Options Framework. The idea is that a user could choose a color palette (light,dark,vibrant) from a select box or image radio button- and all the color pickers would fill with those presets. The user could then override any of those preset colors if they choose. View on Screenr: Load the Javascript In order to have an option like this you actually don’t have to hack the Options Framework plugin at all, you just need to hook in a little javascript for the options page to use. If you want to display the code inline, you can use this hook: If you have a lot of scripts, it might be better to put them all in a single javascript file and enqueue that: If you are using theme version rather than the plugin version, you can just add the new javascript to options-custom.js. The Options Let’s keep it simple. Javascript That’s It
Hakyll - Home Static sites are fast, secure, easy to deploy, and manageable using version control. Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration. Integration with pandoc gives us markdown and TeX support, including syntax highlighting and other goodies. Write your content in whatever format you prefer Create compilation rules in a Haskell EDSL Compile it to HTML and upload it! You can get the latest version from hackage using cabal install hakyll, or using stack by using stack install hakyll. read the tutorials;mail the google discussion group;ask questions on the IRC channel: #hakyll on freenode.