background preloader


Character Entity References in HTML 4 and XHTML 1.0 Here is a set of tables containing the 252 allowed entities in HTML 4 and XHTML 1.0, as described in section 24 of the official HTML 4 specifications, published by the W3C. I have divided them into my own, hopefully logical, categories: Each table has five columns. The fifth column contains a description of the character, and an occasional note. There are many ways to order character entities. For more information on how to use these entities in your Web pages, see HTML, XHTML, and CSS, Sixth Edition by Elizabeth Castro. Entities for characters with special meaning in HTML and XHTML Entities for accented characters, accents, and other diacritics from Western European Languages Entities for punctuation characters Entities for mathematical and technical characters (including Greek) Entities for shapes and arrows The layout of this document is copyright © 2002 Elizabeth Castro. Related:  HTML5Divers utiles

Thonny, Python IDE for beginners Resources for HTML5 game developers Today we released Firefox 31 and it offers a couple of new features that help HTML5 game developers to code and debug sophisticated games. In addition Mozilla blogged about the first commercial games leveraging asm.js, Dungeon Defenders Eternity and Cloud Raiders both of which were cross-compiled in to JavaScript using the Emscripten compiler. Games like these show that HTML5 is ready as a game platform. If you are interested in working with Emscripten you can get more information at the main Emscripten wiki or grab the code on the github page. Another good resource is the getting started with Emscripten tutorial on MDN. In this post we’ll introduce you to some of the resources built by Mozillians that allow you to code and debug HTML5 based games. Where To Start When developing an HTML5 based game, you have a lot of choices to make. One of the key resources available for game developers on MDN is the Games Zone. Tools Canvas Debugger Shader Editor Web Audio Editor Network Monitor Web IDE APIs

Joel on Software - Le minimum absolu que tout développeur doit absolument, positivement savoir sur Unicode et les jeux de caractères (aucune excuse !) Par Joël Spolsky Traduit par Freddy Hardy Vérifié par Serge Wautier Mercredi 8 octobre 2003 Vous ne vous êtes jamais posé de questions sur cette mystérieuse balise Content-Type ? Vous savez, celle que vous êtes supposé mettre en HTML, et dont vous n'avez absolument jamais su ce qu'elle veut dire ? Vous n'avez jamais reçu un email de vos amis en Bulgarie avec pour objet "???? ?????? J'ai été atterré de découvrir combien de développeurs ne sont absolument pas au jus à propos du monde mystérieux des jeux de caractères, encodages, Unicode et tous ces trucs-là. Mais il ne disparaîtra pas. J'ai donc une annonce à vous faire : si vous êtes un programmeur qui travaille en 2003 et que vous ne possédez pas les bases des caractères, des jeux de caractères, de l'encodage et d'Unicode, et que je vous attrape, je vais vous punir en vous faisant éplucher des oignons pendant 6 mois dans un sous-marin. Et encore une chose : Un point de vue historique Unicode OK, alors disons que nous avons une chaîne :

RGB-to-Hex Color Converter RGB-to-Hex Conversion Question: How do I convert RGB values of a color to a hexadecimal string? Answer: The RGB-to-hexadecimal converter algorithm is simple: make sure that your values are in the range 0...255, convert R, G, B to hex strings, and then concatenate the three hex strings together. Convert RGB to Hex color values here: function rgbToHex(R,G,B) {return toHex(R)+toHex(G)+toHex(B)} function toHex(n) { n = parseInt(n,10); if (isNaN(n)) return "00"; n = Math.max(0,Math.min(n,255)); return "0123456789ABCDEF".charAt((n-n%16)/16) + "0123456789ABCDEF".charAt(n%16); } Notes: The script parses the input R, G, B values as integers using the standard function parseInt(string,10); the second, optional argument 10 specifies that the value must be parsed as a decimal number. RGB/hex codes for named colors supported in most browsers are listed below: See also:

