background preloader

WEB technics

Facebook Twitter

PrettyPhoto. Heroku Add-ons. Build a Website. Ace - The High Performance Code Editor for the Web. Creating a new syntax highlighter for Ace is extremly simple. You'll need to define two pieces of code: a new mode, and a new set of highlighting rules. Where to Start We recommend using the the Ace Mode Creator when defining your highlighter. This allows you to inspect your code's tokens, as well as providing a live preview of the syntax highlighter in action. Defining a Mode Every language needs a mode. Here is the starter template we'll use to create a new mode: define(function(require, exports, module) { "use strict"; var oop = require(".. var TextMode = require(". var Tokenizer = require(".. var MatchingBraceOutdent = require(". var MyNewHighlightRules = require(". var MyNewFoldMode = require(". var Mode = function() { this.HighlightRules = MyNewHighlightRules; this. this.foldingRules = new MyNewFoldMode(); oop.inherits(Mode, TextMode); (function() { this.lineCommentStart = "//"; this.getNextLineIndent = function(state, line, tab) { var indent = this. return indent; return this. this. return worker; this.

About Babylonstoren | Cape Winelands Accommodation. Babylonstoren is one of the best preserved werfs (farm yards) in the Cape Dutch tradition. Not only the manor house from 1777, but pioneer structures all the way back to the founding of the farm in 1690. The Koornhuis (for storing wheat and hay) and the old cellar are exceptionally fine. An ornate fowl house, pigeon loft, leaning bell tower and historic gates embellish a traditional courtyard surrounded by a low, whitewashed wall. The Drakenstein Valley was inhabited by nomadic Khoisan communities for tens of centuries. In 1692, when the borders of the Cape Colony expanded after the arrival of French Huguenots, the farm was granted by Governor Simon van der Stel to the burger Pieter van der Byl.

Cape Dutch architecture is named for the style of the 17th and 18th century Cape of Good Hope. Internationalization (i18n) Scaron/prettyphoto. jQuery lightbox for images, videos, YouTube, iframes, ajax. Gryphn | Mobile Security & Privacy. Detector [BETA] - combined browser- & feature-detection for your app. Jetstrap - The Bootstrap Interface Builder. Foundation: Grid System. Responsive. WebP. WebP is a modern image format that provides superior lossless and lossy compression for images on the web.

Using WebP, webmasters and web developers can create smaller, richer images that make the web faster. WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy images are 25-34% smaller than comparable JPEG images at equivalent SSIM quality index. Lossless WebP supports transparency (also known as alpha channel) at a cost of just 22% additional bytes. Lossy, lossless and transparency are all supported in animated WebP images, which can provide reduced sizes compared to GIF and APNG. More Info for Webmasters How WebP Works Lossy WebP compression uses predictive coding to encode an image, the same method used by the VP8 video codec to compress keyframes in videos. Lossless WebP compression uses already seen image fragments in order to exactly reconstruct new pixels. WebP Compression Techniques in Detail WebP Support WebP Converter Download. Webmaker — mozilla.org. Alertify.js - browser dialogs never looked so good.

Unfortunately, I will no longer be maintaining alertify.js. I have many ongoing projects that aren't leaving me with enough time to do what needs to be done. If anyone wants to create a fork and maintain - by all means go for it! It's been great seeing people use it and enjoy it and this decision is simply because I don't believe it's fair that developers are looking for help and not getting it. I wish I had more time or contributions to keep it going and make it better, but the sad reality is that not usually the case on these kinds of projects.

Forks I will be updating this site to list forks of alertify.js. Xoxco/awarejs. Gator - Simple Event Delegation in Javascript. KineticJS HTML5 Canvas Framework. Collie - High Performance Animation Library for Javascript. jQuery.Shapeshift Demo. What is Shapeshift? Inspired heavily by the jQuery Masonry plugin, Shapeshift is a plugin which will dynamically arrange a collection of elements into a column grid system similar to Pinterest.

What sets it apart is the ability to drag and drop items within the grid while still maintaining a logical index position for each item. This allows for the grid to be rendered exactly the same every time Shapeshift is used, as long as the child elements are in the correct order. Function > Form Shapeshift was designed to always render the same grid as long as the elements are in the same order. Features Column Grid System: All items flow from left to right, top to bottom. AngularStrap - Bootstrap directives for Angular. AngularJS — Superheroic JavaScript MVW Framework. Robots.txt Specifications - Webmasters. Abstract This document details how Google handles the robots.txt file that allows you to control how Google's website crawlers crawl and index publicly accessible websites. Back to top Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Basic definitions crawler: A crawler is a service or agent that crawls websites. Generally speaking, a crawler automatically and recursively accesses known URLs of a host that exposes content which can be accessed with standard web-browsers. Applicability The guidelines set forth in this document are followed by all automated crawlers at Google. File location & range of validity The robots.txt file must be in the top-level directory of the host, accessible though the appropriate protocol and port number. Google-specific: Google also accepts and follows robots.txt files for FTP sites. 2xx (successful) Email Marketing Software - YMLP. Tangle: Getting Started. Getting Started Tangle lets you write documents that change. Let's say you're writing an article about dieting, and want to discuss the calorie content of various foods.

