background preloader

CSS Sprites generator

CSS Sprites generator

9 Useful PHP Functions and Features You Need to Know Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Nettuts+. Even after using PHP for years, we stumble upon functions and features that we did not know about. Some of these can be quite useful, yet underused. With that in mind, I've compiled a list of nine incredibly useful PHP functions and features that you should be familiar with. 1. Functions with Arbitrary Number of Arguments You may already know that PHP allows you to define functions with optional arguments. First, here is an example with just optional arguments: Now, let's see how we can build a function that accepts any number of arguments. 2. Many PHP functions have long and descriptive names. Think of it like a more capable version of the scandir() function. You can fetch multiple file types like this: Note that the files can actually be returned with a path, depending on your query: 3. By observing the memory usage of your scripts, you may be able optimize your code better. 4. 5. 6. 7.

50 Excellent Icon Design Tutorials Six RevisionsMenu Main Categories CSSHTMLJavaScript Web DesignWordPressWeb Development Design InspirationUX DesignUI Design FreebiesTutorialsTools Links AboutContactAdvertise RSSTwitterFacebook 50 Excellent Icon Design Tutorials By Jacob Gube Icons are essential in any graphical user interface. In this article, you’ll find a wide selection of tutorials and resources to help you learn about designing icons. General Tutorials 1. 2. 3. 10 Mistakes in Icon Design 4. 5. 6. 7 Principles of Effective Icon Design 7. 10 Tips for Effective Icon Design 8. 9. Illustrator Tutorials 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. Photoshop Tutorials 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. iTune Icon 47. 48. 49. 50. Related content This was published on Feb 11, 2009 Previous PostNext Post 58 Comments KaylaFeb 11 2009 Great list! Raymond SeldaFeb 11 2009 In my opinion, designing icons is time consuming but very rewarding once you’ve finished it. Thanks. wow! Wow!

Créer un menu à onglets avec CSS Introduction Propos Je vais montrer comment utiliser le langage des feuilles de style en cascade (CSS) pour créer un menu à onglets. La technique utilisée n'a rien de nouveau, mais elle sera l'occasion d'aborder plusieurs sujets rarement traités en un même endroit. Tout au long de mon exposé, je ferai référence à des considérations méthodologiques, notamment sur les principes de développement, les outils de validation et les raccourcis d'écriture CSS. Les plus pressés peuvent aller directement au fichier HTML complet, ainsi qu'aux feuilles de style « normal.css », « ie.css » et « ie6.css ». Explication du projet Le menu doit ressembler à ce qui suit : Ce menu doit également répondre aux exigences suivantes : Bref, le résultat doit être valide, accessible, multi-navigateur et indépendant de CSS, de JavaScript ou d'un outil de pointage particulier. Matériel et préparation Pour réaliser ce projet, j'aurai besoin des trois images suivantes : Vous pouvez choisir de faire autrement. Retourner au plan

互動詩篇 New Media Arts SQL Injection Cheat Sheet Find and exploit SQL Injections with free Netsparker SQL Injection Scanner SQL Injection Cheat Sheet, Document Version 1.4 About SQL Injection Cheat Sheet Currently only for MySQL and Microsoft SQL Server, some ORACLE and some PostgreSQL. Samples are provided to allow reader to get basic idea of a potential attack and almost every section includes a brief information about itself. Examples; (MS) means : MySQL and SQL Server etc. Table Of Contents Syntax Reference, Sample Attacks and Dirty SQL Injection Tricks Ending / Commenting Out / Line Comments Line Comments Comments out rest of the query. -- (SM) DROP sampletable;-- # (M) DROP sampletable;# Line Comments Sample SQL Injection Attacks Username: admin'-- SELECT * FROM members WHERE username = 'admin'-- This is going to log you as admin user, because rest of the SQL query will be ignored. Inline Comments Classical Inline Comment SQL Injection Attack Samples ID: 10; DROP TABLE members /* Simply get rid of other stuff at the end the of query.

