atlas news
    
Efficient coder
09  octobre     00h00
How to delete blank page in MS Word
   You’ve decided that you’d like to get rid of a blank page in Word. In most cases, if you press the delete or backspace key on your keyboard a sufficient number of times, everything should work properly. However, there are times when it might not be that easy. The Process of Deleting a Blank Page...
29  septembre     00h00
Add days to dates in Python
   In this example, we’ll see how to add days to dates in python. To add days to a date in python, you simply need to use the timedelta class that you should import from the datetime module. For example: dateplustwo aDate timedelta days . We passed a days argument to the timedelta class...
20  septembre     00h00
How to get current time zone in JavaScript
   You can get your time zone using JavaScript by using the Intl.DateTimeFormat object which is available in all modern browsers and returns the language specific date and time formatting methods. Here is how it works. Simply open the developer console in your web browser and run the following code...
    00h00
How to add days to dates in JavaScript
   We can add days to dates in JavaScript as follows: Call the JavaScript’ getDate method to obtain the day of the month for the date. Call the JavaScript’ setDate method, and passing as a parameter the result of calling getDate plus the number of days you need to add. The setDate ...
19  septembre     00h00
5] Transform data with Angular pipes
   In this tutorial, we’ll see how to use a pipe in Angular to transform and display data in our components’ templates. Since under the How to apply part, we are displaying the content of the applyMethod field but we are getting object Object displayed. That’s because this a Rich Text field...
    00h00
4] Angular 14 Routing and RxJS switchMap
   In this tutorial, we’ll continue building our app with Angular and Contentful. We’ll look at how to access route parameters using ParamMap and since our previous service method returns an observable, we’ll see how to flatten the observable with the switchMap operator and subscribe to the...
    00h00
3] Angular 14 Service for communicating with Contentful CMS
   In this tutorial, let’s now create the service that will encapsulate the code for communicating with Contentful. Go back to your command line interface and run the following command to generate the service: ng g s content Create a content types.ts file in the src app folder and add the...
    00h00
2] Setup Angular 14 environment variables
   In this tutorial, we’ll look at how to set up environment variables in Angular and bootstrap for UI styling. Before we continue, let’s add our Contentful Space ID and Access Token to our Angular application’s environment variables. Note: You can create an access token using the ...
    00h00
1] Build Angular 14 apps with Contentful headless CMS
   In this tutorial, you’ll learn how to build a full stack app using Contentful and Angular . Contentful is a cloud based CMS that allows users to centrally manage contents that can be accessible from several platforms. Angular and Contentful are both widely used for their respective purposes,...
17  septembre     00h00
11] Mocking GraphQL with Apollo Server
   Thanks to mocking, UI development can begin before the backend is fully functional. The UI can be tested without having to wait for lengthy database operations or maintaining a full fledged GraphQL server. There are a number of community built tools, such as graphql tools, graphql faker, and...