<?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: Vishnu Damwala</title>
    <description>The latest articles on DEV Community by Vishnu Damwala (@cooldashing24).</description>
    <link>https://dev.to/cooldashing24</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F268806%2Fe047c5dc-0980-4043-89f6-d2a637e36d38.jpeg</url>
      <title>DEV Community: Vishnu Damwala</title>
      <link>https://dev.to/cooldashing24</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cooldashing24"/>
    <language>en</language>
    <item>
      <title>Google Gemini Hacks to Maximize Your AI Productivity</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Fri, 26 Jun 2026 07:19:16 +0000</pubDate>
      <link>https://dev.to/cooldashing24/google-gemini-hacks-to-maximize-your-ai-productivity-5ck0</link>
      <guid>https://dev.to/cooldashing24/google-gemini-hacks-to-maximize-your-ai-productivity-5ck0</guid>
      <description>&lt;p&gt;Google Gemini is integrated across Docs, Sheets, Gmail, and Google Search. However, most users only run basic, one-off prompts. By configuring a few settings, you can convert the chatbot into an autonomous workspace assistant.&lt;/p&gt;

&lt;p&gt;Here is the checklist of the best Gemini hacks for daily productivity:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Frame Prompts with Expert Roleplay
&lt;/h2&gt;

&lt;p&gt;Steer the model's sources by asking it to identify what experts say rather than asking for general advice.&lt;br&gt;
&lt;em&gt;Example:&lt;/em&gt; &lt;em&gt;“Who are the leading medical experts on [topic] and what do they say about it?”&lt;/em&gt; rather than &lt;em&gt;“what is [topic].”&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Set Up Custom Instructions
&lt;/h2&gt;

&lt;p&gt;Go to &lt;strong&gt;Personal Intelligence &amp;gt; Instructions for Gemini&lt;/strong&gt; in settings to save permanent styling guidelines, code rules, and text limits that apply to all future chats.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Create Custom Bots with Gems
&lt;/h2&gt;

&lt;p&gt;Use the &lt;strong&gt;Gems&lt;/strong&gt; feature (for Advanced subscribers) to construct isolated chatbots with specific instructions (e.g., a code auditor or draft editor) to keep your main chat feed organized.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Automate Errands with Scheduled Actions
&lt;/h2&gt;

&lt;p&gt;Schedule recurring prompts (like daily calendar summaries or email briefs) to run automatically under settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Enable Temporary Chats
&lt;/h2&gt;

&lt;p&gt;Click the pencil icon in a dotted circle in the top-right corner to open private chats. These are deleted after 72 hours and are not used to train Google's models.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Command High-Quality Citations
&lt;/h2&gt;

&lt;p&gt;Include rules asking the model to only link to primary sources, research papers, and respectable institutions, filtering out search-engine-optimized spam.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Edit Side-by-Side in Gemini Canvas
&lt;/h2&gt;

&lt;p&gt;Use the Canvas split-screen layout to edit specific paragraphs or code blocks directly in your workspace without generating unnecessary code boilerplate.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Wrap Code in XML Tags
&lt;/h2&gt;

&lt;p&gt;Take advantage of Gemini's 2-million-token context window by uploading whole repositories wrapped in structured XML tags like &lt;code&gt;&amp;lt;source_code&amp;gt;&lt;/code&gt; to maintain organization.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://meshworld.in/blog/hacks/google-gemini/" rel="noopener noreferrer"&gt;Read the complete guide with setup steps and configurations on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>🚀 Connect Hermes Agent to Discord: Step-by-Step Gateway Setup</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Tue, 23 Jun 2026 14:18:10 +0000</pubDate>
      <link>https://dev.to/cooldashing24/connect-hermes-agent-to-discord-step-by-step-gateway-setup-5943</link>
      <guid>https://dev.to/cooldashing24/connect-hermes-agent-to-discord-step-by-step-gateway-setup-5943</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Connect Hermes Agent to Discord: Step-by-Step Gateway Setup
&lt;/h1&gt;

&lt;p&gt;In the recently released v0.17.0 "Reach Release" of Hermes Agent (the open-source autonomous agent framework by Nous Research), setting up platform connections (like Discord, Telegram, and Slack) has migrated to a local browser-based Web Admin Panel, deprecating the older terminal wizards.&lt;/p&gt;

&lt;p&gt;Here is the quick checklist to connect your agent to Discord:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Discord Developer Portal Config
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Create a new application at the &lt;a href="https://discord.com/developers/applications" rel="noopener noreferrer"&gt;Discord Developer Portal&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Under the &lt;strong&gt;Bot&lt;/strong&gt; tab, generate and copy your &lt;strong&gt;Bot Token&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Scroll down and enable all three &lt;strong&gt;Privileged Gateway Intents&lt;/strong&gt; (Presence Intent, Server Members Intent, and Message Content Intent). &lt;em&gt;Warning:&lt;/em&gt; Message Content Intent is critical; if disabled, the bot cannot read your messages to respond.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Invite the Bot
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Under &lt;strong&gt;Installation&lt;/strong&gt;, configure default scopes to include &lt;code&gt;bot&lt;/code&gt; and &lt;code&gt;applications.commands&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Check required bot permissions: Send Messages, Read Message History, Send Messages in Threads, View Channel, Add Reactions.&lt;/li&gt;
&lt;li&gt;Use the generated install link to invite the bot to your Discord server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Configure via Hermes Web UI
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;In your terminal, start the local panel:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes dashboard
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Open &lt;code&gt;http://127.0.0.1:9119&lt;/code&gt; in your browser.&lt;/li&gt;
&lt;li&gt;Go to the &lt;strong&gt;Gateways&lt;/strong&gt; tab, click &lt;strong&gt;Discord&lt;/strong&gt;, paste your Bot Token, and hit Save. (You can also set a specific Channel ID filter to prevent the bot from reading all channels).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Launch the Bridge
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Start Gateway&lt;/strong&gt; in the dashboard, or run:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes gateway start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Verify status with:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  hermes gateway status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://meshworld.in/blog/ai/agents/hermes-agent-discord-setup/" rel="noopener noreferrer"&gt;Read the complete gateway setup guide with custom start parameters and troubleshooting details on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>opensource</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>🎤 Voice Control &amp; Dictation: Hands-Free macOS Productivity 🚀</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Tue, 19 May 2026 19:02:11 +0000</pubDate>
      <link>https://dev.to/cooldashing24/voice-control-dictation-hands-free-macos-productivity-255a</link>
      <guid>https://dev.to/cooldashing24/voice-control-dictation-hands-free-macos-productivity-255a</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Scenario:&lt;/strong&gt; Your hands are full. You're cooking and need to send a quick message. You're experiencing typing strain from a long session. You think faster than you type. The keyboard isn't always the best input method.&lt;/p&gt;

