background preloader



jkbr/httpie Fancybox - Fancy jQuery lightbox alternative Beginner’s Guide to Responsive Web Design Whether you’re a beginner or a seasoned web professional, creating responsive designs can be confusing at first, mostly because of the radical change in thinking that’s required. As time goes on, responsive web design is drifting away from the pool of passing fads and rapidly entering the realm of standard practice. In fact, the magnitude of this paradigm shift feels as fundamental as the transition from table based layouts to CSS. Simply put, this is a very different way of designing websites and it represents the future. Free trial on Treehouse: Do you want to learn more about responsive web design? Over the past year, responsive design has become quite the hot topic in the web design community. What is responsive design? Let’s just get right into it: Believe it or not, the Treehouse blog that you’re reading this article on is actually a responsive design! It’s hard to talk about responsive design without mentioning its creator, Ethan Marcotte. So, what is responsive design exactly?

Crawl a website with scrapy - * In this article, we are going to see how to scrape information from a website, in particular, from all pages with a common URL pattern. We will see how to do that with Scrapy, a very powerful, and yet simple, scraping and web-crawling framework. For example, you might be interested in scraping information about each article of a blog, and store it information in a database. To achieve such a thing, we will see how to implement a simple spider using Scrapy, which will crawl the blog and store the extracted data into a MongoDB database. We will consider that you have a working MongoDB server, and that you have installed the pymongo and scrapy python packages, both installable with pip. If you have never toyed around with Scrapy, you should first read this short tutorial. In this example, we’ll see how to extract the following information from each blogpost : title author tag release date url We’re lucky, all posts have the same URL pattern:

jQuery Smooth Touch Scroll - the smooth touch scrolling jQuery plugin - Thomas Kahn Manipulando a metatag Viewport O viewport é a área onde seu website aparece. É a área que você se preocupa se o vai ou não caber na hora da criação. O tamanho do viewport depende muito da resolução, tamanho do monitor e dispositivo utilizado. Em máquinas desktop nós não precisamos nos preocupar muito, já estamos acostumados com um determinado tamanho de tela e resolução média utilizada pelos usuários, que hoje gira em torno de no mínimo 1024 de largura. Mas quando começamos a variar muito o tamanho das telas, a largura do viewport começa a ser uma preocupação porque afeta diretamente a forma como o usuário utiliza seu website. Hoje existe uma gama muito grande de aparelhos com telas de tamanhos variados. Isso é interessante porque possibilita a boa visualização de websites que não estão preparados para mobiles. A tag meta viewport Mesmo assim os smartphones tem telas pequenas podem dificultar a leitura se fizermos um sistema planejado para grandes resoluções. Os valores de content são os que seguem abaixo: Como usar

Tutorial ( Other languages : chinese 简体中文 | français | Bahasa Indonesia | ... Summary Starting So you know Python and want to make a website. provides the code to make that easy. If you want to do the whole tutorial, you'll need to have installed Python,, flup, psycopg2, and Postgres (or equivalent database and Python driver). Let's get started. URL Handling The most important part of any website is its URL structure. To get started with your application, open up a new text file (let's call it and type: import web This imports the module. Now we need to tell our URL structure. urls = ( '/', 'index' ) The first part is a regular expressions that matches a URL, like /, /help/faq, /item/(\d+), etc. This line says we want the URL / (i.e. the front page) to be handled by the class named index. GET and POST: the difference Now we need to write the index class. GET is the one we're all familiar with, the one used to request the text of a web page. Start the server Forms

Fancy jQuery lightbox alternative| How to use 1. First, make sure you are using valid DOCTYPE This is required for FancyBox to look and function correctly. 2. Loading jQuery from CDN (Content Delivery Network) is recommended Optional - Add transitions as jQuery by default supports only "swing" and "linear" Optional - Enable "mouse-wheel" to navigate throught gallery items 3. Don`t forget to change background image paths if CSS file is not in the same directory. Also, check src paths for AlphaImageLoader as they are relative to the HTML document, while regular CSS background images are relative to the CSS document (read more). 4. Images Inline content <a id="inline" href="#data">This shows content of element who has id="data"</a><div style="display:none"><div id="data">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Iframe <a href=" Ajax <a href=" takes content using ajax</a> Optional - Use the title attribute for anchors if you want to show a caption 5. Sample examples:

Pyramid Single File Tasks Tutorial — The Pyramid Tutorials v0.1 This tutorial is intended to provide you with a feel of how a Pyramid web application is created. The tutorial is very short, and focuses on the creation of a minimal todo list application using common idioms. For brevity, the tutorial uses a “single-file” application development approach instead of the more complex (but more common) “scaffolds” described in the main Pyramid documentation. At the end of the tutorial, you’ll have a minimal application which: provides views to list, insert and close tasksuses route patterns to match your URLs to view code functionsuses Mako Templates to render your viewsstores data in an SQLite database Here’s a screenshot of the final application: Step 1 - Organizing The Project Note For help getting Pyramid set up, try the install guide. To use Mako templates you need to install the pyramid_mako add-on as indicated here. In short, you’ll need to have both the pyramid and pyramid_mako packages installed. /tasks /static /templates Step 2 - Application Setup

Concevoir un portfolio responsive avec filtre via Isotope.js sous WordPress Un thème premium qui se respecte comporte des modèles de pages de type portfolio, très utile pour mettre en valeur vos créations artistiques notamment. La plupart d’entre eux sont dotés d’un système de filtre basé sur les termes d’une taxonomie spécialement créée pour l’occasion et le redimensionnement de la fenêtre réajuste automatiquement les éléments avec une transition en CSS3. Ce tutoriel va vous apprendre comment mettre en place un tel système sous WordPress et sans avoir recours à un plugin. Avant-propos Ce tutoriel est réservé à des utilisateurs avertis. Elle requiert de multiples connaissances de base en termes d’intégration, de développement Web et plus. Résultat final / démonstration Une démonstration est disponible sur mon site Neticpro et une variante sur le site de ddesign. Les sites ayant subi une refonte, seules les captures d’écran ci-dessous illustrent le propos. Étape n°1 – Création du custom post type ‘Portfolio’ Étape n°2 – Création de la taxonomie personnalisée ‘Type’ <?

TodoMVC dstufft/slumber