<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aneri vala on Medium]]></title>
        <description><![CDATA[Stories by Aneri vala on Medium]]></description>
        <link>https://medium.com/@Anerivala?source=rss-6bd4f08fc21a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_YIU7JVVbfRCuj71FzHI7g.jpeg</url>
            <title>Stories by Aneri vala on Medium</title>
            <link>https://medium.com/@Anerivala?source=rss-6bd4f08fc21a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:42:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Anerivala/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Peace]]></title>
            <link>https://medium.com/@Anerivala/peace-1a11e0032eea?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a11e0032eea</guid>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Sat, 21 Jul 2018 18:13:09 GMT</pubDate>
            <atom:updated>2018-07-21T18:24:36.226Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1QB-3LDBGLdXmA1ZUYhQ2A.jpeg" /></figure><p>In this hustle and bustle of the life sometimes it all about peace of soul.Life is going with the number of hidden surprises.Accept that everyone is doing their role very honestly like as a mother,as father,as a employee anything over you’re doing Karma but sometimes it indeed to refresh the soul.My point of view to feel special normal than usual.</p><h4>Drive</h4><p>Generally you drive with some kind of proper destination right?, but sometimes try to drive without destination go anywhere where ever you want go,where you can feel fresh.</p><h4>Music &amp; Dance</h4><p>Yeah music makes life better that everyone knows;furthermore try to listen contrast song according to your mood and dance on your own rhythm.</p><h4>Reading</h4><p>About Bibliophile person and some of techie people who is addicted with the reading stuff.Try something spiritual or something from that you can learn for your routine.</p><h4>Travel</h4><p>It good to travel,to try different adventure.Travel helps you to add more memories into your life.It provides you with unforgettable moments and experiences.Save money from your daily expenses and travel.It can helps you with stories you can tell your children and grandchildren.</p><h4>Art</h4><p>You can try many types of art whichever you like the most that can be painting or photography or crafting or coloring the drawing anything which you like the most.That enhance your own skills<strong><em>.Helps you to think much more about whatever you already know.</em></strong></p><h4>Talk</h4><p>Yeah talk is the most effortless activity to do.Some people speak less okay but if they can’t tell what they feel that’s not okay ;).Talk is best way to express what you know and what you feel but yup oversharing can make you a bore so mind that fact first for yourself.In between your free time talk to your parents,friends or anyone with whom you feel comfortable or anyone with whom you like to share what you feels.</p><h4>Sports</h4><p>Sports are good for a person’s health as they form part of a fitness regime, which can reduce the risk of certain diseases, enhance balance and boost memory function.In addition to physical benefits, these can improve a person’s mental health.It helps people stay calm, it contributes towards establishing a happier state of mind.</p><h4>It could be</h4><p>Cooking,swinging,gardening moreover sleeping after reading good stuff:)</p><p>Many people deal with depression and anxiety on a regular basis. We are faced with a lot of emotional and mental stress in these modern times. We are stuck in our work, relationships and health. But we can turn that around by adopting a few things to help us find peace of mind. Many way you can relax your mind even in difficult times. Remove that stress to gain freedom and happiness. Some simple habits have been proven to initiate calmness in our minds. Those are strategies which will help you find peace of mind in your daily life.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a11e0032eea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set Timer in observer]]></title>
            <link>https://medium.com/@Anerivala/how-to-set-timer-in-observer-d53d96143e1f?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d53d96143e1f</guid>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Tue, 26 Jun 2018 17:33:43 GMT</pubDate>
            <atom:updated>2018-06-26T17:33:43.823Z</atom:updated>
            <content:encoded><![CDATA[<p>To set timer or call api in duration of the time / in between!</p><pre>const start = 20;<br>const source = Rx.Observable<br> .timer(1000, 1000)//Set you dynamic seconds that coming from the api of choose from the config<br> .map(tick =&gt; start — tick)<br> .take(start + 1)<br> .subscribe(tick =&gt; console.log(tick));</pre><pre>setTimeout(() =&gt; {<br> //Stop the timer<br> source.unsubscribe();<br>}, 5000);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d53d96143e1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set Up of React Native with Native Base]]></title>
            <link>https://medium.com/@Anerivala/set-up-of-react-native-with-native-base-916a0a184138?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/916a0a184138</guid>
            <category><![CDATA[react-native]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Tue, 26 Jun 2018 17:17:41 GMT</pubDate>
            <atom:updated>2018-06-26T17:17:41.869Z</atom:updated>
            <content:encoded><![CDATA[<p>Step:1 Install node</p><p>Install node</p><p>Step:2 add command line utility:</p><p>npm to install the create-react-native-app</p><p>Step:3 Create an app</p><pre>create-react-native-app AwesomeProject</pre><p>Step:4</p><p>You won’t app will not run via barcode if network is not same so Set Common IP first</p><pre>set REACT_NATIVE_PACKAGER_HOSTNAME= IP</pre><p>Step:5</p><p>For The Beautification of an application add Native Base.Install Native Base</p><pre>npm install native-base --save</pre><p>Step: 6</p><p><a href="https://docs.nativebase.io/docs/GetStarted.html">The peer dependencies included from any npm packages does not automatically get installed. Your application will not depend on it explicitly.</a></p><pre>react-native link</pre><p>Step:7CRNA</p><p>That helps you make React Native apps with no build configuration. CRNA works on macOS, Windows, and Linux. <br>Refer this link for additional information <a href="https://github.com/react-community/create-react-native-app">CRNA</a></p><pre>yarn add native-base --save</pre><p>Step:8 i<em>nstall @expo/vector-icons</em></p><pre>npm install @expo/vector-icons --save</pre><p>Step:9 Check That your expo sdk version is intalled</p><pre>npm ls expo</pre><p>Now run your App</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=916a0a184138" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Number Only directive in Angular/Ionic]]></title>
            <link>https://medium.com/@Anerivala/number-only-directive-in-angular-ionic-6ebe73a3fcc6?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ebe73a3fcc6</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[ionic]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Thu, 24 May 2018 13:17:04 GMT</pubDate>
            <atom:updated>2018-05-24T13:17:04.240Z</atom:updated>
            <content:encoded><![CDATA[<p>Manytimes happens that user adding space inbetween their input information like for login via Mobile number and password we could add something like this for mobile number(DigitOnly).</p><p>Make extra directive like =&gt; number-only-directive.ts</p><pre>import { Directive, ElementRef, HostListener } from ‘@angular/core’;</pre><pre>@Directive({</pre><pre>selector: ‘[myNumberOnly]’</pre><pre>})</pre><pre>export class NumberOnlyDirective {</pre><pre>@HostListener(‘keypress’)</pre><pre>onkeypress(e) {</pre><pre>let event = e || window.event;</pre><pre>if (event) {</pre><pre>return this.isNumberKey(event);</pre><pre>}</pre><pre>}</pre><pre>isNumberKey(event) {</pre><pre>let charCode = event.which ? event.which : event.keyCode;</pre><pre>if (charCode &gt; 31 &amp;&amp; (charCode &lt; 48 || charCode &gt; 57)) {</pre><pre>return false;</pre><pre>}</pre><pre>return true;</pre><pre>}</pre><pre>}</pre><p>Add Directive to module.ts</p><pre>import { NumberOnlyDirective } from ‘./number-only’;</pre><pre>declarations:[NumberOnlyDirective],</pre><pre>exports:[NumberOnlyDirective]</pre><p>Add this directive selector to your view =&gt; app.html</p><pre>&lt;ion-input type=”tel” formControlName=”phone_no” name=”phone_no” dir=”{{‘LOGIN.DIRECTION’ | translate }}” myNumberOnly&gt;&lt;/ion-input&gt;</pre><p>Ok that’s it ☺</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ebe73a3fcc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In Ionic Framework input field overlaps… :/]]></title>
            <link>https://medium.com/@Anerivala/in-ionic-framework-input-field-overlaps-d5d111a53b55?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5d111a53b55</guid>
            <category><![CDATA[ionic]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Sun, 22 Apr 2018 09:29:39 GMT</pubDate>
            <atom:updated>2018-04-22T09:31:49.718Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s difficult to fill up the form when your keyboard overlaps on your input field.If you’re making from in ionic framework which is quite lengthy at that time you’re input fields are overlap with each other like (You’re not able to focus inputs)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*LC_uSC-xXGrGsTgOBCmuSQ.jpeg" /><figcaption>Form in Ionic</figcaption></figure><p>Now whenever you’re trying to add mobile number it overlaps</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*gvCBq9SpHUCItNNsK6yMkg.jpeg" /><figcaption>Before adding autoFocusAssist</figcaption></figure><p>Resolve that add <a href="https://ionicframework.com/docs/native/keyboard/">https://ionicframework.com/docs/native/keyboard/</a> plugin to ionic application</p><p>and moreover in your module.ts file about imports of IonicModule add this</p><pre>IonicModule.forRoot(MyApp, {</pre><pre>scrollPadding: false,</pre><pre>scrollAssist: true,</pre><pre>autoFocusAssist: true</pre><pre>})</pre><p>So It will be like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*-gCy1Gty5hUh7mNNANZXZQ.jpeg" /><figcaption>After adding</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5d111a53b55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to set Common Validation Message with using of Directive in Angular/Ionic]]></title>
            <link>https://medium.com/@Anerivala/how-to-set-common-validation-message-with-using-of-directive-in-angular-ionic-c0720c415728?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0720c415728</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Tue, 10 Apr 2018 05:32:52 GMT</pubDate>
            <atom:updated>2018-05-04T11:17:16.392Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Why need of Validation?</strong></blockquote><ul><li>Validation of form data is based on the <em>data type</em> you specify for each field when creating a form. For each data type, only a specific set of characters are allowed, and precise validation rules apply.</li><li>During form submission, the user will be invited to modify any input fields found to contain invalid data.</li><li>It is important that form owners choose the correct data type for each field. Selecting an incorrect data type will not pose a security risk, but it may prevent form users from entering legitimate data.</li><li>Visit the form builder help for guidance on selecting the correct data type for each form input field. Note that in many cases, the form creator will pre-select a data type based on the field name you entered.</li></ul><blockquote><strong>To create common validation for throw out your webApp or Mobile Application.Create one file of service as a(validation.ts)</strong></blockquote><pre>import { FormArray, FormControl, FormGroup, ValidationErrors } from &#39;@angular/forms&#39;;<br>export class ValidationService {</pre><pre>static getValidatorErrorMessage(validatorName: string, validatorValue?: any) {</pre><pre>let config = {</pre><pre>&#39;required&#39;: &#39;Required&#39;,</pre><pre>&#39;invalidCreditCard&#39;: &#39;Is invalid credit card number&#39;,</pre><pre>&#39;invalidEmailAddress&#39;: &#39;Invalid email address&#39;,</pre><pre>&#39;invalidPassword&#39;: &#39;Invalid password. Password must be at least 6 characters long, and contain a number.&#39;,</pre><pre>&#39;minlength&#39;: `Minimum length ${validatorValue.requiredLength}`,</pre><pre>&#39;phoneVali&#39;: &#39;Check your phone number&#39;,</pre><pre>&#39;checkPinNumber&#39;: &#39;Check your pin number&#39;</pre><pre>};<br>return config[validatorName];<br>}</pre><pre>static creditCardValidator(control) {</pre><pre>// Visa, MasterCard, American Express, Diners Club, Discover, JCB</pre><pre>if (control.value.match(/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;invalidCreditCard&#39;: true };</pre><pre>}<br>/// Pin code Validators /^([0-9]{5})(?:[-\s]*([0-9]{4}))?$/<br>}</pre><pre>static phoneNumberValidator(control) {</pre><pre>let checkPat = /^\+?([0-9]{2})\)?[-. ]?([0-9]{4})[-. ]?([0-9]{4})$/;</pre><pre>let checkedValue = control.value;</pre><pre>if (checkPat.test(checkedValue)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;phoneVali&#39;: true };</pre><pre>}</pre><pre>}</pre><pre>static passwordValidator(control) {</pre><pre>let checkPat = /^[a-zA-Z0-6]/;</pre><pre>let checkedValue = control.value;</pre><pre>if (checkPat.test(checkedValue)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;invalidPassword&#39;: true };</pre><pre>}</pre><pre>}</pre><pre>static checkEmpty(control) {</pre><pre>let checkPat = /\S/;</pre><pre>let checkedValue = control.value;</pre><pre>if (checkPat.test(checkedValue)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;required&#39;: true };</pre><pre>}</pre><pre>}</pre><pre>static checkPincode(control) {</pre><pre>let checkPat = /^[0-9]{1,6}$/;</pre><pre>let checkedValue = control.value;</pre><pre>if (checkPat.test(checkedValue)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;checkPinNumber&#39;: true };</pre><pre>}</pre><pre>}</pre><pre>static emailValidator(control) {</pre><pre>if (control.value.match(/[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;&#39;*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/)) {</pre><pre>return null;</pre><pre>} else {</pre><pre>return { &#39;invalidEmailAddress&#39;: true };</pre><pre>}</pre><pre> }<br>}</pre><p>Now make a Form Control component of it.(formcontrols.ts)</p><pre>import { Component, Input } from ‘@angular/core’;</pre><pre>import { FormGroup, FormControl } from ‘@angular/forms’;</pre><pre>import { ValidationService } from ‘../../providers/validator’;</pre><pre>@Component({</pre><pre>selector: ‘control-messages’,</pre><pre>template: `&lt;div *ngIf=”errorMessage !== null”&gt;{{errorMessage}}&lt;/div&gt;`</pre><pre>})</pre><pre>export class FormControlComponent {</pre><pre>@Input() control: FormControl;</pre><pre>constructor() { }</pre><pre>get errorMessage() {</pre><pre>for (let propertyName in this.control.errors) {</pre><pre>if (this.control.errors.hasOwnProperty(propertyName) &amp;&amp; this.control.touched) {</pre><pre>return ValidationService.getValidatorErrorMessage(propertyName, this.control.errors[propertyName]);</pre><pre>}</pre><pre>}</pre><pre>return null;</pre><pre>}</pre><pre>}</pre><p>import,declare and add into provider(this gonna use as the service) and add component of that file to module.ts</p><pre>import { ValidationService } from ‘../providers/validator’;<br>import { FormControlComponent } from &#39;../pages/common/formcontrols&#39;;</pre><pre>declarations: [FormControlComponent],<br>providers: [ValidationService]</pre><p>For using it in your component.Use with FormBuilder,FormGroup.First import it over your component.</p><pre>import { ValidationService } from ‘../../../providers/validator’;<br>import { Validators, FormBuilder, FormGroup } from &#39;@angular/forms&#39;;</pre><pre>@Component({<br>   selector: &#39;page-login&#39;,<br>   templateUrl: &#39;login.html&#39;,<br>})</pre><pre>export class LoginPage {<br>private FormGrp: FormGroup;</pre><pre>constructor(public formBuilder: FormBuilder ) { }</pre><pre>this.FormGrp = this.formBuilder.group({<br>   &#39;mobile&#39;: [&#39;&#39;, [ValidationService.phoneVali]],<br>   &#39;enterPaswd&#39;: [&#39;&#39;, [ValidationService.passwordValidator]],<br>});</pre><pre>}</pre><p>add your validation to the form</p><pre>&lt;ion-content padding&gt;</pre><pre>&lt;form (ngSubmit)=”submitForm()” [formGroup]=”FormGrp”&gt;</pre><pre>&lt;ion-list&gt;</pre><pre>&lt;ion-list-header text-capitalize class=”login-title”&gt;</pre><pre>Log In</pre><pre>&lt;/ion-list-header&gt;</pre><pre>&lt;ion-item&gt;</pre><pre>&lt;ion-label text-uppercase color=”secondary” stacked class=”label-size”&gt;mobile number&lt;/ion-label&gt;</pre><pre>&lt;ion-input type=”tel” placeholder=”Enter your mobile number” maxlength=”10&quot; formControlName=”mobile” [(ngModel)]=”formData.mobile”</pre><pre>name=”mobile”&gt;&lt;/ion-input&gt;</pre><pre>&lt;/ion-item&gt;</pre><pre>&lt;control-messages [control]=”FormGrp.controls.mobile”&gt;&lt;/control-messages&gt;</pre><pre>&lt;ion-item&gt;</pre><pre>&lt;ion-label text-uppercase color=”secondary” stacked&gt;Password&lt;/ion-label&gt;</pre><pre>&lt;ion-input type=”password” formControlName=”enterPaswd” placeholder=”Enter your password” [(ngModel)]=”formData.password”</pre><pre>name=”password”&gt;&lt;/ion-input&gt;</pre><pre>&lt;/ion-item&gt;</pre><pre>&lt;control-messages [control]=”FormGrp.controls.enterPaswd”&gt;&lt;/control-messages&gt;</pre><pre>&lt;ion-item&gt;</pre><pre>&lt;ion-note text-uppercase item-right color=”dark” (click)=”forgotPswd()”&gt;Forgot password?&lt;/ion-note&gt;</pre><pre>&lt;/ion-item&gt;</pre><pre>&lt;/ion-list&gt;</pre><pre>&lt;/form&gt;</pre><pre>&lt;ion-row&gt;</pre><pre>&lt;ion-col&gt;</pre><pre>&lt;button ion-button round color=”light” (click)=”signUp()” text-capitalize&gt;Sign up&lt;/button&gt;</pre><pre>&lt;/ion-col&gt;</pre><pre>&lt;ion-col&gt;</pre><pre>&lt;button ion-button round (click)=”submitForm()” [disabled]=”!FormGrp.valid” text-capitalize&gt;Log in&lt;/button&gt;</pre><pre>&lt;/ion-col&gt;</pre><pre>&lt;/ion-row&gt;</pre><pre>&lt;/ion-content&gt;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0720c415728" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Global Value for Angular]]></title>
            <link>https://medium.com/@Anerivala/setting-global-value-for-angular-b2362109bdfe?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2362109bdfe</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[angular2]]></category>
            <category><![CDATA[ionic-framework]]></category>
            <category><![CDATA[angular-4]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Tue, 27 Mar 2018 06:43:32 GMT</pubDate>
            <atom:updated>2018-03-27T06:44:22.813Z</atom:updated>
            <content:encoded><![CDATA[<p>In general if we are using some 3rd parties api like (YouTube, Fire base, bitly) and some in services of our where main URL that remains constant and other parameters has changing approximately at that time we can setting up our some of constant like this in our Application.</p><p><strong><em>Make Different class of it in mine I setting up things in app folder of angular/ionic as (app.setting.ts)</em></strong></p><blockquote>export class AppSettings {</blockquote><blockquote>public static API_URL=’http://www.yourapiurl.com/api/&#39;;</blockquote><blockquote>}</blockquote><p><strong>Now you can fetch your API_URL in your component(Controller) or in your services via import that class file(app.component.ts)</strong></p><blockquote>import { AppSettings } from ‘../../app/app.setting’;</blockquote><p><strong>And now you can access that variable in you constructor like.(app.component.ts)</strong></p><blockquote>constructor(public navCtrl: NavController, public navParams: NavParams) {</blockquote><blockquote>console.log(AppSettings.API_URL);</blockquote><blockquote>}</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2362109bdfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disable(Validate your dates) past date in ionic]]></title>
            <link>https://medium.com/@Anerivala/disable-validate-your-dates-past-date-in-ionic-32b54c3e13ac?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/32b54c3e13ac</guid>
            <category><![CDATA[ionic]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Thu, 22 Mar 2018 09:44:24 GMT</pubDate>
            <atom:updated>2018-03-31T05:56:24.865Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>I tried to set disable past date via allowOldDates:false but it didn’t work so I set something like this.</strong></p><p>In component controller file(.ts) Adding two more days in today’s day</p><blockquote>today = new Date();</blockquote><blockquote>this.today.setDate(this.today.getDate() + 3);</blockquote><blockquote>this.dateTill = this.today.toISOString().substr(0, 10);</blockquote><p>And I bind that variable dateTill in my view File(.html)</p><blockquote>&lt;ion-item&gt;</blockquote><blockquote>&lt;ion-datetime displayFormat=”DD MMM YYYY” min=”{{dateTill}}” max=”2020–10–31&quot; [(ngModel)]=” <em>dateTill</em>”&gt;&lt;/ion-datetime&gt;</blockquote><blockquote>&lt;ion-icon name=”ios-calendar-outline” color=”secondary” item-right&gt;&lt;/ion-icon&gt;</blockquote><blockquote>&lt;/ion-item&gt;</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32b54c3e13ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some bollywood songs that make you feel relaxed!]]></title>
            <link>https://medium.com/@Anerivala/some-bollywood-songs-that-that-make-you-feel-relaxed-d67513587f57?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d67513587f57</guid>
            <category><![CDATA[songs]]></category>
            <category><![CDATA[movies]]></category>
            <category><![CDATA[chilling]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 18:22:00 GMT</pubDate>
            <atom:updated>2018-01-26T03:30:07.892Z</atom:updated>
            <content:encoded><![CDATA[<p>Which I like the most too:)</p><ol><li>Ilahi from the movie Yeh jawani haie dewani</li><li>Phir se Ud Chala from the movie Rockstar</li><li>Moh Moh ke Dhaage from the movie Dum laga ke haisha</li><li>Safarnama from the movie Tamasha</li><li>Haawa Haawa from the movie Rockstar</li><li>Matargashti from the movie Tamasha</li><li>Ok Jaanu from the movie Ok Jaanu</li><li>Tere naina from the movie My name is khan</li><li>Ankho mein from the movie We are family</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d67513587f57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Search Javascript!]]></title>
            <link>https://medium.com/@Anerivala/linear-search-javascript-3f0595bdce68?source=rss-6bd4f08fc21a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f0595bdce68</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Aneri vala]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 17:53:18 GMT</pubDate>
            <atom:updated>2018-01-24T17:56:19.056Z</atom:updated>
            <content:encoded><![CDATA[<p>Finding requested value from the array in linear method with javascript.</p><p>Create your array</p><blockquote>var items = [“Test1”, “Test2”, “Test3”, “Test4”, “Test3”,”Test6&quot;,”Test7&quot;,”Test8&quot;,”Test9&quot;,”Test10&quot;];</blockquote><p>Find index of the requested itemName</p><blockquote>function LinearSearch(itemName) {</blockquote><blockquote>return items.indexOf(itemName) !== -1 ? items.indexOf(itemName) : ‘Requested item not found’;</blockquote><blockquote>}</blockquote><p>Check your requested value is exist or not</p><blockquote>var checkResult= linearSearch(items, “Test3”);</blockquote><blockquote>console.log(checkResult);</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f0595bdce68" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>