&lt;p&gt;macOS includes two voice technologies that transform how you interact with your Mac.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Dictation: Speech to Text
&lt;/h2&gt;

&lt;p&gt;Convert spoken words into typed text in any app. Enable in System Settings &amp;gt; Keyboard &amp;gt; Dictation. Trigger with double-tap Control. Private, on-device processing with Apple Silicon accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Voice Control: Navigate Hands-Free
&lt;/h2&gt;

&lt;p&gt;More than dictation—full voice navigation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Open Safari" → Launches browser&lt;/li&gt;
&lt;li&gt;"Click Send" → Triggers button&lt;/li&gt;
&lt;li&gt;"Scroll down" → Page navigation&lt;/li&gt;
&lt;li&gt;"Select all, delete that" → Text editing&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Custom Commands
&lt;/h2&gt;

&lt;p&gt;Create voice shortcuts for complex workflows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Start work" → Open specific apps and arrange windows&lt;/li&gt;
&lt;li&gt;"Take a break" → Pause music, set timer&lt;/li&gt;
&lt;li&gt;"Save draft" → Trigger save action&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Formatting Control
&lt;/h2&gt;

&lt;p&gt;Voice Control handles numbers, symbols, and formatting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Insert dollar sign"&lt;/li&gt;
&lt;li&gt;"Type 42"&lt;/li&gt;
&lt;li&gt;"New paragraph"&lt;/li&gt;
&lt;li&gt;"Cap that" (capitalize next word)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://meshworld.in/blog/macos/voice-control-dictation/" rel="noopener noreferrer"&gt;Read the full deep-dive on MeshWorld&lt;/a&gt;&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>productivity</category>
      <category>tooling</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Ollama Cheat Sheet: Local LLMs, Models, API &amp; Integration (2026)</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Tue, 19 May 2026 18:58:47 +0000</pubDate>
      <link>https://dev.to/cooldashing24/ollama-cheat-sheet-local-llms-models-api-integration-2026-5a0f</link>
      <guid>https://dev.to/cooldashing24/ollama-cheat-sheet-local-llms-models-api-integration-2026-5a0f</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ollama runs open LLMs locally: Llama 3.3, Mistral, Gemma, DeepSeek, Qwen, Phi, and vision models&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ollama run llama3.3&lt;/code&gt; — pull and start in one command&lt;/li&gt;
&lt;li&gt;REST API on &lt;code&gt;localhost:11434&lt;/code&gt; — chat completions, generate, embeddings&lt;/li&gt;
&lt;li&gt;Python and JavaScript libraries for integration&lt;/li&gt;
&lt;li&gt;Modelfile for customizing system prompts, temperature, and context window&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ollama made local LLMs accessible to anyone who could run a Docker container. No Hugging Face model downloads to manage manually. No inference server configuration. &lt;code&gt;ollama run llama3.3&lt;/code&gt; downloads the model and opens a chat session. It has become the standard way to run open models locally, with a library of thousands of community models on top of the official catalog.&lt;/p&gt;




&lt;h2&gt;
  
  
  Quick Start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install (macOS, Linux, Docker)&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh

&lt;span class="c"&gt;# Pull and run a model&lt;/span&gt;
ollama run llama3.3

&lt;span class="c"&gt;# Run a single prompt&lt;/span&gt;
ollama run llama3.3 &lt;span class="s2"&gt;"Explain Docker containers in one sentence."&lt;/span&gt;

&lt;span class="c"&gt;# REST API&lt;/span&gt;
curl http://localhost:11434/api/chat &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
  "model": "llama3.3:8b",
  "messages": [{"role": "user", "content": "Hello"}],
  "stream": false
}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Popular Models (May 2026)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Size&lt;/th&gt;
&lt;th&gt;Memory&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llama3.3:70b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;70B&lt;/td&gt;
&lt;td&gt;~128GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llama3.3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;deepseek-r1:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;qwen3:8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8B&lt;/td&gt;
&lt;td&gt;~8GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;gemma3:4b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;4B&lt;/td&gt;
&lt;td&gt;~4GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;phi4:3.8b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;3.8B&lt;/td&gt;
&lt;td&gt;~4GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;llava:7b&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;7B&lt;/td&gt;
&lt;td&gt;~12GB VRAM&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Python Integration
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;ollama
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;

&lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;llama3.3:8b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;system&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;You are a code reviewer.&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Review: def add(a, b): return a + b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;

&lt;span class="c1"&gt;# Streaming
&lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ollama&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;llama3.3:8b&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                          &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Hello&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;}]):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;end&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;''&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;flush&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://meshworld.in/blog/cheatsheets/ollama-cheatsheet/" rel="noopener noreferrer"&gt;meshworld.in&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>pgaichallenge</category>
      <category>localai</category>
      <category>python</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>Claude Opus 4.7: The Good, The Weird, and The Why Your Prompts Just Broke</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Fri, 17 Apr 2026 09:01:16 +0000</pubDate>
      <link>https://dev.to/cooldashing24/claude-opus-47-the-good-the-weird-and-the-why-your-prompts-just-broke-1me6</link>
      <guid>https://dev.to/cooldashing24/claude-opus-47-the-good-the-weird-and-the-why-your-prompts-just-broke-1me6</guid>
      <description>&lt;h2&gt;
  
  
  Claude Opus 4.7: What Actually Matters for Developers
&lt;/h2&gt;

&lt;p&gt;Anthropic dropped Claude Opus 4.7 and—plot twist—they admitted it's not their best work. The real beast, Claude Mythos, is locked behind a waitlist because it's "too capable at cybersecurity." Everyone else gets the "safe" version.&lt;/p&gt;

&lt;p&gt;Here's what actually matters for developers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SWE-bench Pro: 64.3%&lt;/strong&gt; — Up from 53.4%. The gap between 4.6 and 4.7 is bigger than the gap between 4.6 and GPT-5.4 combined.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vision: 2,576px&lt;/strong&gt; — Triple the resolution. Your blurry 2 AM screenshots finally make sense.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompts are dead&lt;/strong&gt; — "Make it better" does nothing. 4.7 needs a spec, not vibes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same price, more tokens&lt;/strong&gt; — Tokenizer uses 0-35% more tokens. Your bill will go up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cyber capabilities locked&lt;/strong&gt; — Pentesters need to apply for access. The model refuses security exploits by default.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Only Benchmark That Matters
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;SWE-bench Pro&lt;/th&gt;
&lt;th&gt;SWE-bench Verified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Claude Opus 4.7&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;64.3%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;87.6%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GPT-5.4&lt;/td&gt;
&lt;td&gt;57.7%&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gemini 3.1 Pro&lt;/td&gt;
&lt;td&gt;54.2%&lt;/td&gt;
&lt;td&gt;80.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Opus 4.6&lt;/td&gt;
&lt;td&gt;53.4%&lt;/td&gt;
&lt;td&gt;80.8%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;SWE-bench isn't abstract—it's real GitHub issues from Django, scikit-learn, and matplotlib. The model has to understand a codebase, find bugs, write fixes, and verify they work. This is the "can this actually help me ship code" benchmark.&lt;/p&gt;

