<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Larry</title>
    <description>The latest articles on DEV Community by Larry (@larrydanny).</description>
    <link>https://dev.to/larrydanny</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F554862%2F36a6fed1-aa89-49ae-8342-767dc46ea140.jpeg</url>
      <title>DEV Community: Larry</title>
      <link>https://dev.to/larrydanny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/larrydanny"/>
    <language>en</language>
    <item>
      <title>AI Prompt Beginner vs Pro</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Sun, 15 Jun 2025 04:20:22 +0000</pubDate>
      <link>https://dev.to/larrydanny/ai-prompt-beginner-vs-pro-1o5n</link>
      <guid>https://dev.to/larrydanny/ai-prompt-beginner-vs-pro-1o5n</guid>
      <description>&lt;p&gt;1️⃣ Expert Persona Approach&lt;br&gt;
❌ Beginner: “Rewrite this.”&lt;br&gt;
✅ Pro: “Rewrite this as a senior copywriter at Apple with 15+ years of experience in persuasive storytelling. Use industry-specific language, compelling phrasing, and a narrative that keeps readers engaged while subtly driving action.”&lt;br&gt;
2️⃣ Flaw Finder Technique&lt;br&gt;
❌ Beginner: “Fix this.”&lt;br&gt;
✅ Pro: “Fix this by identifying weak areas in clarity, structure, and engagement. Reshape the language for precision, enhance flow, and elevate the impact without losing the original tone.”&lt;br&gt;
3️⃣ Precision Upgrade Method&lt;br&gt;
❌ Beginner: “Make it better.”&lt;br&gt;
✅ Pro: “Refine clarity, amplify persuasion, and strengthen emotional appeal. Optimize word choice, add rhythm, and structure it for max engagement.”&lt;br&gt;
4️⃣ Targeted Refinement Formula&lt;br&gt;
❌ Beginner: “Improve this.”&lt;br&gt;
✅ Pro: “Improve this for [target audience] — sharpen message, adjust tone, and restructure it for clarity and persuasiveness.”&lt;br&gt;
5️⃣ Power Summary Trick&lt;br&gt;
❌ Beginner: “Summarize this.”&lt;br&gt;
✅ Pro: “Summarize into a crisp tweet-length sentence that sparks curiosity. Give a second version for high retention.”&lt;br&gt;
6️⃣ Crystal Clear Breakdown&lt;br&gt;
❌ Beginner: “Explain this.”&lt;br&gt;
✅ Pro: “Explain with an analogy, metaphor, or vivid storytelling so it's engaging yet deep.”&lt;br&gt;
7️⃣ Idea Generator Hack&lt;br&gt;
❌ Beginner: “Give me ideas.”&lt;br&gt;
✅ Pro: “Give me 10 unique, high-impact ideas for [topic], each with a compelling hook or differentiator.”&lt;br&gt;
8️⃣ Engaging Response Blueprint&lt;br&gt;
❌ Beginner: “Write a response.”&lt;br&gt;
✅ Pro: “Make it dynamic, persuasive, and emotionally engaging with storytelling and rhetorical devices.”&lt;br&gt;
9️⃣ Expert Tone Transformation&lt;br&gt;
❌ Beginner: “Make it sound professional.”&lt;br&gt;
✅ Pro: “Refine structure, enhance precision, and elevate authority to suit a high-level audience.”&lt;br&gt;
🔟 Step-by-Step Mentor Strategy&lt;br&gt;
❌ Beginner: “Help me with this.”&lt;br&gt;
✅ Pro: “Break it down into a step-by-step guide with best practices, tips, and common pitfalls.”&lt;/p&gt;

</description>
      <category>ai</category>
      <category>promptengineering</category>
      <category>openai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>6 Golden Rules To Write Clean Code</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Sat, 10 May 2025 02:48:06 +0000</pubDate>
      <link>https://dev.to/larrydanny/6-golden-rules-to-write-clean-code-26me</link>
      <guid>https://dev.to/larrydanny/6-golden-rules-to-write-clean-code-26me</guid>
      <description>&lt;p&gt;If you want to write clean code, learn these 6 rules:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Separation of Concerns (SOC)&lt;br&gt;
