
Integrate FontAwesome icons in an Angular application When you bootstrap an Ionic application with the Ionic CLI, you automatically have access to the Ionicons library. A collection of SVG icons for web, iOS, and Android development. The library is not that big, and you usually end up adding icons from other sources to your project. In my previous blog post, I showed you how to add individual SVG icons to an Ionic project. In this blog post, we are going to look at another icon library, FontAwesome, and how to add it to your Ionic application. FontAwesome is a popular icon library and provides over 1500 icons for free. FontAwesome provides free open source libraries for a variety of JavaScript front end frameworks, like Vue.js, React, Angular, Ember and more. Setup To add FontAwesome to your project, you have to install the core library, one or more icon libraries and lastly the Angular integration library. The free version of FontAwesome gives your project access to a subset of icons. Globally Locally on a per-project basis Usage home.page.ts
Item Blur Effect with CSS3 and jQuery Today we will show you some examples of websites that are using beautiful and inspiring color combinations that match perfectly and create an eye candy... For me, Photoshop is becoming more and more of a prototyping or blue printing tool: it’s basically just a canvas... CSS3 opens up so many crazy possibilities and today we want to show you how to go wild with splash and coming soon page effects using CSS3 animations. After getting the request, we are going to show you how to create a “slide-in on scroll” effect. You’ve probably seen this cool effect on some websites, like on Nizo or in the portfolio section of brilliantly designed La Moulade. Typography is truly a science and many designers spend an entire career devoted to the study. There are many creative ways of showing what a website is about: the use of images, videos, descriptions and more. Today we will create a set of nice typography effects for big headlines using CSS3 and jQuery. So you're still not using HTML5, huh?
NANO : Quelques raccourcis à retenir « Korben Korben Quand on bidouille un peu sous Linux ou OSX, on doit souvent éditer pas mal de fichiers de conf. Pour ce faire, certains utilisent Vi ou Vim qui est très puissant, mais aussi très barbu. Dans mes exemples, je préfère utiliser Nano qui est un éditeur tout aussi sympa et surtout simple à utiliser pour les débutants. Seulement, il y a quand même quelques petits trucs à savoir, et je me suis dit que ce serait bien de faire un article récap avec les raccourcis que j'utilise pour nano. Je ne serai pas exhaustif, car il y a des trucs qu'on n’utilise jamais, mais si vous retenez au moins ça, vous avez l'essentiel pour vous débrouiller. Autre truc important à savoir-faire, ce sont les copier / couper / coller sous nano. Pour ce faire, placez-vous devant la ligne à copier, puis faites CTRL + K pour la couper, suivi d'un CTRL + U pour la coller. Autrement, si vous voulez sélectionner plusieurs lignes, faites un CTRL + ^ et déplacez les flèches du clavier pour surligner le texte qui vous intéresser.
FortAwesome/angular-fontawesome: Official Angular component for Font Awesome 5 CSS Animations Friend: You should learn how to write CSS!Me: …Friend: CSS; Cascading Style Sheets. If you’re serious about web design, that’s the next thing you should learn.Me: What’s wrong with <font> tags? That was 8 years ago. And then… nothing. Fast forward a couple of years to late 2006. Back in the time machine. Epic win? Howto: A basic spinner No matter how fast internet tubes or servers are, we’ll always need spinners to indicate something’s happening behind the scenes. There are some downsides to this though: It’s only _semi_-transparent: If you change your mind and pick a slightly different background color, you need to go back to the site, set all the parameters again, and replace your current image. What do we need to make a spinner with CSS animations? <p id="spinner">Please wait while we do what we do best. Looks semantic enough to me! Cool, but now we don’t see anything. By now you should be feeling like a magician already. Nice! Some explanation: Let’s define spinnerRotate: That’s it! But…
Comment déterminer le type d'un hash ? « Korben Korben Comment déterminer le type d’un hash ? J'ai une question pour vous ! Savez-vous reconnaitre un hash MD5, MD4, NTLM, MySQL, généré par WordPress et j'en passe d'un autre hash ? Moi non, et pour cause : Il existe plus de 250 types de hash, de longueur, de jeu de caractère et de format différent (avec ou sans salt.)...etc. Impossible à l'oeil nu de s'y retrouver rapidement. Toutefois, il arrive que certains hash ne puissent être identifiés correctement. HashTag reste quand même très pratique pour dégrossir une liste de mots de passe hashés et savoir un peu mieux à quoi on a à faire (histoire de faire chauffer le Hashcat). Vous avez aimé cet article ?
3+ Ways to Add Bootstrap 4 to Angular 9/8 With Example & Tutorial In this tutorial, we will see how to use Bootstrap to style apps built using Angular 9. We'll see how to integrate Angular with Bootstrap, in various ways including using ng-bootstrap and ngx-bootstrap packages. We'll be using Angular CLI 9 for generating a brand new project. These are the steps of our tutorial: What is Bootstrap Bootstrap is the most popular HTML and CSS framework for building responsive layouts with ease and without having a deep knowledge of CSS (Still custom CSS is required to customize your design ane make it different from the other Bootstrap-styled websites unless you are using a BS theme developed specifically for you). Bootstrap 4 is the latest version of BS which brings many new and powerful features to the framework most importantly Flexbox which is now the default display system for BS grid layout (one of the most important features of BS). 3+ Ways to Include Bootstrap 4 In Your Angular Project This can be done in multiple ways: Step 1 - Installing Angular CLI v9 ?
Juste pour le plaisir de faire chier... « Korben Korben Juste pour le plaisir de faire chier… ... les spammeurs qui viennent pomper tout ce qui ressemble à un email sur votre site, je partage avec vous cette astuce trouvée ici. Il s'agit d'un petit bout de code PHP qui permet de générer des milliers d'emails à la volée, de manière totalement aléatoire. Fallait l'imaginer ! Pensez à dire aux moteurs de recherche que vous ne voulez pas que cette page s'indexe avec un petit "Disallow: /emails.php" dans le robots.txt. Vous avez aimé cet article ? Angular 9 Components Quick Start The goal in this guide is to build and run a simple Angular application in TypeScript, using the Angular CLI and jQWidgets. Step 1. Install Node.js and npm if they are not already on your machine. Verify that you are running at least Node.js version 8.x or greater and npm version 5.x or greater by running node -v and npm -v in a terminal/console window. Then install the Angular CLI globally. npm install -g @angular/cli Step 2. Open a terminal window. Generate a new project and default app by running the following command: ng new my-app The Angular CLI installs the necessary npm packages, creates the project files, and populates the project with a simple default app. Step 3: Serve the application Go to the project directory. cd my-app Install the jqwidgets-ng dependency npm install jqwidgets-ng Open the angular.json file and inside the styles property add this line: "node_modules/jqwidgets-ng/jqwidgets/styles/jqx.base.css" Launch the server. ng serve --open src/app/app.component.ts
Angular Style Guide/Best Practices - Raja Rama Mohan Thavalam - Medium The guideline uses the shortcut hero.component.ts|html|css|spec to represent those various files. Using this shortcut makes this guide’s file structures easier to read and more terse. A class should have one and only one reason to change meaning that a class should have only one job. Do define one thing such as a service or component per file One component per file makes it far easier to read, maintain, and avoid collisions with teams in source control. Limiting files to 400 Lines of code. Define small functions and Limiting to no more than 75 lines. The small functions are easy to reuse, read and maintain. Naming conventions are hugely important to maintainability and readability. 3.1 General Naming Guidelines Use consistent names for all symbols. Do follow a pattern that describes the symbol’s feature then its type. 3.2 Separate filenames with dots and dashes Do use conventional type names including .service, .component, .pipe, .module, and .directive. 3.3 Symbols and file names 3.10 Pipe names
Angular 9/8 with PHP: Consuming a RESTful CRUD API with HttpClient and Forms In the previous tutorial, you have implemented the PHP and MySQL backend that exposes a REST API for working with an insurance database. Let's now create the Angular 9 backend. Connecting with a PHP Backend with Angular 9 HttpClient In this tutorial, you'll learn how to use HttpClient in Angular 9 to make HTTP calls to a REST API and use template-based forms to submit data. Now that you've created the RESTful API with a PHP script, you can proceed to create your Angular 9 project. Installing Angular CLI 9 The recommended way of creating Angular projects is through using Angular CLI, the official tool created by the Angular team. $ npm install -g @angular/cli Note: This will install Angular CLI 9 globally so make sure you have configured npm to install packages globally without adding sudo in Debian systems and macOS or using an administrator command prompt on Windows. Generating a Angular 9 New Project That's it! $ cd angular-9-php-app $ ng new frontend Setting up Angular HttpClient & Forms