&lt;p&gt;The 10.9 point jump from 4.6 to 4.7 means fewer "please try again" moments at 2 AM.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can It Actually Code For Hours Without You Watching?
&lt;/h3&gt;

&lt;p&gt;This is the main event. 4.7 claims 14% improvement in multi-step agentic tasks with one-third the tool errors. It coordinates multiple workstreams in parallel and passes "implicit-need tests" where it figures out what tools it needs without you explicitly telling it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The scenario:&lt;/strong&gt; It's 11 PM. You've been avoiding refactoring your auth system for three months because it's 200+ files of spaghetti. You fire up Claude Code with Opus 4.7, describe what you want, and go to bed.&lt;/p&gt;

&lt;p&gt;With 4.6, you'd wake up to a half-finished disaster or subtle bugs that'd hit production at the worst moment. With 4.7, it sustains focus across the entire codebase, coordinates changes across multiple files, catches its own mistakes, and keeps going through tool failures that would have stopped 4.6 dead.&lt;/p&gt;

&lt;p&gt;I tested a 4-hour session. It held coherent context the entire time. The degradation that used to happen? Gone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vision That Actually Works
&lt;/h3&gt;

&lt;p&gt;Previous Claude models capped at 1,568 pixels (~1.15MP). Opus 4.7 handles 2,576 pixels / 3.75 megapixels. That's dense enough to read fine print in diagrams and extract data from complex charts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The scenario:&lt;/strong&gt; It's 2 AM. Production is on fire. Your error logs are a wall of red text across three monitors. You screenshot the chaos, paste it to Claude, and pray.&lt;/p&gt;

&lt;p&gt;At 4.6's resolution, it might miss the critical line buried in the noise—the database timeout causing the cascade, not the prominent auth errors. At 4.7's resolution, it reads dense screenshots properly, identifies the actual root cause, and tells you exactly which config to change.&lt;/p&gt;

&lt;p&gt;Bonus: coordinate mapping is now 1:1 with actual pixels. No more scale-factor math for UI automation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Your Prompts Are Broken
&lt;/h3&gt;

&lt;p&gt;4.7 is substantially more literal. Prompts that relied on "filling in the blanks" will produce unexpected or minimal results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before (4.6):&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;"Make this function better"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;After (4.7):&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;"Refactor this function to handle null inputs, add error logging, 
and ensure it returns a consistent type. The function currently 
crashes on line 47 when user.email is undefined."
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Budget time to re-tune your prompt library before migrating production systems.&lt;/p&gt;

&lt;h3&gt;
  
  
  Breaking Changes
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Extended Thinking Budgets Are Gone&lt;/strong&gt; — The &lt;code&gt;thinking: {"type": "enabled", "budget_tokens": N}&lt;/code&gt; pattern returns a 400 error. Use &lt;code&gt;thinking: {"type": "adaptive"}&lt;/code&gt; with &lt;code&gt;output_config: {"effort": "high"}&lt;/code&gt; instead.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sampling Parameters Are Gone&lt;/strong&gt; — Setting &lt;code&gt;temperature&lt;/code&gt;, &lt;code&gt;top_p&lt;/code&gt;, or &lt;code&gt;top_k&lt;/code&gt; to non-default values returns a 400 error. Remove them and use prompting to guide behavior.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Thinking Content Is Hidden By Default&lt;/strong&gt; — The model still thinks, but you won't see the reasoning stream unless you opt in with &lt;code&gt;thinking: {"type": "adaptive", "display": "summarized"}&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Should You Upgrade?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Yes if:&lt;/strong&gt; You do long-running coding tasks, vision-heavy work, or complex agentic workflows. The SWE-bench jump translates to shipping code instead of debugging why the model hallucinated an API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No if:&lt;/strong&gt; You're happy with 4.6 for simple chat—you won't notice much difference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pricing:&lt;/strong&gt; Same per-token price ($5/$25 per million), but the new tokenizer means 0-35% more tokens. Monitor usage after migration.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;&lt;a href="https://meshworld.in/blog/ai/claude/claude-opus-4-7/" rel="noopener noreferrer"&gt;→ Read the full deep-dive with code examples, AWS Bedrock setup, and detailed FAQ&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://meshworld.in" rel="noopener noreferrer"&gt;MeshWorld India&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Constructor in JAVA</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Sat, 27 Nov 2021 09:37:17 +0000</pubDate>
      <link>https://dev.to/cooldashing24/constructor-in-java-5hc8</link>
      <guid>https://dev.to/cooldashing24/constructor-in-java-5hc8</guid>
      <description>&lt;p&gt;In this article, we will go through Java constructors, their types with the help of examples.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Constructor?
&lt;/h2&gt;

&lt;p&gt;Constructor is a special member function in JAVA whose name is the same as the class name. It is used to initialize objects at the time of their creation.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example 1: Java constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DemoExample&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;DemoExample&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="c1"&gt;// constructor body&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, &lt;code&gt;DemoExample()&lt;/code&gt; is a constructor. It has the same name as that of the class and does not have any return type, not even &lt;strong&gt;&lt;code&gt;void&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Constructor in JAVA
&lt;/h2&gt;

&lt;p&gt;It has no return type, not even &lt;code&gt;void&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It is invoked at the time of object creation or when an instance is created.&lt;/p&gt;




&lt;h2&gt;
  
  
  Types of Constructor
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  No-Arguments Constructor&lt;/li&gt;
&lt;li&gt;  Parameterized Constructor&lt;/li&gt;
&lt;li&gt;  Default Constructor&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  No-Arguments Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The &lt;strong&gt;no-argument constructor&lt;/strong&gt; is a constructor that does not accept any parameters/arguments.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 2: Java No-argument constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;//No-argument constructor&lt;/span&gt;
    &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;52&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;47&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Area: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="nf"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo1&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 2 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;----------------------------
Length: 52.0
Width: 47.0
Area: 2444.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Parameterized Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The Java parameterized constructor can also accept one or more parameters/arguments.&lt;/li&gt;
&lt;li&gt;  Such constructors are known as parameterized constructors or constructors with parameters.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 3: Java Parameterized Constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="c1"&gt;//Parameterized constructor&lt;/span&gt;
    &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;setDetails&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;l&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Area: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="nf"&gt;calcArea&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo2&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 3 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;----------------------------