=&amp;gt; Break down a complex program into smaller units.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Document Your Code (DYC)&lt;br&gt;
=&amp;gt; Write code for your future self and others.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Don't Repeat Yourself (DRY)&lt;br&gt;
=&amp;gt; Don't waste time writing the same code again.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep It Simple, Stupid (KISS)&lt;br&gt;
=&amp;gt; Simple is hard, but better.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test Driven Development (TDD)&lt;br&gt;
=&amp;gt; Write a failing test first and code to make the test pass.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You Ain't Gonna Need It (YAGNI)&lt;br&gt;
=&amp;gt; Build only essential features.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>cleancode</category>
      <category>coding</category>
      <category>programming</category>
      <category>performance</category>
    </item>
    <item>
      <title>customize your zsh </title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Thu, 07 Oct 2021 17:53:05 +0000</pubDate>
      <link>https://dev.to/larrydanny/customize-your-zsh-1ab8</link>
      <guid>https://dev.to/larrydanny/customize-your-zsh-1ab8</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyj24ak80bkspdsqifqzh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyj24ak80bkspdsqifqzh.png" alt="Alt customize zsh"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When someone wants to customize own mac zsh terminal and use color for each text also wants to show git branch name then you can add below code in your &lt;code&gt;.zshrc&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Git branch in prompt.
parse_git_branch() {
    git branch 2&amp;gt; /dev/null | sed -n -e 's/^\* \(.*\)/[\1]/p'
}

setopt PROMPT_SUBST
export PROMPT='%F{cyan}%n@%M:~ %F{yellow}%. %F{green}$(parse_git_branch)%f %F{normal}$%f '
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here,&lt;br&gt;
%n =&amp;gt; mac username&lt;br&gt;
%M =&amp;gt; mac computer name&lt;br&gt;
%. =&amp;gt; current folder name&lt;br&gt;
$(parse_git_branch)%f =&amp;gt; git branch name (if working in git repo)&lt;/p&gt;

</description>
      <category>zsh</category>
      <category>mac</category>
      <category>terminal</category>
      <category>github</category>
    </item>
    <item>
      <title>Netfilx clone with reactjs</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Tue, 15 Jun 2021 15:22:12 +0000</pubDate>
      <link>https://dev.to/larrydanny/netfilx-clone-with-reactjs-19e4</link>
      <guid>https://dev.to/larrydanny/netfilx-clone-with-reactjs-19e4</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rp70wisH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztyd4xkb04rmetob9hem.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rp70wisH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ztyd4xkb04rmetob9hem.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today I completed a simple project Netflix cloning where I used react JS. You can visit my git repo and there have a demo link.&lt;/p&gt;