2011 IDA Congress, Taipei CSS Sprite Generator | Project Fondue Co.Design - Tue, Mar 22 2011 VirtualBox et Ubuntu Server, un vrai serveur de développement en local Lorsque l’on développe des sites web, il est bien utile d’avoir un serveur où faire ses tests, ne serait-ce que pour éviter de casser un site déjà en ligne. Pour cette raison, il n’est pas rare d’installer sur sa machine locale des programmes tels que EasyPHP ou WAMP Server (sous windows). Mais ces logiciels sont souvent assez limités, et parfois assez loin de la réalité d’un serveur web. Pour cette raison, j’ai pour habitude de configurer une machine virtuelle me servant de serveur local, sur laquelle j’installerai le strict minimum pour faire tourner mes projets en cours de développement. Puisque la configuration d’une telle machine est parfois un poil compliquée, voici un tutoriel pour créer pas à pas votre propre serveur local avec VirtualBox et Ubuntu Serveur. Installer VirtualBox Tout d’abord, pourquoi VirtualBox ? Commençons par télécharger l’installeur. Télécharger Ubuntu Server Là encore, pourquoi Ubuntu, et pourquoi en version serveur ? Installer la machine virtuelle

25 Classic Fonts That Will Last a Whole Design Career Eric Gill, Adrian Frutiger and Max Miedinger are names we associate with the classic typefaces designers use on a daily basis. Their font creations are timeless designs that look right at home no matter what century we’re in. This collection of 25 classic fonts is a round up of the best and most popular fonts every designer should own. You can be sure that they will last your whole design career. Who hasn’t heard of Helvetica? It’s probably the most recognised classic typeface. Bodoni is a serif typeface designed by Giambattista Bodoni in 1798. Clarendon is a fantastically fat slab serif, created by Robert Besley in 1845. Akzidenz Grotesk was designed in 1896 by the H. Avenir is a geometric sans-serif typeface designed by Adrian Frutiger (recall the name? FF Din is a relatively new typeface compared to the veterans mentioned so far with it being created in 1995 by Albert-Jan Pool. Futura is another widely used font that can be seen in countless logos. Remember Adrian Frutiger?

Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development What Is It? Skeleton is a small collection of CSS files that can help you rapidly develop sites that look beautiful at any size, be it a 17" laptop screen or an iPhone. Skeleton is built on three core principles: Responsive Grid Down To Mobile Skeleton has a familiar, lightweight 960 grid as its base, but elegantly scales down to downsized browser windows, tablets, mobile phones (in landscape and portrait). Fast to Start Skeleton is a tool for rapid development. Style Agnostic Skeleton is not a UI framework. The Grid Skeleton's base grid is a variation of the 960 grid system. One Eleven Two Ten Three Nine Four Eight Five Seven Six Code Example Typography The typography of Skeleton is designed to create a strong hierarchy with basic styles. Heading <h3> Heading <h4> Heading <h5> Heading <h6> This is a blockquote style example. Buttons Buttons are intended for action and thus should have appropriate weight. Click Me For Action Forms Support for Skeleton Examples & Extensions Downloads (A la 960.gs PSD template)

KAIAK.TW | 城市美學的新態度 | New Urban Aesthetics Attitude Activer les logs de requêtes MySQL à la volée - Le blog d'un DSI Voici une astuce pour activer/désactiver les logs de requêtes (general log) de MySQL sans avoir à redémarrer le service. 1. Préparation du serveur Il va quand même falloir redémarrer le service au moins une fois pour activer un paramètres par défaut : l'emplacement du fichier de log. Ceci est facultatif mais nous évitera d'avoir à le respécifier à chaque fois. Pour ce faire, il suffit d'éditer le fichier my.ini (ou my.cnf sous Linux) et d'ajouter/modifier la directive suivante : general_log_file = E:/MySQL/Logs/query.log il faut donc logiquement redémarrer le service pour prendre en compte ce paramètre. 2. Dans une invite de commande MySQL ou tout autre outil capable d'exécuter des requêtes mysql avec un utilisateur ayant des droits d'admin, il faut lancer la commande suivante : SET GLOBAL general_log = 'ON'; Les logs sont activés et ajoutés au fichier défini ci-dessus. 3. Il suffit de repasser le paramètre à OFF : SET GLOBAL general_log = 'OFF';

Related: