نظرات مطالب
banned.h
سلام آقای نصیری
شما ما را معتاد کرده اید!!!
چرا دیر آپدیت میکنید. من هر روز مطالب شما رو می خونم.
هشدار می دهم این دفعه اگر ساعت 9 شب به بعد آپدیت کنید من مجبور می شوم مطالب امروز را فردا بخونم!!!
پاسخ به بازخورد‌های پروژه‌ها
wcf
مطالب این سایت بر اساس گروه‌ها و برچسب‌ها طبقه بندی شده‌اند. برای نمونه اگر گروه WCF را بررسی کنید، یک سری 9 قسمتی را می‌توانید پیدا کنید.
اشتراک‌ها
Visual Studio 2022 version 17.8.2 منتشر شد
حجم تقریبا آپدیت از نسخه قبلی (17.8.1) حدود 666G میشه.

Summary of What's New in this Release of Visual Studio 2022 version 17.8.2

  • Fixed an issue where, in certain situations, a document window can get stuck showing a loading message.
  • In some cases (when a project is located under a solution folder) you may see an error when saving the project. The project would get saved but you would see an error about unable to cast a COM object. This issue is now fixed so the error is no longer displayed.

Developer Community

Visual Studio 2022 version 17.8.2 منتشر شد
اشتراک‌ها
کتاب رایگان Unity Game Development Succinctly

Unity has become one of the top choices in tools for game development, holding 45% of the game engine market. In Unity Game Development Succinctly, Jim Perry covers the major features of Unity and those used to create a small 2-D game, from installation to adding features popular in some of today’s successful PC and console games. Set up a UI, sprites, background music, basic animation, and game logic to make your own simple game.

Table of Contents

  1. Getting Started
  2. Scenes and Scene Management
  3. User Interface
  4. 2-D Graphics and Sprites
  5. Input
  6. Animation
  7. Audio
  8. Implementing Gameplay 
کتاب رایگان Unity Game Development Succinctly
مطالب
4 کاراکتر منحصر بفرد در CSS
در صورتیکه بخواهید برای نسخه‌های مختلف اینترنت اکسپلورر style‌های مختلفی را بنویسید، کافی‌است از 4 کاراکتر منحصر به فرد ( 9\ _ * ) استفاده کنید.

IE8 and Below

برای اینکار در IE8 و پایین‌تر از آن، به انتهای هر استایل "9\" را اضافه کنید. فقط "9\" را می‌توان برای این کار استفاده کرد و تغییر دادن آن به عبارتی دیگر مثلا "IE\" اشتباه است. حتی "8\" هم برای انجام اینکار درست نیست و فقط "9\" کار می‌کند.

body {
 color: red; /* all browsers, of course */
 color : green\9; /* IE8 and below */
}

IE7 and Below

برای اینکه در IE7 به طور مشخص، تغییری ایجاد کنید، کافی‌است ابتدای هر property، یک کاراکتر "*" اضافه کنید.
body {
 color: red; /* all browsers, of course */
 color : green\9; /* IE8 and below */
 *color : yellow; /* IE7 and below */
}

IE6

و برای اینکه در IE6 به طور مشخص، تغییری ایجاد کنید، کافی‌است ابتدای هر property یک کاراکتر "_" استفاده کنید.
body {
 color: red; /* all browsers, of course */
 color : green\9; /* IE8 and below */
 *color : yellow; /* IE7 and below */
 _color : orange; /* IE6 */
}
اشتراک‌ها
کتابخانه fontfaceonload

A simple utility to execute a callback when a webfont loads.  Demo

This uses the CSS Font Loading Module when available (currently in Chrome 35+ and Opera 22+). When that isn’t available, it uses a very similar approach to the one used in the TypeKit Web Font Loader (which is currently 7.1KB GZIP).

Basically, it creates an element with a font stack including the web font and a default serif/sans-serif typeface. It then uses a test string and measures the dimensions of the element at a certain interval. When the dimensions are different than the default fallback fonts, the font is considered to have loaded successfully.

If you’d like a full polyfill for the CSS Font Loading Module, follow along with Bram Stein’s Font Loader. I believe the specification has changed since he launched this polyfill, but he’s working on an updated version. 

کتابخانه fontfaceonload