Length: 101.0
Width: 70.0
Area: 7070.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Default Constructor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  The Java compiler will create a no-argument constructor automatically when the user-defined constructor is not explicitly declared. Such constructor is known as the &lt;strong&gt;default constructor&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  Each class has its own default constructor.&lt;/li&gt;
&lt;li&gt;  The &lt;strong&gt;Default constructor&lt;/strong&gt; do not accept arguments.&lt;/li&gt;
&lt;li&gt;  Constructor declared by compiler initializes the object with default values.&lt;/li&gt;
&lt;li&gt;  Once the user defines its own default constructor, the compiler will use it to initialize an object.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example 4: Java Default Constructor
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight java"&gt;&lt;code&gt;&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;display&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"-----------------------"&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Length: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
        &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;out&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Width: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;ConstructorDemo3&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;public&lt;/span&gt; &lt;span class="kd"&gt;static&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;String&lt;/span&gt;&lt;span class="o"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;Rectangle&lt;/span&gt; &lt;span class="n"&gt;r1&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Rectangle&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
        &lt;span class="n"&gt;r1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;display&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Example 4 Output
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;----------------------------
Length: 0.0
Width: 0.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Any uninitialized instance variables will be initialized with default values by the default constructor.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Default Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;boolean&lt;/td&gt;
&lt;td&gt;&lt;code&gt;false&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;byte&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;short&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;long&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0L&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;char&lt;/td&gt;
&lt;td&gt;&lt;code&gt;\u0000&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;float&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0f&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;double&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0.0d&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;object&lt;/td&gt;
&lt;td&gt;&lt;code&gt;Reference null&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/java-constructor/"&gt;Constructor in JAVA&lt;br&gt;
&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others posts on our site &lt;a href="https://meshworld.in"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>java</category>
      <category>constructor</category>
    </item>
    <item>
      <title>Dart - Comments</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Thu, 22 Jul 2021 15:03:18 +0000</pubDate>
      <link>https://dev.to/cooldashing24/dart-comments-3bpj</link>
      <guid>https://dev.to/cooldashing24/dart-comments-3bpj</guid>
      <description>&lt;p&gt;The comments are notes that developers can add in source code and are ignored by compilers. It's an &lt;strong&gt;art&lt;/strong&gt; of describing what your code does and may be why. These comments are not evaluated.&lt;/p&gt;

&lt;p&gt;It increases the code readability for other developers as well as self that allows to provide information of what tricky things are done within the code for better understanding and maintenance.&lt;/p&gt;

&lt;p&gt;In this article, we will look into different types of comments supported by Dart.&lt;/p&gt;

&lt;p&gt;The comments in Dart can be done in following different ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Single-line comments &lt;code&gt;//&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multi-line comments &lt;code&gt;/* ... */&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Single-line Doc comments &lt;code&gt;///&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multi-line Doc comments &lt;code&gt;/** ... */&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Single-line comments in Dart
&lt;/h2&gt;

&lt;p&gt;Single line comment can be done by &lt;strong&gt;&lt;code&gt;//&lt;/code&gt;&lt;/strong&gt; i.e &lt;strong&gt;double slash&lt;/strong&gt; or &lt;strong&gt;double forward slash&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;// this is a single-line comment&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multi-line comments in Dart
&lt;/h2&gt;

&lt;p&gt;Multi-line comment also known as &lt;strong&gt;block comment&lt;/strong&gt;. It can be done by &lt;strong&gt;&lt;code&gt;/* ... */&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="cm"&gt;/*
  this is a multi-line comment
  we can also wrap code that is quite useful during debugging or development
*/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dart &lt;a href="https://dart.dev/guides/language/effective-dart/documentation#dont-use-block-comments-for-documentation"&gt;guide&lt;/a&gt; suggests us to single-line comment &lt;code&gt;//&lt;/code&gt;. The block comment &lt;code&gt;(/* ... */)&lt;/code&gt; should only be used &lt;strong&gt;temporarily&lt;/strong&gt; to comment out a section of code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Single-line Doc comments in Dart
&lt;/h2&gt;

&lt;p&gt;Doc comments parsed by &lt;a href="https://github.com/dart-lang/dartdoc"&gt;dartdoc&lt;/a&gt; generates &lt;a href="https://api.dart.dev/stable"&gt;beautiful doc pages&lt;/a&gt; from them. A comment is any comment that appears before a declaration is called as Doc comment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Doc comments also supports Markdown formatting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Single line Doc comment can be done by &lt;strong&gt;&lt;code&gt;///&lt;/code&gt;&lt;/strong&gt; i.e &lt;strong&gt;triple slash&lt;/strong&gt; or &lt;strong&gt;triple forward slash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You can find usage of it in &lt;a href="https://github.com/dart-lang/sdk/blob/master/sdk/lib/io/io.dart"&gt;dart:io&lt;/a&gt; library available on GitHub&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;/// this is a single-line comment&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multi-line Doc comments in Dart
&lt;/h2&gt;

&lt;p&gt;Multi line Doc comment can be done by &lt;strong&gt;`/&lt;/strong&gt; ... */`**. Below is an example of multi-line Doc comment.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="cm"&gt;/**
  * ** Important:** Browser-based apps can't use this library.
  * Only the following can import and use the dart:io library:
  *   - Servers
  *   - Command-line scripts
  *   - Flutter mobile apps
  *   - Flutter desktop apps
  */&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/dart-comments/"&gt;Dart - Comments&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>dart</category>
      <category>flutter</category>
      <category>programming</category>
    </item>
    <item>
      <title>Install XAMPP on Ubuntu</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Fri, 04 Jun 2021 05:21:50 +0000</pubDate>
      <link>https://dev.to/cooldashing24/install-xampp-on-ubuntu-1pm0</link>
      <guid>https://dev.to/cooldashing24/install-xampp-on-ubuntu-1pm0</guid>
      <description>&lt;p&gt;A &lt;a href="https://apachefriends.org/" rel="noopener noreferrer"&gt;XAMPP&lt;/a&gt; is one of the most popular cross-platform PHP development environment. It is an open source package that can be easily install and to use.&lt;/p&gt;

&lt;p&gt;XAMPP stands for cross-platform (&lt;strong&gt;X&lt;/strong&gt;), Apache (&lt;strong&gt;A&lt;/strong&gt;), MariaDB (&lt;strong&gt;M&lt;/strong&gt;), PHP (&lt;strong&gt;P&lt;/strong&gt;), and Perl (&lt;strong&gt;P&lt;/strong&gt;).&lt;/p&gt;

&lt;p&gt;XAMPP has been used widely by developers and has been around here with huge support of community since more than 10 years. It's currently available on Windows, Linux &amp;amp; Mac platforms while writing this article.&lt;/p&gt;

&lt;p&gt;To download the Linux installer head over to the &lt;a href="https://www.apachefriends.org/download.html" rel="noopener noreferrer"&gt;Download&lt;/a&gt; page. Here you will find latest release as well as previous versions.&lt;/p&gt;