Python 2.4 Quick Reference Style chooser: Modern, Modern B&W, Classic, High contrast or Printing [Hint: Use styles Modern B&W or Printing to print. If you get problems, try printing the PDF versions instead] Contents Front matter Version 2.4 Check updates at Please report errors, inaccuracies and suggestions to Richard Gruet (pqr at Creative Commons License. Last modified on May 8, 2007 17 Feb 2005, upgraded by Richard Gruet for Python 2.4 03 Oct 2003, upgraded by Richard Gruet for Python 2.3 11 May 2003, rev 4 upgraded by Richard Gruet for Python 2.2 (restyled by Andrei) 7 Aug 2001 upgraded by Simon Brunning for Python 2.1 16 May 2001 upgraded by Richard Gruet and Simon Brunning for Python 2.0 18 Jun 2000 upgraded by Richard Gruet for Python 1.5.2 30 Oct 1995 created by Chris Hoffmann for Python 1.3 Color coding: Features added in 2.4 since 2.3. Tip: From within the Python interpreter, type help, help(object) or help("name") to get help. Invocation Options Environment variables None

Learn to Code: Programming Tutorials and Resources Getting started with HTML5 Everybody's talking about HTML5, understand how to use some of it's best features. Learning jQuery with Street Fighter Gain a basic understanding of jQuery and how to use it on your own projects. Make a Valentine's Day E-Card Share the love with that special someone: Build a holiday card and learn HTML & CSS. A Guide to GitHub Pages Follow this step-by-step guide and launch your own GitHub page. Javascript Best Practices Part 1 Master JavaScript's best practices — with code samples and examples. Javascript Best Practices Part 2 Learn more best practices and start writing readable & efficient code. Adding Sound (HTML5) Learn to use the HTML5 audio tag to embed music in your webpages. Want More? Receive our latests guides and learning resources via email

Bash Console Colours for C++ Here's a little header file for C/C++ that I knocked up to make colouring console output a little easier. Not all of these colour codes are supported by every console emulator, but if you stick to the primary colours, you should be fine. And here's how to use it. Note that you've got to set the colours back to default at the end of the sequence. #include "../shellColours.h"#includeusing namespace std; int main (){ cout << SH_FG_BLUE << "Foreground Blue" << SH_DEFAULT << endl; cout << SH_BG_GREEN << "Background Green" << SH_DEFAULT << endl; cout <<; SH_UNDERLINE << "Text Underlined" << SH_DEFAULT << " Back To Normal Text" << endl; } 5Share

Java Cheat Sheet Create a new object instance StringBuffer buffer = new StringBuffer(128); Output a string to standard output System.out.println("Some string"); Create a new object using generic types (array list that holds strings) ArrayList<String> list = new ArrayList<String>(); For Each Loop (loop over any Iterable object, or array this way) JavaDocs Example /** * HTML Description here * @author Bob * @version 1.0 * @see java.lang.String */ public class Foo { /** * Method description * @param arg1 The first arg * @param arg2 The second arg * @throws FooException if things are bad * @return what it returns */ public String bar(int arg1, int arg2) throws FooException { } } Enum Example public enum Day { SUN, MON, TUE, WED, THU, FRI, SAT } public void checkDay(Day d) { if (d == Day.FRI) { System.out.println("Yippie!") Annotations Example /** Use to define a license for an annotated element */ public @interface License { String value(); } @License("GPL") public class MyGPLLicensedClass { ... } Main - Hello World

Learn HTML5 and CSS3 Latest Discussions 7 mins ago by Rakesh Devare Forum: tip/trick "Captcha Code Implemantation In MVC" by Member 10315646 I used Log4Net in my project (It's a Windows Service) for logging, i want to know is there any way to schedule Log4Net to log automatically ? by hasbina hI I want to set the background image to jquery ui-icon-triangle-1-s 'ui-icon-triangle-1-s'the below css not workg.:-( .styled-select { width: 240px; height: 34px; overflow: hidden; background: ui-icon-triangle-1-s no-repeat right #ddd; border: 1px solid #ccc;... by RCWL Hi,I'm currently building an add-in for Project 2013 and need to capture the file print event.As far as I know, the only available event handlers are Application.ProjectBeforePrint and Project.BeforePrint, but both seems to get invoked when:1. by Kriti Sharma 10400841

Programmation:C:Entrees:Sorties — wiki-prog Introduction Le monde UNIX obéit à la règle Tout est fichier. Cette règle s'applique aussi bien à l'environnement utilisateur où la plus part des périphériques ou certains cannaux de communication apparaissent comme des pseudo-fichiers, mais aussi dans l'environnement de programmation, puisque le système fournit une interface simple et standard pour toutes les sortes d'entrée/sortie. Dans ce cours nous allons nous limiter aux opérations de base qui permettent de réaliser des entrées sorties sur toutes sortes de ressources. L'interface du système utilise un type unique pour désigner ces ressources: les file descriptors. Les File descriptors et les appels systèmes read(2) et write(2) Les deux appels systèmes que nous utiliseronts sont read(2) et write(2). #include <unistd.h>int read (int fd, void *buf, size_t nbytes);int write (int fd, void *buf, size_t nbytes); EBADF: le paramètre fd n'est pas un file descriptor valide. Dans ces deux cas, il faut recommencer la lecture. Déplacements Tubes