&lt;p&gt;check on my git &lt;a href="https://tinyurl.com/ea2rjezy"&gt;repo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>netflix</category>
      <category>react</category>
      <category>clone</category>
    </item>
    <item>
      <title>How to remove the falsy value attribute from object</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Thu, 08 Apr 2021 13:47:00 +0000</pubDate>
      <link>https://dev.to/larrydanny/how-to-remove-the-falsy-value-attribute-from-object-j2</link>
      <guid>https://dev.to/larrydanny/how-to-remove-the-falsy-value-attribute-from-object-j2</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy879rhf336kt58thaxqi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy879rhf336kt58thaxqi.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sometimes we want to remove null, empty, undefined, false value attribute from an object. we can do this using the below method.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const removeFalsyElement = object =&amp;gt; {
  const newObject = {};
  Object.keys(object).forEach(key =&amp;gt; {
    if (object[key]) {
      newObject[key] = object[key];
    }
  });
  return newObject;
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;assume my object like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const myObject = {
  withValue: "have some value",
  withNumber: 1234,
  nullValue: null,
  undefinedValue: undefined,
  emptyValue: "",
  falseValue: false
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and want to return those attribute which has actual value.&lt;br&gt;
usage&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log(removeFalsyElement(myObject));
// output: Object { withValue: "have some value", withNumber: 1234 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>javascript</category>
      <category>es6</category>
      <category>object</category>
      <category>falsyelement</category>
    </item>
    <item>
      <title>Learning Python</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Fri, 02 Apr 2021 16:45:38 +0000</pubDate>
      <link>https://dev.to/larrydanny/learning-python-j08</link>
      <guid>https://dev.to/larrydanny/learning-python-j08</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FOgrZ48O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s353bbvkloivn6oc5o7t.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FOgrZ48O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s353bbvkloivn6oc5o7t.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Topics&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Hello World&lt;/li&gt;
&lt;li&gt; Variables&lt;/li&gt;
&lt;li&gt; Strings&lt;/li&gt;
&lt;li&gt; Formatted Strings&lt;/li&gt;
&lt;li&gt; Strings Method&lt;/li&gt;
&lt;li&gt; Operations&lt;/li&gt;
&lt;li&gt; Math Functions&lt;/li&gt;
&lt;li&gt; Comparison Operators&lt;/li&gt;
&lt;li&gt; Logical Operators&lt;/li&gt;
&lt;li&gt;Input&lt;/li&gt;
&lt;li&gt;If Statement&lt;/li&gt;
&lt;li&gt;While Loop&lt;/li&gt;
&lt;li&gt;Car Example With While Loop&lt;/li&gt;
&lt;li&gt;Weight Converter&lt;/li&gt;
&lt;li&gt;Type Conversion&lt;/li&gt;
&lt;li&gt;For Loop&lt;/li&gt;
&lt;li&gt;Nested Loop&lt;/li&gt;
&lt;li&gt;Lists&lt;/li&gt;
&lt;li&gt;Lists Method&lt;/li&gt;
&lt;li&gt;2D Lists&lt;/li&gt;
&lt;li&gt;Tuples&lt;/li&gt;
&lt;li&gt;Unpacking&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Find some basic code &lt;a href="https://tinyurl.com/jduewy3e"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>learning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>connect microsoft dynamic365 using nodejs and axios</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Mon, 29 Mar 2021 14:57:50 +0000</pubDate>
      <link>https://dev.to/larrydanny/connect-microsoft-dynamic365-using-nodejs-and-axios-5c79</link>
      <guid>https://dev.to/larrydanny/connect-microsoft-dynamic365-using-nodejs-and-axios-5c79</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxalmpfi04gdkdmvjxy6p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxalmpfi04gdkdmvjxy6p.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  node-crm
&lt;/h1&gt;

&lt;p&gt;connect microsoft dynamic365 using nodejs and axios&lt;/p&gt;

&lt;h1&gt;
  
  
  packages
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;adal-node&lt;/code&gt;: Windows Azure Active Directory Authentication Library (ADAL) for Node.js. This library makes it easy for node.js applications to authenticate to AAD in order to access AAD protected web resources.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;axios&lt;/code&gt;: Promise based HTTP client for the browser and node.js&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;dotenv&lt;/code&gt;: Dotenv is a zero-dependency module that loads environment variables from a &lt;code&gt;.env&lt;/code&gt; file. To get the value use &lt;code&gt;process.env.VARIABLE_NAME&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  how to use
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Download the zip files&lt;/li&gt;
&lt;li&gt;add a &lt;code&gt;.env&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;add below variable with proper value
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;API_VERSION=version_of_your_api
APPLICATION_ID=your_api_application_id
AUTHORITY_HOST=your_api_host_url
CLIENT_SECRET=your_api_secret
TENANT=your_api_tenant
RESOURCE=your_api_url
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Now, &lt;code&gt;npm i&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;then, &lt;code&gt;npm start&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;check on my git &lt;a href="https://tinyurl.com/yz9p8kj9" rel="noopener noreferrer"&gt;repo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>microsoftdynamic365</category>
      <category>axios</category>
      <category>crm</category>
    </item>
    <item>
      <title>Learning process in Javascript</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Fri, 26 Mar 2021 15:00:52 +0000</pubDate>
      <link>https://dev.to/larrydanny/learning-process-in-javascript-2gcg</link>
      <guid>https://dev.to/larrydanny/learning-process-in-javascript-2gcg</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8FPPUA_U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/52fegaxqf7j4pskv33dh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8FPPUA_U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/52fegaxqf7j4pskv33dh.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Need to learn properly&lt;br&gt;
    1.  var, let, const&lt;br&gt;
    2.  type conversion&lt;br&gt;
    3.  Loops&lt;br&gt;
    4.  Conditions&lt;br&gt;
    5.  this keyword&lt;br&gt;
    6.  class&lt;br&gt;
    7.  object-oriented programming&lt;br&gt;
    8.  imports/export&lt;br&gt;
    9.  Recursion&lt;br&gt;
    10. Closures&lt;br&gt;
    11. arrow functions&lt;br&gt;
    12. Spread operator&lt;br&gt;
    13. destructing&lt;br&gt;
    14. map, filter, reduce&lt;br&gt;
    15. Asynchronous programming&lt;br&gt;
    16. Promises&lt;br&gt;
    17. Async and await&lt;br&gt;
    18. Scope of variables&lt;br&gt;
    19. Naming conventions in JS&lt;br&gt;
    20. error handling in javascript&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>learn</category>
      <category>errors</category>
      <category>operators</category>
    </item>
    <item>
      <title>Address Validation</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Wed, 24 Mar 2021 17:52:57 +0000</pubDate>
      <link>https://dev.to/larrydanny/address-validation-meb</link>
      <guid>https://dev.to/larrydanny/address-validation-meb</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--X7Und6XC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6lw5osmtypgl8437d3mf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--X7Und6XC--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6lw5osmtypgl8437d3mf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Accepts at least one number and no special characters in the jquery validate plugin.&lt;/p&gt;

&lt;p&gt;you can find code &lt;a href="https://tiny.one/fan7twkj"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>jquery</category>
      <category>jqueryvalidatejs</category>
      <category>addressvalidate</category>
      <category>regx</category>
    </item>
    <item>
      <title>use javascript Date()</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Wed, 24 Mar 2021 05:32:05 +0000</pubDate>
      <link>https://dev.to/larrydanny/use-javascript-date-1ncl</link>
      <guid>https://dev.to/larrydanny/use-javascript-date-1ncl</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FB3zjzI8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vy67zukfn6hf5g2xcp4l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FB3zjzI8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vy67zukfn6hf5g2xcp4l.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do we get current date using Date() function?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;var date = new Date();
console.log("Today's date is:", date);

// Today's date is: Tue Mar 23 2021 23:14:47 GMT+0600 (Bangladesh Standard Time)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here output will give with GMT and timezone.&lt;br&gt;
If we want to grab specific value then we need to use some method like getMonth(), getDate(), getFullYear() etc...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log("Today's date is " + date.getMonth() + "/" + date.getDate() + "/" + date.getFullYear());
// Today's date is 2/23/2021
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, getMonth() return month index and it is start with 0 that why month says 2 instead of 3 . So, if we get correct month, we have to add 1 with the method.&lt;br&gt;
getDate() return current date.&lt;br&gt;
getFullYear() return 4 digits of current year.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;console.log("Today's date is " + (date.getMonth() + 1) + "/" + date.getDate() + "/" + date.getFullYear());
// Today's date is 3/23/2021
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thanks&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>datefunction</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Pie Chart in Python</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Wed, 24 Mar 2021 05:26:56 +0000</pubDate>
      <link>https://dev.to/larrydanny/pie-chart-in-python-1pf8</link>
      <guid>https://dev.to/larrydanny/pie-chart-in-python-1pf8</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--joZJDEEt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3i5s19xi7izgn5fdd8xu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--joZJDEEt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3i5s19xi7izgn5fdd8xu.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Pie Chart?&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A pie chart is a type of graph that represents the data in the circular graph.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;How to plot?&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import matplotlib as mpl
import matplotlib.pyplot as plt

dataframe["Total"].plot(kind="pie") // here "Total" is data table column name

plt.title("Pie Chart")
plt.show()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Thanks&lt;/p&gt;

</description>
      <category>python</category>
      <category>piechart</category>
      <category>matplotlib</category>
      <category>graph</category>
    </item>
    <item>
      <title>Could not find tools.jar</title>
      <dc:creator>Larry</dc:creator>
      <pubDate>Mon, 22 Feb 2021 05:00:47 +0000</pubDate>
      <link>https://dev.to/larrydanny/could-not-find-tools-jar-4363</link>
      <guid>https://dev.to/larrydanny/could-not-find-tools-jar-4363</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fml7gq7fsido8wrr5o824.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fml7gq7fsido8wrr5o824.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br&gt;
Execution failed for task ':react-native-gesture-handler:compileDebugJavaWithJavac'.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to your project, open android folder &amp;gt; gradle.properties file &amp;gt; add below line
&lt;code&gt;org.gradle.java.home=/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home&lt;/code&gt; // path to JDK&lt;/li&gt;
&lt;li&gt;run your project again
&lt;code&gt;react-native run-android&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Thanks&lt;/p&gt;

</description>
      <category>errors</category>
      <category>mac</category>
      <category>reactnative</category>
      <category>jdk</category>
    </item>
  </channel>
</rss>
