background preloader

CSS Reference

CSS Reference

Немного об интерфейсах в .Net (по мотивам одного интервью) В прошедний понедельник мне посчастливилось попасть на собеседование на Senior .Net Developer в одну международную компанию. Во время собеседования мне предложили пройти тест, где ряд вопросов был связан с .Net. В частности в одном из вопросов надо было дать оценку (истина/ложь) ряду утверждений, среди которых было и такое: В .Net любой массив элементов, например int[], по умолчанию реализует IList, что позволяет использовать его в качестве коллекции в операторе foreach. Быстро ответив на этот вопрос отрицательно и отдельно дописав на полях. что для foreach необходима реализация не IList, а IEnumerable, я перешел к следующему вопросу. Про IList я смутно помнил, что этот интерфейс дает мне IEnumerable, индексатор и свойство Count, содержащее число элементов коллекции, а также еще пару редко используемых свойств, типа IsFixedCollection(). Класс System.Array var v = new int[] { 1, 2, 3 }; var t = v.GetType(); var i = t.GetInterfaces(); foreach(var tp in i) Console.WriteLine(tp.Name); 2.

Optimiser et sécuriser le fichier wp-config.php - WordPress Qu’est ce que le fichier wp-config.php Le fichier wp-config.php est un fichier qui est situé à la racine de votre site WordPress, sur votre serveur, et permet de faire le lien entre la base de données et le site. Lors de l’installation de WordPress, il est créé avec un contenu standard; et il est recommandé de l’optimiser par rapport à vos besoins spécifiques. Vous pourrez alors configurer les aspects suivants: SécuritéLangueEmplacement des dossiersGestion du contenuMultisite (WordPress Mu)DebugMémoire PHPPerformanceCompression des fichiersConnexion FTPVérouillage de fonctionnalités ATTENTION ! Sécuriser le fichier wp-config.php Une fois votre site créé et le fichier wp-config de base généré, la première chose à faire est de le sécuriser / protéger, en y interdisant l’accès. // Interdire l'accès au fichier wp-config.php <files wp-config.php> order allow,deny deny from all </files> Base du fichier wp-config standard Les Clefs d’authentification Les langues utilisées Compression des fichiers

Object Oriented CSS · stubbornella/oocss Wiki CustomSortOrder in SharePoint 2010 TermSets | Andrea Ramacciotti Blog's Be careful in using CustomSortOrder in SharePoint 2010 TermSets! TermSets terms can be ordered in custom way using the specific user inteface feature in Site Settings -> Term Store Management. That can be also used in code because Term class expose the CustomSortOrder property that’s a string where are listed all the term CLSID separated by “:”. Which is the problem? you remove one or more items, in the CustomSortOrder property still remains their CLSID. Be careful! Mi piace: Mi piace Caricamento... Galleria Questa voce è stata pubblicata in Computer e Internet, Sharepoint e contrassegnata con Sharepoint. Scriptina English Français Español Deutsch Italiano Português Mon compte | Inscription Thèmes Nouveautés Auteurs Top ForumFAQ Proposer une policeLogiciels a b c d e f g h i j k l m n o p q r s t u v w x y z # 335 requêtes correspondantes sur le forum Scriptina Aperçu Taille Scriptina à € par Apostrophic Labs dans Script > Calligraphie 7 593 787 téléchargements (824 hier) 139 commentaires 100% Gratuit - 2 fichiers Télécharger SCRIPTIN.ttf Mise en ligne sur DaFont : avant 2005 Illustration © Apostrophic Labs Données personnelles - Contact Liens : Planète Typographie - On snot and fonts

CSS Style Guides As we wrap up our recent poll on ordering CSS properties, it brings up the larger issue of CSS style guides. Ordering properties is just one choice you have to make that makes up a complete styling strategy. Naming is a part of it. Sectioning is a part of it. Commenting, indentation, overall file structure... it all makes up a complete CSS style guide. Let's round up some existing ones. But first... I love pattern libraries. The List I'll list some excerpts from each that I like below. GitHub GitHub CSS Style Guide → As a rule of thumb, don't nest further than 3 levels deep. Unit-less line-height is preferred because it does not inherit a percentage value of its parent element, but instead is based on a multiplier of the font-size. Google Google HTML/CSS Style Guide → Use ID and class names that are as short as possible but as long as necessary. E.g. E.g. .demo-image not .demoimage or .demo_image Idiomatic CSS Nicolas Gallagher's Idiomatic CSS → Configure your editor to "show invisibles". ThinkUp

