background preloader


Facebook Twitter

Tech Tip: Really Simple HTTP Server with Python. If you need a quick web server running and you don't want to mess with setting up apache or something similar, then Python can help.

Tech Tip: Really Simple HTTP Server with Python

Python comes with a simple builtin HTTP server. With the help of this little HTTP server you can turn any directory in your system into your web server directory. The only thing you need to have installed is Python. Practically speaking this is very useful to share files inside your local network. Implementing this tiny but hugely useful HTTP server is very simple, its just a single line command. Assume that I would like to share the directory /home/hisam and my IP address is Instagram Cofounder: Here's How We Scaled Into A Billion Dollar Company [DECK] #plymbas7. Using JavaScript and forms. Javascript wears many hats.

Using JavaScript and forms

You can use JavaScript to create special effects. You can use JavaScript to make your HTML pages "smarter" by exploiting its decision-making capabilities. And you can use JavaScript to enhance HTML forms. This last application is of particular importance. Of all the hats JavaScript can wear, its form processing features are among the most sought and used. Clean and pure CSS FORM design. LESS « The Dynamic Stylesheet language. Nom de Strip - Arts & Culture Plymouth. The Semantic Grid System: Page Layout For Tomorrow - Smashing Magazine.

Advertisement CSS grid frameworks can make your life easier, but they’re not without their faults.

The Semantic Grid System: Page Layout For Tomorrow - Smashing Magazine

Fortunately for us, modern techniques offer a new approach to constructing page layouts. But before getting to the solution, we must first understand the three seemingly insurmountable flaws currently affecting CSS grids. Problems Problem #1: They’re Not Semantic The biggest complaint I’ve heard from purists since I created The 1KB CSS Grid two years ago is that CSS grid systems don’t allow for a proper separation of mark-up and presentation.

Flash QRcode reader as3 – : creative media technology. [update] Paul Hinrichsen pointed me to a new implementation of a QRCode Reader (Adobe Native Extension) build by Sbhave.

Flash QRcode reader as3 – : creative media technology

It works BRILLIANTLY and VERY fast. It is built for Flex but there is also a build for Flash CS6 which is easy to set up. A native extension is really fast code (mostly c++, with a Actionscript API). More info in this discussion: Google code project page: QRcode reader implementation that uses the QRCode Reader by Logosware (Libspark project). URL dispatcher. A clean, elegant URL scheme is an important detail in a high-quality Web application.

URL dispatcher

Django lets you design URLs however you want, with no framework limitations. There’s no .php or .cgi required, and certainly none of that 0,2097,1-1-1928,00 nonsense. See Cool URIs don’t change, by World Wide Web creator Tim Berners-Lee, for excellent arguments on why URLs should be clean and usable. Overview. Top 10 Mobile Web Development JavaScript Frameworks. By Jacob Gube Creating web apps and sites for the Mobile Web has its own sets of challenges and techniques.

Top 10 Mobile Web Development JavaScript Frameworks

From UIs optimized for fingers instead of mouse cursors to the bandwidth limitations that most portable personal devices have, developing for mobile devices requires a paradigm shift for those of us who’ve traditionally created products aimed at desktops. To help you rapidly deploy cross-platform mobile apps and websites, there’s a wide range of JavaScript frameworks you can take advantage of. Some common characteristics of JavaScript mobile web development frameworks: Optimized for touchscreen devices: Fingers as input devices instead of mouse cursors provide an extra set of challenges in user interface design. In this article, you’ll find my top picks of JavaScript mobile web development frameworks you should consider using to build your next mobile web app or website.

Python-weather-api - A python wrapper around the Yahoo! Weather, Google Weather and NOAA APIs. The module provides a python wrapper around the Yahoo!

python-weather-api - A python wrapper around the Yahoo! Weather, Google Weather and NOAA APIs

Weather, and NOAA APIs. Python-twitter - A python wrapper around the Twitter API. GitHub is now the "source of truth" but I will always try to update to this project page.

python-twitter - A python wrapper around the Twitter API

