background preloader

ArtShowOS

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. 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.

Floated elements must also be cleared, often requiring unnecessary elements to be added to the page. Flash QRcode reader as3 – kasperkamperman.com : 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 – kasperkamperman.com : creative media technology

It works BRILLIANTLY and VERY fast. 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. 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.

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, Weather.com 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

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. 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. 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 urls.py 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: username.

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. Jespern / django-piston / wiki / Home – Bitbucket. PDF Toolkit documentation — reportlab v2.4 documentation. Navigation. Configuring other mail clients - Gmail Help. Gmail and Django - ltslashgt. Did a bit of running around today to get Django sending email via Gmail.

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. Filter to generate QR codes. ‪Full Django Tutorial Playlist‬‏ Welcome to YouTube! The location filter shows you popular videos from the selected country or region on lists like Most Viewed and in search results.To change your location filter, please use the links in the footer at the bottom of the page. A Detailed Django Tutorial: Blog Basics Part IV. Model instance reference. A few object methods have special purposes.

Sending e-mail. 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. Musicmetric – professional music analytics. Plymbas7 - Home of the British Art Show 7 in Plymouth. Plymouth City Council - Plymouth Visual Arts Consortium. Plymouth Visual Arts. Include captchas from recaptcha.net.