You might write the following. When you eat 3 cookies, you consume 150 calories. That's 7% of your recommended daily calories. That's a true statement, but it only applies directly to those few readers who eat 3 cookies a day. Most of your readers eat more or less. When you eat 3 drag cookies, you consume 150 calories. Let's see how to write this example. Variables We start by identifying the variables — those parts of the statement that need to change. When you eat 3 cookies, you consume 150 calories. We'll call these variables cookies, calories, and dailyPercent respectively.

Now, let's look at the HTML for the statement. <p>When you eat 3 cookies, you consume <b>150 calories</b>. Data-var Let's start with the "150 calories" part. <p>When you eat 3 cookies, you consume <b data-var="calories"> calories</b>. Span class id JavaScript. Google Maps API Tutorial. If you want to have dozens of markers on your page, it gets a bit cumbersome to manage them if you code them all in your Javascript as in the previous examples. The preferred method for handling large numbers of markers is to store the data in an XML file. It's also possible to have an application (e.g. mySQL) running on your server which returns XML containing a different selection from the data depending on query information derived from what your users input.

I'm not going to cover the mySQL side of things in this tutorial. Here's a simple example You can see the XML data file that I used here The code used GDownloadUrl() to send a request to read the file. At some later time, the reply comes back and the callback funtion gets invoked. Once the data has been read, the callback function can grab a collection of data from the XML tags var markers = xmlDoc.documentElement.getElementsByTagName("marker"); then for each of those tags extract the individual attribute fields Potential Pitfalls. Custom QR Code Generator - Free & Premium plans - Unitag. FlexSlider. Formulaires HTML5 : nouveaux types de champs. HTML 4 était bien limité concernant les types de champs. HTML5 apporte énormément en terme de nouveautés. Ces innovations sont réunies sous un nom : les Web Forms (ou HTML5 Forms).

Souvenez vous des éléments de saisie et de soumission de formulaire en HTML4 assez peu nombreux : <textarea> <select> (<option> et <optgroup>) <button> <input> (text, password, file, radio, checkbox, submit, image, hidden, reset,button) Grâce à l'apport de HTML5 et des Web Forms, de nouveaux éléments et types d'éléments arrivent dans nos formulaires.

Les nouveaux types d'<input> Comme listés précédemment, les types de champs n'étaient pas nombreux. Au moment de mes tests, j'ai constaté que Chrome - qui prenait en charge certains types d'input de type datation dans ses versions précédentes - a revu ses compétences à la baisse dans la version 16. La plupart des nouveaux types non pris en charge par un navigateur sont traduits par un champ de type text.

Les nouveaux éléments de formulaire. Cycle2. Overview Cycle2 is a versatile slideshow plugin for jQuery built around ease-of-use. It supports a declarative initialization style that allows full customization without any scripting. Simply include the plugin, declare your markup, and Cycle2 does the rest. Highlights: Supports all browsers Declarative: no scripting needed! How it Works It's very simple really, even your grandmother could use it. Include jQuery and the Cycle2 plugin on your page. Need more details? What's that you say? Responsive Donations Donations are a great way to say "Thank you, malsup". Go ahead, click the button!

Discover Facebook’s developer tools | Tutorial. Backbone.js. Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. The project is hosted on GitHub, and the annotated source code is available, as well as an online test suite, an example application, a list of tutorials and a long list of real-world projects that use Backbone.

Backbone is available for use under the MIT software license. You can report bugs and discuss features on the GitHub issues page, on Freenode IRC in the #documentcloud channel, post questions to the Google Group, add pages to the wiki or send tweets to @documentcloud. Backbone is an open-source component of DocumentCloud. Downloads & Dependencies (Right-click, and use "Save As") Backbone's only hard dependency is Underscore.js ( >= 1.5.0).

Introduction Many of the examples that follow are runnable. Upgrading to 1.1. ImageOptim — make websites and apps load faster (Mac app) Create fluid layouts with HTML5 and CSS3 | Tutorial. CSS3 Menu. Free CSS Menu Maker. What's New CSS3 Menu v4.9 (March 12, 2014) * New flat skins: Neat, Refined, Facet and Jalousie * New flat icon sets: Smart-grey and Smart-orange CSS3 Menu v4.7 (January 30, 2014) * New flat skins: Posh, Boundary * New flat icon sets: Smart-blue, Fantasy-green CSS3 Menu v4.6 (December 12, 2013) * New flat skins: Sparkle and Volume * New flat icon sets: Fantasy-white and Fantasy-red CSS3 Menu v4.5 (November 14, 2013) * New flat skins: Gleam, Sublime and Blurring * New flat icon sets: contour and geometric CSS3 Menu v4.4 (October 10, 2013) * New flat skins: Marker and Smoke * New flat icon sets: creative, rainbow and thumbtack CSS3 Menu v4.3 (September 18, 2013) * New flat skins: Metropolitan and Cloud * New flat icon sets: Stylish-Basic, Stylish-Computer, Stylish-Nature, Urban, Cartoon, Minimalist * New languages for site: Swedish and Japanese. * Bug fixes CSS3 Menu v4.2 (September 12, 2013) * New flat skins: Stitch, Flat Solid, Neoteric * Updated "Insert to Page" wizard. * Major and minor fixes.

Help . Avoid duplicate content penalties and improve SEO | Tutorial. More guidance on building high-quality sites. JSHint, A JavaScript Code Quality Tool. Bootstrap.