A Python wrapper around the Twitter API Author: The Python-Twitter Developers <> Introduction This library provides a pure Python interface for the Twitter API. Twitter ( provides a service that allows people to connect via the web, IM, and SMS. Building. Prettier Accessible Forms. It can be time consuming to make web forms both pretty and accessible.

Prettier Accessible Forms

In particular, laying out forms where the form label and input are horizontally adjacent, as in the image below, can be a real problem. We used to use tables, which worked well in this scenario—but forms don’t constitute tabular data, so it’s a semantic faux pas Article Continues Below I’ve tried to create a form-styling solution that is both accessible and portable (in the sense that I can move the code from one project to the next). Best CSS Forms. CSS has transformed the way forms used to get designed.

Best CSS Forms

CSS helps you make really good and attractive forms. Prior to this (CSS) the forms found on the web were very boring and were not able to attract a lot of visitors. What are you working on? Django tips: laying out an application. Continuing the theme of dealing with common questions from the Django mailing lists and IRC channel, today we’ll look at how to organize the various bits of a Django-based project or application. Projects versus applications This is really more of a separate (though related) question, but understanding the distinction Django draws between a “project” and an “application” is a big part of good code layout. Roughly speaking, this is what the two terms mean: An application tries to provide a single, relatively self-contained set of related functions.

An application is allowed to define a set of models (though it doesn’t have to) and to define and register custom template tags and filters (though, again, it doesn’t have to). A Simple Step-by-Step Reportlab Tutorial. The subtitle for this article could easily be “How To Create PDFs with Python”, but WordPress doesn’t support that. Anyway, the premier PDF library in Python is Reportlab. It is not distributed with that standard library, so you’ll need to download it if you want to run the examples in this tutorial. There will also be at least one example of how to put an image into a PDF, which means you’ll also need the Python Imaging Library (PIL). As I understand it, Reportlab is compatible with Python 2.x, IronPython and Jython.

(full) easy authentication, using django.contrib.auth (end) 7. Templates are here, ordered as in provided in the previous post: - accounts/base.html <html><head></head><body> {% block content %} {% endblock %} </body></html> Ubernostrum / django-registration / source – Bitbucket. Several form classes are provided with django-registration, covering common cases for gathering account information and implementing common constraints for user registration.

These forms were designed with django-registration's in mind, but may also be useful in other situations. A simple form for registering an account. Has the following fields, all of which are required: User authentication in Django. Django comes with a user authentication system. It handles user accounts, groups, permissions and cookie-based user sessions. This section of the documentation explains how the default implementation works out of the box, as well as how to extend and customize it to suit your project’s needs.

Overview. Django Tutorial: A Simple Forum - Part III - Django by Example. It’s good to have a forum of your own, post new topics, reply to oneself, start flamewars. All of that is great, but what if.. you would like other users to be able to participate, as well? Jespern / django-piston / wiki / Home – Bitbucket. PDF Toolkit documentation — reportlab v2.4 documentation. Navigation. Configuring other mail clients - Gmail Help. Google Apps-gebruikers moeten de standaardinstructies volgen tenzij anders aangegeven, waarbij '' moet worden vervangen door de feitelijke domeinnaam. Gmail and Django - ltslashgt. Web Design Video and Development Tutorial Library // Think Vitamin Membership.

Custom template tags and filters. Django’s template system comes with a wide variety of built-in tags and filters designed to address the presentation logic needs of your application. Nevertheless, you may find yourself needing functionality that is not covered by the core set of template primitives. You can extend the template engine by defining custom tags and filters using Python, and then make them available to your templates using the {% load %} tag.

Code layout. Outputting PDFs with Django. This document explains how to output PDF files dynamically using Django views. Filter to generate QR codes. ‪Full Django Tutorial Playlist‬‏ A Detailed Django Tutorial: Blog Basics Part IV. This is the last part of this 4 part series by Jeff Hui. If you wish, you can download the entire tutorial without having it split up. Model instance reference. A few object methods have special purposes. __unicode__ Model. Sending e-mail. Although Python makes sending e-mail relatively easy via the smtplib library, Django provides a couple of light wrappers over it. Ethnography. ArtTheoryMap20100905103543-llfocrmsjlrckoy.png (1800×872) Git Book - Basic Branching and Merging. Django documentation. Serving Static Content With Django. Django Packages : django reusable apps, sites and tools directory.

An ultimate HTML5 cheatsheet you must have. Table of Contents. Semantics. Web Forms. Writing your first Django app, part 4. Humans TXT: We Are People, Not Machines. Plymbas7 - Home of the British Art Show 7 in Plymouth. Plymouth City Council - Plymouth Visual Arts Consortium. Plymouth Visual Arts. Include captchas from