&lt;p&gt;While writing this article, the latest release version is 8.0.6. In this article, we will see how to install this open-source application in Ubuntu or Ubuntu-based distributions. Follow the same steps to install into other Ubuntu-based Distros.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install XAMPP on Ubuntu or Ubuntu-based Distros
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Download the XAMPP installer
&lt;/h3&gt;

&lt;p&gt;Head over to &lt;a href="https://www.apachefriends.org/index.html" rel="noopener noreferrer"&gt;XAMPP Home&lt;/a&gt; page and select &lt;strong&gt;XAMPP for Linux&lt;/strong&gt;, that contains direct link that can be used for the latest version.&lt;/p&gt;

&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%2F778lxi07vtarck9svdqj.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%2F778lxi07vtarck9svdqj.png" alt="Source: apachefriends.org"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once it's downloaded, open your terminal (&lt;code&gt;Ctrl + Alt + T&lt;/code&gt;), head over to your directory where your installer has been saved and run the below commands with &lt;code&gt;sudo&lt;/code&gt; privileges to change the permission.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo chmod &lt;/span&gt;755 xampp-linux-&lt;span class="k"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;-installer&lt;/span&gt;.run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will give permission to the installer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note: Replace &lt;code&gt;xampp-linux-*-installer.run&lt;/code&gt; with actual file name.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Run the XAMPP installer
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; ./xampp-linux-&lt;span class="k"&gt;*&lt;/span&gt;&lt;span class="nt"&gt;-installer&lt;/span&gt;.run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will start the installer wizard. Proceed with installation, make changes if you need. By default it will be installed in &lt;code&gt;/opt/lampp/&lt;/code&gt; directory, you can customize the installation directory too.&lt;/p&gt;

&lt;h3&gt;
  
  
  Install supporting package
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;net-tools &lt;span class="nt"&gt;-fy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will install &lt;code&gt;netstat&lt;/code&gt; that is a part of the &lt;code&gt;net-tools&lt;/code&gt; package.&lt;/p&gt;

&lt;h3&gt;
  
  
  Start, Stop &amp;amp; Restart Server
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Start, Stop &amp;amp; Restart Server via command line aka CLI
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Start the server with below command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; /opt/lampp/lampp start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Stop the server with below command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; /opt/lampp/lampp stop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Restart the server with below command
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; /opt/lampp/lampp restart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Start, Stop &amp;amp; Restart Server via Graphical User Interface aka GUI
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Execute the below command to launch graphical manager
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; /opt/lampp/manager-linux-x64.run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Create alias or shortcuts for commands for Bash Shell
&lt;/h3&gt;

&lt;p&gt;Below command will create an alias for command for Bash shell, so you only need to use &lt;code&gt;lamppStart&lt;/code&gt; to launch the graphical manager. You might need to reopen the terminal to use this newly added alias.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo "alias lamppStart='cd /opt/lampp/ &amp;amp;&amp;amp; sudo ./manager-linux-x64.run'" &amp;gt;&amp;gt; ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Creating a launcher icon
&lt;/h2&gt;

&lt;p&gt;With the below code, you can create it a launcher icon.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cat&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; ~/.local/share/applications/postman.desktop &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="no"&gt;EOL&lt;/span&gt;&lt;span class="sh"&gt;
[Desktop Entry]
Version=1.2
Encoding=UTF-8
Name=XAMPP
Exec=sh -c "pkexec env DISPLAY=&lt;/span&gt;&lt;span class="nv"&gt;$DISPLAY&lt;/span&gt;&lt;span class="sh"&gt; XAUTHORITY=&lt;/span&gt;&lt;span class="nv"&gt;$XAUTHORITY&lt;/span&gt;&lt;span class="sh"&gt; sudo /opt/lampp/manager-linux-x64.run"
Icon=/opt/lampp/htdocs/favicon.ico
Terminal=false
Type=Application
Categories=Network;WebBrowser;Development;
MimeType=text/html
&lt;/span&gt;&lt;span class="no"&gt;EOL
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Uninstall XAMPP
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;To uninstall XAMPP, open the terminal and navigate to the &lt;code&gt;opt/lampp&lt;/code&gt; directory with the below command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; /opt/lampp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Execute the below command to uninstall XAMPP.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="nb"&gt;sudo&lt;/span&gt; ./uninstall
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The prompt dialogue box will open asking for your confirmation to uninstall XAMPP and all of its modules.&lt;/li&gt;
&lt;li&gt;Finally, remove the lampp installation directory with below command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; &lt;span class="nb"&gt;sudo rm&lt;/span&gt; –r /opt/lamp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;After reading this article, you will be able install XAMPP on Ubuntu or Linux devices.&lt;/p&gt;

&lt;p&gt;XAMPP allows you to set up a free development environment on your system. It is a set of tools that allows you to get your site up and running much easily &amp;amp; quickly. An alternative to installing and configuring individual components.&lt;/p&gt;

&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/install-xampp-on-ubuntu/" rel="noopener noreferrer"&gt;Install XAMPP on Ubuntu&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in" rel="noopener noreferrer"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>xampp</category>
      <category>php</category>
      <category>install</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>Python - Arithmetic Operators</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Tue, 25 May 2021 17:22:30 +0000</pubDate>
      <link>https://dev.to/cooldashing24/python-arithmetic-operators-39ob</link>
      <guid>https://dev.to/cooldashing24/python-arithmetic-operators-39ob</guid>
      <description>&lt;p&gt;Python supports different arithmetic operators that can be used to performs mathematical calculations on the values and variables.&lt;/p&gt;

&lt;p&gt;The basic arithmetic operations include addition, subtraction, multiplication, division.&lt;/p&gt;

&lt;p&gt;Arithmetic operations are performed according to the order or precedence of operators.&lt;/p&gt;

&lt;h1&gt;
  
  
  The general structure of every expression
&lt;/h1&gt;

&lt;p&gt;Every expression will follow this general structure&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Operand&lt;/strong&gt; Operator &lt;strong&gt;Operand&lt;/strong&gt; [Operator &lt;strong&gt;Operand&lt;/strong&gt;] ...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Operand represents data.&lt;/li&gt;
&lt;li&gt;An operator is a symbol used to operate such as mathematical, logical or relational producing a final result.&lt;/li&gt;
&lt;li&gt;For example, &lt;code&gt;x + y&lt;/code&gt; where &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; are &lt;strong&gt;operands&lt;/strong&gt; and &lt;code&gt;+&lt;/code&gt; is an &lt;strong&gt;operator&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;For example, &lt;code&gt;a = 7&lt;/code&gt; where, &lt;code&gt;=&lt;/code&gt; is an &lt;strong&gt;operator&lt;/strong&gt; and &lt;code&gt;a&lt;/code&gt; and &lt;code&gt;7&lt;/code&gt; are &lt;strong&gt;operands&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this article, you will find &lt;strong&gt;Arithmetic&lt;/strong&gt; operators provided by Dart.&lt;/p&gt;