Ewen's Files, Ewen Elder; jQuery JavaScript PHP CSS xHTML MySQL Developer Setting the fixed width of a <select> element in Internet Explorer will cause all of the select options that are wider than the select's set width to be cropped. This jQuery plugin proposes a work around. Applying this plugin makes the select element in Internet Explorer appear to work as it would work in Firefox, Opera etc... As of 17th June 2010, it is confirmed to work in Internet Explorer versions 6, 7 and 8. This plugin adds three additional elements to the DOM; a <span> element that acts as the select container; an <a> element that acts as an overlay; and another <span> element within the <a> element that adds the visual part. Class names representing the browser version and which state the select is in are added to the container and the the overlay. For Internet Explorer 6, you should also use the bgiframe plugin. View the page source to see how to use this jQuery plugin. Contact me here with any queries or bug reports etc.

Radioamateur : Leçons d'apprentissage du Morse - méthode militaire CSS Specificity Some people are confused by CSS Specificity, especially with all of the (not-so) new CSS3 Selectors. The image below may help make sense of CSS Specificity. Download the PDF Legend: X-0-0: The number of ID selectors, represented by Sharks0-Y-0: The number of class selectors, attributes selectors, and pseudo-classes, represented by Fish 0-0-Z: The number of type selectors and pseudo-elements, represented by Plankton a la Spongebob*: The universal selector has no value +, >, ~: combinators, although they allow for more specific targeting of elements, they do not increase specificity values:not(x): The negation selector has no value, but the argument passed increases specificity CSS SpeciFISHity You can download the PDF of fishy CSS specificity here Specificity determines which CSS property declaration is applied when two or more declarations apply to the same element with competing property declarations. With CSS3 Selectors, order is even more important, as is understanding specificity: !

asp.net - Javascript before asp:ButtonField click Enquête sur les systèmes de filtration de l'eau potable Tout d'abord, l'étude de QUE CHOISIR rappelle des tests effectués en 2010 sur des carafes d'eau filtrantes. Ces tests avaient démontré l'efficacité des carafes filtrantes en laboratoire aseptisé mais surtout leur inefficacité à traiter l'eau domestique en conditions réelles chez une trentaine de ménages équipés. QUE CHOISIR était parvenu à la conclusion que l'eau du robinet filtrée par différents modèles et marques de carafes "grouillait de microbes", ce qui rendait cette eau impropre à la consommation. Avec sa nouvelle étude, QUE CHOISIR va plus loin et s'intéresse aux nombreux appareils destinés à traiter l'eau directement à domicile au travers de ses installations. QUE CHOISIR a donc réalisé des tests avant et après traitement de l'eau dans des conditions réelles d'usage afin d'évaluer l'efficacité quotidienne de différents adoucisseurs d'eau, osmoseurs, filtres à eau sur et sous robinet ainsi que des systèmes antitartre. Les principaux dispositifs de traitement de l'eau testés :

A Comprehensive Guide to CSS Resets This guide examines the infinite-like variety of CSS resets created by web developers and designers across the world. While almost all of these CSS resets are generally provided free for public use (many through Creative Commons licensing), it is incumbent upon you to check the terms of use before putting them to use in your projects. This guide follows Part 1, where the history of CSS resets was discussed; you’re advised to read that before this one to get the most out of this guide. This is Part 2 of a three-part series of articles on the topic of CSS resets. In putting together this guide, the 2007 collection of resets by Jeff Starr — who, as an aside, has contributed articles on Six Revisions — was used as a jumping-off point. "Hard" Reset As discussed in Part 1 of this series, the original version of the "hard" reset was by web designer Andrew Krespanis: It wasn’t long before folks added border: 0; and outline: 0; to the list of properties, giving us: Poor Man’s Reset Siolon Reset

Related: