<?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: sunny prasad</title>
    <description>The latest articles on DEV Community by sunny prasad (@prasadsunny1).</description>
    <link>https://dev.to/prasadsunny1</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%2F132099%2F9287fe25-2ef7-4ec5-af3b-b9eea77df6c6.jpg</url>
      <title>DEV Community: sunny prasad</title>
      <link>https://dev.to/prasadsunny1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prasadsunny1"/>
    <language>en</language>
    <item>
      <title>List Flutter learning resources</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Fri, 19 Jan 2024 05:22:12 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/list-flutter-learning-resources-5g53</link>
      <guid>https://dev.to/prasadsunny1/list-flutter-learning-resources-5g53</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Flutter week sessions:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/JnWAdHMY4jw"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/vcTPV8rZF6w"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/v1GmQZTBRaM"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/X8JD8hHkBMc"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/Cdcu7-RKFZg"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/aYbKYiI4Yyo"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/7Zql2rvYRLE"&gt;
&lt;/iframe&gt;
&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/mlPAcndoZHU"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Flutter best practice</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Sun, 07 Jan 2024 06:37:51 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/flutter-best-practice-3ebk</link>
      <guid>https://dev.to/prasadsunny1/flutter-best-practice-3ebk</guid>
      <description>&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1744332972558369087-644" src="https://platform.twitter.com/embed/Tweet.html?id=1744332972558369087"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1744332972558369087-644');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1744332972558369087&amp;amp;theme=dark"
  }



&lt;/p&gt;

&lt;p&gt;Theme:&lt;br&gt;
When you have your own color system/ design system use ThemeExtension and then use it like Theme.of(context).brandcolor&lt;/p&gt;

&lt;p&gt;&lt;a href="https://x.com/michael_lazebny/status/1744332972558369087?s=46&amp;amp;t=GiN0cMzBayRWLMzZ_zLQHg"&gt;https://x.com/michael_lazebny/status/1744332972558369087?s=46&amp;amp;t=GiN0cMzBayRWLMzZ_zLQHg&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>LocalSend is my latest fav for local File transfer</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Tue, 07 Nov 2023 19:59:42 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/localsend-is-my-latest-fav-for-local-file-transfer-3mel</link>
      <guid>https://dev.to/prasadsunny1/localsend-is-my-latest-fav-for-local-file-transfer-3mel</guid>
      <description>&lt;p&gt;Earlier I started liking snapdrop because it allowed sending files from browser.&lt;/p&gt;

&lt;p&gt;But I feel like LocalSend is even more easier. Its similarly cross platform. Open source and built with #Flutter&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Add git GPG signing computer wide</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Tue, 07 Nov 2023 16:14:42 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/add-git-gpg-signing-computer-wide-8pf</link>
      <guid>https://dev.to/prasadsunny1/add-git-gpg-signing-computer-wide-8pf</guid>
      <description>&lt;p&gt;&lt;a href="https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key"&gt;https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to write a new custom lint rule in flutter or dart</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Fri, 03 Nov 2023 17:37:43 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/how-to-write-a-new-custom-lint-rule-in-flutter-or-dart-5bcp</link>
      <guid>https://dev.to/prasadsunny1/how-to-write-a-new-custom-lint-rule-in-flutter-or-dart-5bcp</guid>
      <description>&lt;p&gt;All the logic for analysis of linter packages live in dart lang repo.&lt;br&gt;
Specifically the following directory contains logic.&lt;/p&gt;

&lt;p&gt;For eg avoid_empty_else is stored here&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/dart-lang/sdk/blob/9fa33d8acdff743fc7265d147abe9261deb149bc/pkg/linter/lib/src/rules/avoid_empty_else.dart#L27"&gt;https://github.com/dart-lang/sdk/blob/9fa33d8acdff743fc7265d147abe9261deb149bc/pkg/linter/lib/src/rules/avoid_empty_else.dart#L27&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>flutter</category>
      <category>dart</category>
      <category>lint</category>
    </item>
    <item>
      <title>My first OSS PR</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Fri, 03 Nov 2023 14:41:36 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/my-first-oss-pr-4gb2</link>
      <guid>https://dev.to/prasadsunny1/my-first-oss-pr-4gb2</guid>
      <description>&lt;p&gt;So, Today I have raised a PR that I think is good to get reviewed in official Flutter repo.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/flutter/flutter/pull/137681"&gt;https://github.com/flutter/flutter/pull/137681&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It was pretty simple, I had to add support for color and color blend mode on FadeInImage. Additionally I had to pass these to construction of Image object which already supported color and colorBlendMode. Added some tests reffering to other widgets and done.&lt;/p&gt;

&lt;p&gt;I will be waiting for review on this one while hunting on working on another interesing PR. This time a bit more complicated to better my flutter skills.&lt;/p&gt;

&lt;p&gt;Life updates:&lt;br&gt;
Today I met a very close friend after a very long time. It was a nice day overall.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>flutter</category>
    </item>
    <item>
      <title>I have left my job and I am not sure what to do everyday</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Mon, 30 Oct 2023 12:04:05 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/i-have-left-my-job-and-i-am-not-sure-what-to-do-everyday-5gph</link>
      <guid>https://dev.to/prasadsunny1/i-have-left-my-job-and-i-am-not-sure-what-to-do-everyday-5gph</guid>
      <description>&lt;p&gt;It became incresingly hard to work with some folks and it was not work pressure related. I quit the job to reset the my mental state and get back the motivation to do something.&lt;/p&gt;

&lt;p&gt;I think I should...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do things that will favour me when I want to go back into job market&lt;/li&gt;
&lt;li&gt;Visit and talk to everyone whom I have missed because of work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Item no. 2 is straight forward, I am anyways visiting home for Diwali.  &lt;/p&gt;

&lt;p&gt;Back to career related stuff. I have figured out a lot of things that I would like to or should do in the free time that I get.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start solving leetcode&lt;/li&gt;
&lt;li&gt;Read and implement architecture, testing and security of mobile apps&lt;/li&gt;
&lt;li&gt;Build a couple of apps from my "App Ideas" notion doc using Flutter. and if someday it solves something for larger audience. Create an income stream out of them&lt;/li&gt;
&lt;li&gt;Build a scaffold Flutter project to clear take home assignments like a pro.&lt;/li&gt;
&lt;li&gt;Learn Android native and ios native to a certain depth by building something.&lt;/li&gt;
&lt;li&gt;plus 10 other things that I would like to do.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I am open to straight forward advice here. &lt;/p&gt;

&lt;p&gt;And I will write often to express about interesting things.&lt;/p&gt;

&lt;p&gt;Btw, is it ok to use "dev.to" to express like a personal blog?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Unable to install an app</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Wed, 25 Jan 2023 13:43:10 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/unable-to-install-an-app-557k</link>
      <guid>https://dev.to/prasadsunny1/unable-to-install-an-app-557k</guid>
      <description>&lt;p&gt;Run &lt;br&gt;
&lt;code&gt;adb shell pm uninstall in.zestmoney.android.zestlife.crew&lt;/code&gt;&lt;br&gt;
to uninstall the pkg fully.&lt;/p&gt;

</description>
      <category>developers</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Find SHA1 keys quickly from jks and apk</title>
      <dc:creator>sunny prasad</dc:creator>
      <pubDate>Wed, 11 Dec 2019 11:02:44 +0000</pubDate>
      <link>https://dev.to/prasadsunny1/find-sha1-keys-quickly-1fh5</link>
      <guid>https://dev.to/prasadsunny1/find-sha1-keys-quickly-1fh5</guid>
      <description>&lt;p&gt;xubuntu&lt;/p&gt;

&lt;p&gt;Specs are&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;xubuntu 19.04&lt;/li&gt;
&lt;li&gt;fresh android studio&lt;/li&gt;
&lt;li&gt;fresh flutter installation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For this command to run we need keytool.&lt;/p&gt;

&lt;p&gt;All the guides on the internet will ask you to go to jdk/bin.&lt;br&gt;
However, Now android studio includes jdk as part of the installation.&lt;/p&gt;

&lt;p&gt;So we can edit our &lt;code&gt;.zshrc&lt;/code&gt; file and add JDK etc to the path.&lt;/p&gt;

&lt;p&gt;Mine has platform tools, tools,flutter and studio's jdk added.&lt;/p&gt;

&lt;p&gt;open zshrc&lt;br&gt;
&lt;code&gt;nano .zshrc&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Paste these and change those paths as per your installation&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/home/prasadsunny1/.oh-my-zsh"
export ANDROID_HOME="/home/prasadsunny1/Documents/sdks/android"
export PATH="/home/prasadsunny1/Documents/sdks/flutter/bin":$PATH
export PATH="/home/prasadsunny1/Documents/android-studio/jre/bin":$PATH

path=("${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools" $path)

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"


&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;run this command &lt;br&gt;
&lt;code&gt;keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;you should get an output like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;➜  ~ keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Alias name: androiddebugkey
Creation date: 10 Dec, 2019
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: C=US, O=Android, CN=Android Debug
Issuer: C=US, O=Android, CN=Android Debug
Serial number: 1
Valid from: Tue Dec 10 23:52:27 IST 2019 until: Thu Dec 02 23:52:27 IST 2049
Certificate fingerprints:
     MD5:  xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
     SHA1: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
     SHA256: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Signature algorithm name: SHA1withRSA
Subject Public Key Algorithm: 2048-bit RSA key
Version: 1

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/prasadsunny1/.android/debug.keystore -destkeystore /home/prasadsunny1/.android/debug.keystore -deststoretype pkcs12".

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;Here in the middle, you have your SHA1 key.&lt;/p&gt;

&lt;h1&gt;
  
  
  Find SHA1 from your apk
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;extract apk and get META_INF/**.RSA&lt;/li&gt;
&lt;li&gt;find keytool inside androidstudio installation and open powershell there&lt;/li&gt;
&lt;li&gt;run &lt;code&gt;keytool -printcert -file name.RSA&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's all, Thaks for reading&lt;/p&gt;

&lt;p&gt;Follow me on twitter &lt;a href="http://twitter.com/prasadsunny1"&gt;http://twitter.com/prasadsunny1&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