&lt;h1&gt;
  
  
  Arithmetic operators
&lt;/h1&gt;

&lt;p&gt;Basic mathematical calculations are performed on &lt;strong&gt;numeric values&lt;/strong&gt; with the use of arithmetic operators.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;+&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Addition&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x + y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Subtraction&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x - y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;-expr&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Unary minus&lt;/strong&gt;, aka &lt;strong&gt;negation&lt;/strong&gt; (reverse the sign of the expression)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;-x&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;*&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Multiplication&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x * y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Division (aka True division)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x / y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;//&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Divide, returning an integer result (aka Floor division)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x // y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;%&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Get the remainder of an integer division (modulo)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x % y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;**&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Exponential&lt;/td&gt;
&lt;td&gt;&lt;code&gt;x ** y&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;All of these listed operators are binary operators.&lt;/li&gt;
&lt;li&gt;All these operators also follow the general structure of &lt;strong&gt;&lt;code&gt;Operand&lt;/code&gt;&lt;/strong&gt; &lt;code&gt;Operator&lt;/code&gt; &lt;strong&gt;&lt;code&gt;Operand&lt;/code&gt;&lt;/strong&gt;, meaning that an operator is always surrounded by two operands.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;**&lt;/code&gt; operator is evaluated first; then &lt;code&gt;*&lt;/code&gt; , &lt;code&gt;/&lt;/code&gt; , &lt;code&gt;//&lt;/code&gt; , and &lt;code&gt;%&lt;/code&gt; operators are evaluated next (from left to right); and the &lt;code&gt;+&lt;/code&gt; and &lt;code&gt;-&lt;/code&gt; operators are evaluated last (also from left to right).&lt;/li&gt;
&lt;li&gt;To override the usual precedence, &lt;strong&gt;parentheses&lt;/strong&gt; &lt;code&gt;()&lt;/code&gt; comes handy.&lt;/li&gt;
&lt;li&gt;For example, an expression &lt;code&gt;x + y&lt;/code&gt; is a binary operation, where &lt;strong&gt;x&lt;/strong&gt; and &lt;strong&gt;y&lt;/strong&gt; are the two operands and &lt;strong&gt;+&lt;/strong&gt; is an operator.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Addition (&lt;code&gt;+&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The plus (&lt;code&gt;+&lt;/code&gt;) is used for addition in the Python PL.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [1]: 3 + 4
Out[1]: 7
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Subtraction (&lt;code&gt;-&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The minus or hyphen (&lt;code&gt;-&lt;/code&gt;) is used for subtraction in the Python PL.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [2]: 13 - 3
Out[2]: 10
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Unary minus (&lt;code&gt;-&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The minus or hyphen (&lt;code&gt;-&lt;/code&gt;) is used as a unary minus operator in the Python PL.&lt;/li&gt;
&lt;li&gt;The unary minus is used to show a negative number.&lt;/li&gt;
&lt;li&gt;The unary minus &lt;code&gt;-&lt;/code&gt; operator negates the value of an operand.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [3]: -3
Out[3]: -3
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Multiplication (&lt;code&gt;*&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The asterisk (&lt;code&gt;*&lt;/code&gt;) is used as a multiplication operator in the Python PL.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [4]: 7 * 4
Out[4]: 28
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Division (&lt;code&gt;/&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The forward slash (&lt;code&gt;/&lt;/code&gt;) is used as a division operator in the Python PL. Also known as &lt;strong&gt;True division&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [5]: 24 / 4
Out[5]: 6.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Floor Division (&lt;code&gt;//&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The double forward slash (&lt;code&gt;//&lt;/code&gt;) is used as a floor division operator in the Python PL. Also known as &lt;strong&gt;integer division&lt;/strong&gt; operator.&lt;/li&gt;
&lt;li&gt;This operator yields the highest integer, ignoring the decimal part. Yielded integer is not greater than the actual divided result.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [6]: 11 / 4
Out[6]: 2.75

In [7]: 11 // 4
Out[7]: 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;On dividing &lt;strong&gt;11&lt;/strong&gt; by &lt;strong&gt;4&lt;/strong&gt; with &lt;code&gt;/&lt;/code&gt; operator, the output obtained is &lt;strong&gt;2.75&lt;/strong&gt;. But by using &lt;code&gt;//&lt;/code&gt; operator output obtained with the same values is &lt;code&gt;2&lt;/code&gt; i.e not greater than the actual answer &lt;code&gt;2.75&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Modulus (&lt;code&gt;%&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The percentage (&lt;code&gt;%&lt;/code&gt;) is used as &lt;strong&gt;mod&lt;/strong&gt; or &lt;strong&gt;remainder operator&lt;/strong&gt; in the Python PL. Also known as &lt;strong&gt;MOD or Remainder&lt;/strong&gt; operator.&lt;/li&gt;
&lt;li&gt;It also works with floating-point values.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [10]: 24 % 7
Out[10]: 3

In [11]: 24 % 3.5
Out[11]: 3.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Exponential (&lt;code&gt;**&lt;/code&gt;)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The double asterisk &lt;code&gt;**&lt;/code&gt; operator is used to perform the exponential operation in Python PL.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;In [10]: 2 ** 5
Out[10]: 32

In [11]: 1.5 ** 5
Out[11]: 7.59375
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Note: Python exponential operator &lt;code&gt;**&lt;/code&gt; works in the same way as the &lt;code&gt;pow(a, b)&lt;/code&gt; function.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/python-arithmetic-operators/"&gt;Python - Arithmetic Operators&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you like this!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>fundamentals</category>
    </item>
    <item>
      <title>Get Last Array Element in PHP and Laravel</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Sun, 11 Apr 2021 08:06:43 +0000</pubDate>
      <link>https://dev.to/cooldashing24/get-last-array-element-in-php-and-laravel-2kpo</link>
      <guid>https://dev.to/cooldashing24/get-last-array-element-in-php-and-laravel-2kpo</guid>
      <description>&lt;p&gt;Laravel provides the &lt;code&gt;last()&lt;/code&gt; function as a global helper and also as a function defined in &lt;code&gt;Illuminate\Support\Arr&lt;/code&gt; that can be used to get the last element in an array.&lt;/p&gt;

&lt;p&gt;This article, guide through the different ways of retrieving the last array element in &lt;code&gt;PHP&lt;/code&gt; also in &lt;code&gt;Laravel&lt;/code&gt;. So you can decide which suits you best.&lt;/p&gt;

&lt;h1&gt;
  
  
  How to get the last item in the array?
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Retrieve the last element in PHP
&lt;/h2&gt;

&lt;p&gt;In PHP, to get the last element from an array, first, you need to count the total array elements&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$languages&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s1"&gt;'JAVA'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'PHP'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'C++'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'C#'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Python'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="nv"&gt;$totalElements&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;count&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$languages&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$languages&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;$totalElements&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Above code will output &lt;code&gt;Python&lt;/code&gt; i.e the last element in a provided array.&lt;/li&gt;
&lt;li&gt;It is a more readable approach, can also be rewritten in a single line as shown, which sometimes looks complex for beginners.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$languages&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;count&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$languages&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Python
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Retrieve the last element in Laravel
&lt;/h2&gt;

&lt;p&gt;In Laravel, you can get the last array element in two ways.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Using global &lt;code&gt;last()&lt;/code&gt; helper.&lt;/li&gt;
&lt;li&gt;Using the static method of &lt;code&gt;Arr&lt;/code&gt; class named &lt;code&gt;last()&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Using global &lt;code&gt;last()&lt;/code&gt; helper
&lt;/h3&gt;

&lt;p&gt;The &lt;code&gt;last()&lt;/code&gt; helper function returns the last element in the given array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$carBrands&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s1"&gt;'Maserati'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Tesla'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Tata'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Aston Martin'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Audi'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Alfa Romeo'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nf"&gt;last&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$carBrands&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Above code will output &lt;code&gt;Alfa Romeo&lt;/code&gt; i.e the last element in a provided array named &lt;code&gt;$carBrands&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Using &lt;code&gt;last()&lt;/code&gt; function in Arr class
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;last()&lt;/code&gt; helper function returns the last element in the given array.&lt;/li&gt;
&lt;li&gt;Before using it, remember to import using the &lt;code&gt;use Illuminate\Support\Arr;&lt;/code&gt; statement.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Syntax
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$last&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Arr&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;last&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$array&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$callback&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$default&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The first parameter is a source &lt;strong&gt;array&lt;/strong&gt;, from which the last element is to be found. It's a required parameter.&lt;/li&gt;
&lt;li&gt;The second parameter is a &lt;strong&gt;callback function&lt;/strong&gt;, that can be either helpful to filter &amp;amp; retrieve the last element based on conditions. It's an optional parameter.&lt;/li&gt;
&lt;li&gt;The third parameter is a &lt;strong&gt;default value&lt;/strong&gt; &amp;amp; it will be returned if none of the array elements passes the truth test.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nv"&gt;$fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="s1"&gt;'Orange 🍊'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Apple 🍎'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Grapes 🍇'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Kiwi 🥝'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'Mango 🥭'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;];&lt;/span&gt;

&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="nc"&gt;Arr&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nf"&gt;last&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$fruits&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Above code will output &lt;code&gt;Mango 🥭&lt;/code&gt; i.e the last element in a provided array named &lt;code&gt;$fruits&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the complete post on our site &lt;a href="https://meshworld.in/get-last-array-element-in-php-and-laravel/"&gt;Get Last Array Element in PHP and Laravel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy 😄 coding&lt;/p&gt;

&lt;p&gt;With ❤️ from 🇮🇳&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>array</category>
      <category>php</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Install Telegram on Ubuntu 20.04 or Ubuntu-based distributions</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Thu, 25 Feb 2021 08:37:46 +0000</pubDate>
      <link>https://dev.to/cooldashing24/install-telegram-on-ubuntu-20-04-or-ubuntu-based-distributions-4p60</link>
      <guid>https://dev.to/cooldashing24/install-telegram-on-ubuntu-20-04-or-ubuntu-based-distributions-4p60</guid>
      <description>&lt;p&gt;&lt;a href="https://telegram.org/"&gt;Telegram&lt;/a&gt; is a free instant messaging tool with a focus on simplicity, security, speed, and synced across all your devices.&lt;/p&gt;

&lt;p&gt;Telegram can be used on all your devices simultaneously - with any number of your phones, tablets, or computers syncing your messages or files seamlessly.&lt;/p&gt;

&lt;p&gt;Telegram allows you to share messages, photos, videos, and files of any type (&lt;code&gt;doc&lt;/code&gt;, &lt;code&gt;zip&lt;/code&gt;, &lt;code&gt;mp3&lt;/code&gt;, etc) in a secured and safe manner.&lt;/p&gt;

&lt;p&gt;Everything on Telegram is encrypted using a combination of &lt;strong&gt;256-bit symmetric AES&lt;/strong&gt; encryption, &lt;strong&gt;2048-bit RSA&lt;/strong&gt; encryption, and &lt;strong&gt;Diffie–Hellman&lt;/strong&gt; secure key exchange including chats, groups, media, etc.&lt;/p&gt;

&lt;p&gt;I've been using it for more than 5 years and saw it evolving. The telegram is a cross-platform, open-source, and powerful messaging app developed by &lt;a href="https://en.wikipedia.org/wiki/Pavel_Durov"&gt;Pavel Durov&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/Nikolai_Durov"&gt;Nikolai Durov&lt;/a&gt; and &lt;a href="https://en.wikipedia.org/wiki/Axel_Neff"&gt;Axel Neff&lt;br&gt;
&lt;/a&gt;. The repository for source code is available on &lt;a href="https://github.com/tdlib/td"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Some of the supported available features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Telegram is so simple to use it.&lt;/li&gt;
&lt;li&gt;The messages are self-destructing and encrypted heavily.&lt;/li&gt;
&lt;li&gt;Share unlimited media in terms of number &amp;amp; size.&lt;/li&gt;
&lt;li&gt;Completely customize your messenger.&lt;/li&gt;
&lt;li&gt;Telegram has an open &lt;a href="https://core.telegram.org/api"&gt;API&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Video &amp;amp; audio calling&lt;/li&gt;
&lt;li&gt;Free and &lt;a href="https://telegram.org/apps#source-code"&gt;open-source&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Drag and drop media&lt;/li&gt;
&lt;li&gt;and many more.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In this article, we will see how to install this open-source messaging app in Ubuntu or Ubuntu-based distributions. Follow the same steps to install into other Ubuntu-based distributions:&lt;/p&gt;
&lt;h3&gt;
  
  
  Install Telegram
&lt;/h3&gt;

&lt;p&gt;Telegram can be installed via the &lt;a href="https://snapcraft.io/"&gt;Snapcraft&lt;/a&gt; store as a &lt;code&gt;snap&lt;/code&gt; package or with &lt;code&gt;apt&lt;/code&gt; or via official tarball.&lt;/p&gt;
&lt;h3&gt;
  
  
  Method 1: Installing Telegram as a Snap Package
&lt;/h3&gt;

&lt;p&gt;Canonical manages and distributes the Telegram snap package, the one behind Ubuntu.&lt;/p&gt;

&lt;p&gt;Snap packages are secure &amp;amp; easy to upgrade. As Snaps are self-contained software packages. It includes all dependencies needed to run an application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--r53j-Rsx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u9t4u3s94n1wsgdmm1q1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--r53j-Rsx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u9t4u3s94n1wsgdmm1q1.png" alt="SnapCraft"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Snap packages can be installed either from the Ubuntu Software application or via command-line.&lt;/p&gt;
&lt;h4&gt;
  
  
  Via Terminal
&lt;/h4&gt;

&lt;p&gt;Open your terminal (&lt;code&gt;Ctrl+Alt+T&lt;/code&gt;) and run the below command with sudo privileges&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;snap &lt;span class="nb"&gt;install &lt;/span&gt;telegram-desktop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will install the latest Telegram and other dependencies too. The snap package will automatically update(in the background) whenever a new version of Telegram is released.&lt;/p&gt;

&lt;p&gt;We can also install from &lt;strong&gt;&lt;a href="https://dev.tosnap://telegram-desktop"&gt;Ubuntu Software&lt;/a&gt;&lt;/strong&gt;, search for &lt;strong&gt;Telegram&lt;/strong&gt; and install the application.&lt;/p&gt;

&lt;h3&gt;
  
  
  Method 2: Official Telegram Download
&lt;/h3&gt;

&lt;p&gt;Telegram also provides you an official desktop application that can be downloaded from their official Telegram website. Or head over to &lt;a href="https://desktop.telegram.org/"&gt;Desktop App&lt;/a&gt; section which lets you download a Telegram desktop app installer that is supported on a variety of operating systems, including MAC, Android, Windows, Ubuntu, Linux Mint, and many more.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--St7RXirj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t6bhyql26iwzi8c27qif.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--St7RXirj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t6bhyql26iwzi8c27qif.png" alt="Telegram On Laptop"&gt;&lt;/a&gt;&lt;br&gt;
Source: telegram.org&lt;/p&gt;

&lt;p&gt;Click an official link below to download the tarball package for Linux distribution (including Ubuntu) which contains a standalone Telegram runtime and updater:&lt;/p&gt;
&lt;h4&gt;
  
  
  &lt;a href="https://telegram.org/dl/desktop/linux"&gt;Download Telegram for Linux (64-bit .tar.xz)&lt;/a&gt;
&lt;/h4&gt;
&lt;h4&gt;
  
  
  &lt;a href="https://telegram.org/dl/desktop/linux32"&gt;Download Telegram for Linux (32-bit .tar.xz)&lt;/a&gt;
&lt;/h4&gt;

&lt;p&gt;To &lt;strong&gt;run&lt;/strong&gt; Telegram using archive package is easy. Extract the &lt;strong&gt;&lt;code&gt;tar.xz&lt;/code&gt;&lt;/strong&gt; archive, enter into the extracted folder, then &lt;strong&gt;double-click&lt;/strong&gt; on the &lt;strong&gt;telegram binary&lt;/strong&gt; inside to launch the app.&lt;/p&gt;

&lt;p&gt;You can then follow the setup instructions wizard that appears on your screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note: This method does not "install" the app on your system. But it will add a &lt;code&gt;Telegram&lt;/code&gt; app shortcut to your system app launcher menu.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Do not delete the binary file. The shortcut is linked to this binary file
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Method 3: Installing from official PPA using terminal
&lt;/h3&gt;

&lt;p&gt;A PPA for Telegram is available for download. First, we need to add PPA to our system.&lt;/p&gt;

&lt;p&gt;Open your terminal (&lt;code&gt;Ctrl+Alt+T&lt;/code&gt;) and run the below commands with &lt;code&gt;sudo&lt;/code&gt; privileges.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;add-apt-repository ppa:atareao/telegram
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-f&lt;/span&gt; telegram
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Single line command
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;add-apt-repository ppa:atareao/telegram &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-f&lt;/span&gt; telegram
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command will install the Telegram with other dependencies and fixes broken packages if any. It can be updated through the &lt;strong&gt;command-line&lt;/strong&gt; or your Software Update tool&lt;/p&gt;

&lt;h3&gt;
  
  
  Run application
&lt;/h3&gt;

&lt;p&gt;Once the installation is done, we can now run &lt;strong&gt;&lt;code&gt;telegram&lt;/code&gt;&lt;/strong&gt; from &lt;strong&gt;application launcher&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in/"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope you find this helpful!&lt;/p&gt;

&lt;p&gt;Keep helping and happy 😄 coding&lt;/p&gt;

&lt;p&gt;With ❤️ from 🇮🇳&lt;/p&gt;

</description>
      <category>telegram</category>
      <category>install</category>
      <category>howto</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>Configure user name &amp; email for Git profile using terminal</title>
      <dc:creator>Vishnu Damwala</dc:creator>
      <pubDate>Thu, 11 Feb 2021 03:46:46 +0000</pubDate>
      <link>https://dev.to/cooldashing24/configure-user-name-email-for-git-profile-using-terminal-3ak9</link>
      <guid>https://dev.to/cooldashing24/configure-user-name-email-for-git-profile-using-terminal-3ak9</guid>
      <description>&lt;p&gt;Git allows you to configure a global and per-project Git profile consisting of name and email address.&lt;/p&gt;

&lt;p&gt;Git commands come handy when you want to set or change your git identity. &lt;strong&gt;&lt;code&gt;Changes only affect future commits&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Set or update user name for local Git profile using terminal
&lt;/h3&gt;

&lt;p&gt;The first thing you should do when you install Git is to set your name and email address.&lt;/p&gt;

&lt;p&gt;This is important because every Git commit uses this information. By default this information will be used if none other specified.&lt;/p&gt;

&lt;p&gt;And it's immutably baked into the commits you create.&lt;/p&gt;




&lt;h4&gt;
  
  
  Commands to configure Git user profile
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;git config --global user.name "your-name"&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;git config --global user.email "your-email"&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;code&gt;--global&lt;/code&gt; option will set your global commit name &amp;amp; email address.&lt;/p&gt;

&lt;p&gt;Once done, verify that the information is configured by executing below command in terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--list&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h5&gt;
  
  
  Example
&lt;/h5&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.name &lt;span class="s2"&gt;"Jane Doe"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--global&lt;/span&gt; user.email &lt;span class="s2"&gt;"jane.doe@example.com"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Read others post on our site &lt;a href="https://meshworld.in/"&gt;MeshWorld&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy 😄 coding&lt;/p&gt;

&lt;p&gt;With ❤️ from 🇮🇳&lt;/p&gt;

</description>
      <category>git</category>
      <category>terminal</category>
      <category>command</category>
    </item>
  </channel>
</rss>
