<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shubhamoy&#039;s Blog</title>
	<atom:link href="http://www.shubhamoy.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.shubhamoy.com</link>
	<description>Experiments With Web</description>
	<lastBuildDate>Thu, 22 Aug 2019 17:18:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>

<image>
	<url>https://www.shubhamoy.com/wp-content/uploads/2019/03/cropped-logo-1-32x32.jpg</url>
	<title>Shubhamoy&#039;s Blog</title>
	<link>https://www.shubhamoy.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>The resurrection of my MacBook Pro</title>
		<link>https://www.shubhamoy.com/the-resurrection-of-my-macbook-pro/</link>
					<comments>https://www.shubhamoy.com/the-resurrection-of-my-macbook-pro/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Thu, 07 Mar 2019 17:33:40 +0000</pubDate>
				<category><![CDATA[Apple Mac OS X]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[chameleon]]></category>
		<category><![CDATA[hdd-caddy]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[ssd]]></category>
		<guid isPermaLink="false">https://www.shubhamoy.com/?p=1298</guid>

					<description><![CDATA[Slow? Sluggish? Do these words ring a bell with the performance of your MacBook? Let me share the steps that would allow to regain the lost performance and boost your MacBook&#8217;s life for another 2-3 years: Let&#8217;s start with the SSD! Replaced my hard disk with Samsung QVO 860 1TB. This is one of the ... <a title="The resurrection of my MacBook Pro" class="read-more" href="https://www.shubhamoy.com/the-resurrection-of-my-macbook-pro/" aria-label="Read more about The resurrection of my MacBook Pro">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>Slow? Sluggish? Do these words ring a bell with the performance of your MacBook? Let me share the steps that would allow to regain the lost performance and boost your MacBook&#8217;s life for another 2-3 years:</p>



<h4 class="wp-block-heading">Let&#8217;s start with the SSD!</h4>



<p>Replaced my hard disk with <a rel="noreferrer noopener" aria-label="Samsung QVO 860 1TB (opens in a new tab)" href="https://amzn.to/2H6ehcy" target="_blank">Samsung QVO 860 1TB</a>. This is one of the most economical options. Selecting the right SSD can be quite complicated(form factor[M2, add-in, SATA, etc.] and type of storage[SLC, MLC, TLC, and QLC]). You can refer to this amazing article by <a rel="noreferrer noopener" aria-label="Tom's Hardware (opens in a new tab)" href="https://www.tomshardware.com/reviews/ssd-buying-guide,5602.html" target="_blank">Tom&#8217;s Hardware</a> to select one.</p>



<p>Now let&#8217;s quickly discuss the <strong>migration process</strong>. We would need a <strong><a href="https://amzn.to/2C8DpLr" target="_blank" rel="noreferrer noopener" aria-label="SATA-to-USB cable (opens in a new tab)">SATA-to-USB cable</a></strong> to get started. We can either install a fresh copy on the SSD by first formatting it in the Mac OS Extended format and then restarting the MacBook in the recovery mode. Otherwise, we can use <a rel="noreferrer noopener" aria-label="SuperDuper (opens in a new tab)" href="https://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html" target="_blank">SuperDuper</a> app which allows us to clone our hard disk. </p>



<p>The last step left is to replace the hard disk. A screwdriver set would be needed to open up the MacBook. I used this <a rel="noreferrer noopener" aria-label="screwdriver set (opens in a new tab)" href="https://amzn.to/2VKrrzb" target="_blank">screwdriver set</a>. Please check this <a rel="noreferrer noopener" aria-label="video (opens in a new tab)" href="https://www.youtube.com/watch?v=cfiGF_pjqvM" target="_blank">video</a> which shows in a step-by-step manner to remove the old HDD and install the SSD.</p>



<p>Anything left? Oh yeah! one last bit. We need to enable TRIM. And what&#8217;s that? SSDs works much differently than regular HDDs. TRIM improves the efficiency <g class="gr_ gr_670 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" id="670" data-gr-id="670">to</g> manage garbage collection. Install <a rel="noreferrer noopener" aria-label="Chameleon SSD Optimizer (opens in a new tab)" href="http://chameleon.alessandroboschini.com/" target="_blank">Chameleon SSD Optimizer</a>. </p>



<p>Following are the suggested settings for Chameleon SSD Optimizer: </p>



<ol class="wp-block-list"><li>Enable TRIM</li><li>Disable Sleep Image</li><li>Set Sleep Mode to 25</li><li>Turn off the Sudden Motion Sensor (SSD doesn&#8217;t have any moving parts)</li></ol>



<h4 class="wp-block-heading">Now let&#8217;s bump up the RAM</h4>



<p>If we were to believe the Apple website then the maximum RAM is 8GB for MacBook Pro Mid 2012 but across the internet geeks have installed 16GB without any issue. Please refer to <a rel="noreferrer noopener" aria-label="this page (opens in a new tab)" href="https://everymac.com/systems/apple/macbook_pro/macbook-pro-unibody-faq/macbook-pro-13-15-17-mid-2009-how-to-upgrade-ram-memory.html" target="_blank">this page</a> which lists the maximum RAM supported across different MacBooks.</p>



<h4 class="wp-block-heading">Anything else?</h4>



<ol class="wp-block-list"><li>We can add another SSD by removing the DVD Writer. We would be needing a <a rel="noreferrer noopener" aria-label="hard drive caddy (opens in a new tab)" href="https://amzn.to/2VIa6H4" target="_blank">hard drive caddy</a>(height: 9.5mm). In case, if we need a lot of storage then this is quite handy. </li><li>These methods can deliver similar results with a Windows laptop.</li></ol>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/the-resurrection-of-my-macbook-pro/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ever felt for a need of a thinking framework!</title>
		<link>https://www.shubhamoy.com/ever-felt-for-a-need-of-a-thinking-framework/</link>
					<comments>https://www.shubhamoy.com/ever-felt-for-a-need-of-a-thinking-framework/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Mon, 04 Mar 2019 16:34:17 +0000</pubDate>
				<category><![CDATA[Startup]]></category>
		<category><![CDATA[design-sprint]]></category>
		<category><![CDATA[design-thinking]]></category>
		<category><![CDATA[dschool]]></category>
		<category><![CDATA[node-chair]]></category>
		<guid isPermaLink="false">https://www.shubhamoy.com/?p=1309</guid>

					<description><![CDATA[In our day to day lives of software development, how frequent do we really think? Isn&#8217;t everything turning into muscle memory? At least for me, things were pretty much like muscle memory. I would acknowledge two events which made me realize the need to questioning my thinking. First, it came in the form of the ... <a title="Ever felt for a need of a thinking framework!" class="read-more" href="https://www.shubhamoy.com/ever-felt-for-a-need-of-a-thinking-framework/" aria-label="Read more about Ever felt for a need of a thinking framework!">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>In our day to day lives of software development, how frequent do we really think? Isn&#8217;t everything turning into muscle memory? At least for me, things were pretty much like muscle memory. I would acknowledge two events which made me realize the need to questioning my thinking. First, it came in the form of the book titled Sprint by Jake Knapp which touched on the topic of the design sprint. The second one was in the form of a hands-on workshop on Design Thinking by <a rel="noreferrer noopener" aria-label="Zishan Jiwani (opens in a new tab)" href="https://www.linkedin.com/in/zishanjiwani/" target="_blank">Zishan Jiwani</a>. Cheers to the team at <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://karmacircles.com" target="_blank">KarmaCircles</a> for organizing the event and kudos to Zishan. </p>



<p>After months of reading about design thinking, I delivered my first session to 14 kids(age: 10 to 15 years old) at their survival camp in Dehradun. Need to thank my friend <a rel="noreferrer noopener" aria-label="Ravi Dabbiroo (opens in a new tab)" href="https://www.facebook.com/ravi.dabbiroo" target="_blank">Ravi Dabbiroo</a> for inviting me. The kids came from The Integral School, Hyderabad. They were divided into three teams and assigned a task to design an alarm clock for a blind person. I hope the results would astonish you:</p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="1024" height="576" src="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia-1024x576.jpg" alt="" class="wp-image-1310" srcset="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia-1024x576.jpg 1024w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia-300x169.jpg 300w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia-768x432.jpg 768w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia-1560x878.jpg 1560w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_arshia.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Design submitted by Team Arshia</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="1024" height="576" src="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti-1024x576.jpg" alt="" class="wp-image-1311" srcset="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti-1024x576.jpg 1024w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti-300x169.jpg 300w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti-768x432.jpg 768w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti-1560x878.jpg 1560w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_kirti.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Design submitted by Team Kirti<br></figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="1024" height="576" src="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya-1024x576.jpg" alt="" class="wp-image-1312" srcset="https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya-1024x576.jpg 1024w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya-300x169.jpg 300w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya-768x432.jpg 768w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya-1560x878.jpg 1560w, https://www.shubhamoy.com/wp-content/uploads/2019/03/design_thinking_workshop_team_keya.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Design submitted by Team Keya</figcaption></figure>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>What is design thinking?</p><cite>A design methodology that provides a solution-based approach to solving problems.</cite></blockquote>



<p>Design thinking really provides us a proper framework for structuring our ideas and bring them to life. It starts with the most important concept of empathy. We can only solve a problem when we empathize with those suffering from the problem. </p>



<p>So are you really interested to kickstart your journey into design thinking? Following are a few resources to get started:</p>



<ol class="wp-block-list"><li><a rel="noreferrer noopener" aria-label="Creative Confidence by Tom and David Kelley (opens in a new tab)" href="https://amzn.to/2SHKTKM" target="_blank">Creative Confidence by Tom and David Kelley</a> &#8211; A brilliant book to start</li><li><a rel="noreferrer noopener" aria-label="d.school at Stanford (opens in a new tab)" href="https://dschool.stanford.edu" target="_blank">d.school at Stanford</a> &#8211; Lots of resources to get started</li><li><a href="https://www.ideo.com/case-study/redesigning-where-we-work-and-learn">The Node Chair</a> &#8211; A classic case study of design thinking</li></ol>



<p>I hope the above resources shall give you enough to initiate your journey. The best part being it works for everyone irrespective of one&#8217;s background and nature of job. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/ever-felt-for-a-need-of-a-thinking-framework/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What&#8217;s in the problem statement?</title>
		<link>https://www.shubhamoy.com/whats-in-the-problem-statement/</link>
					<comments>https://www.shubhamoy.com/whats-in-the-problem-statement/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Sat, 02 Mar 2019 14:55:07 +0000</pubDate>
				<category><![CDATA[Startup]]></category>
		<category><![CDATA[problem-statement]]></category>
		<category><![CDATA[startup]]></category>
		<guid isPermaLink="false">https://www.shubhamoy.com/?p=1302</guid>

					<description><![CDATA[It wasn&#8217;t very long ago that I was unfamiliar with the importance of a problem statement while starting any new initiative. Obviously, things have changed for good and that&#8217;s the reason for writing this article. A problem statement is essentially a concise description of an issue to be addressed or a condition to be improved ... <a title="What&#8217;s in the problem statement?" class="read-more" href="https://www.shubhamoy.com/whats-in-the-problem-statement/" aria-label="Read more about What&#8217;s in the problem statement?">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>It wasn&#8217;t very long ago that I was unfamiliar with the importance of a problem statement while starting any new initiative. Obviously, things have changed for good and that&#8217;s the reason for writing this article. A problem statement is essentially a concise description of an issue to be <g data-gr-id="351" id="351" class="gr_ gr_351 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep">address</g>ed or a condition to be improved upon.</p>



<p>Ever wondered what&#8217;s the problem statement for Uber. The most common answers that I&#8217;ve received were in the lines of convenience, comfort, and transparency of commute whereas for Uber it&#8217;s the ways to reduce the idle time(the time between a passenger deboarding and a new passenger boarding) for a cab. Around this problem statement, a different set of technologies are used to design the solution.</p>



<p>Now let&#8217;s talk about the problem statement for Flipkart or Amazon. The most common answers lie in the range of varieties of a product, convenience of shopping, and trackable shipping. Essentially Amazon or Flipkart is like courier companies and their prime problem statement is to increase the effectiveness of their warehouses. </p>



<p>Finally, what&#8217;s common between the problem statements of Uber and Flipkart? <strong>Idle Resource Utilization</strong>. Now if we&#8217;re to treat; idle resource utilization as a yardstick then we realize that Airbnb is also doing the same thing. </p>



<p>A startup could be solving multiple problems but clearly selecting the one carrying the most relevance at an early stage helps in gaining momentum leading to eventual success. Many times, it is advised to place the human in the centre of problem-solving to forge effective solutions.</p>



<p>I&#8217;m hopeful that this post gave you some enlightenment regarding the role and importance of a problem statement. Looking forward to hearing your responses and views.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/whats-in-the-problem-statement/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Are we eating our pastry with a shovel?</title>
		<link>https://www.shubhamoy.com/are-we-eating-our-pastry-with-a-shovel/</link>
					<comments>https://www.shubhamoy.com/are-we-eating-our-pastry-with-a-shovel/#comments</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Fri, 01 Mar 2019 10:04:07 +0000</pubDate>
				<category><![CDATA[Startup]]></category>
		<category><![CDATA[problem-statement]]></category>
		<category><![CDATA[product-design]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[ucd]]></category>
		<guid isPermaLink="false">https://www.shubhamoy.com/?p=1264</guid>

					<description><![CDATA[A thought provoking article covering a few lessons which would increase the effectiveness of a solution.]]></description>
										<content:encoded><![CDATA[
<p>I have spent a good amount of time in the startup fraternity from the tech side of things. It had been a couple of months when I started consulting a few emerging startups and realized a few of the mistakes from the past. Without a further ado, let&#8217;s quickly get to the lessons:</p>



<h3 class="wp-block-heading"><strong>Lesson 1: User gets the first preference</strong></h3>



<p>Any product is essentially built for a target audience but what if that user isn&#8217;t kept in the center of all discussions. The biggest issue of not keeping the user in the center creates more problems than solving one. A product moves from the phases of useful(solves a problem like a painkiller), usable(empathizes with the user), and desirable(user enjoys the process). </p>



<h3 class="wp-block-heading">Lesson 2: Technical prowess isn&#8217;t that crucial to start</h3>



<p>Airbnb started with a simple WordPress blog to start their initiative and today they&#8217;ve around 100 mobile engineers(<a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://medium.com/airbnb-engineering/react-native-at-airbnb-f95aa460be1c" target="_blank">Jun 2018</a>) in a company of fewer than 5000 employees. Facebook started with PHP in 2004 and later in 2014 created a dialect of PHP titled <a rel="noreferrer noopener" aria-label="Hack (opens in a new tab)" href="https://en.wikipedia.org/wiki/Hack_(programming_language)" target="_blank">Hack</a>. Also, created a virtual machine called HHVM(HipHop Virtual Machine) for improving the performance and stability. Data-driven decisions instill overall stability to a product and the company; could&#8217;ve facebook thought of the same in 2004. Only use that much amount of technology which solves the purpose.</p>



<h3 class="wp-block-heading">Lesson 3: Where&#8217;s your failure framework?</h3>



<p>Thomas Edison had failed a thousand times before creating the electric light bulb. Obviously, Bell didn&#8217;t invent the telephone in a one-shot process. When great scientists with huge experience and knowledge took years to create something then what are we afraid of? The only thing is to start fast and fail fast. The missing part of the puzzle is reinvesting the learnings from a failure. Remember the reason for solving the problem was the non-existing solution and that would take time. Also, remember the effectiveness of a solution does make a big difference to stay ahead from copycats.</p>



<h3 class="wp-block-heading">Lesson 4: Die in a team than survive in isolation</h3>



<p>In any team, there will always be differences but the whole team can stay in sync with the problem statement(how might we make the experience better). Irrespective of the role played by a team member they can think and empathize with their end-user. If you&#8217;re leading your team then ask yourself whether the potential of all the members is correctly utilized?</p>



<p>I hope these lessons give you some context and give you a slight push to question the ways things are currently solved at your workplace. Next time before embarking on a treacherous journey with some heavy technologies, ask yourself, are you eating your pastry with a shovel? </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/are-we-eating-our-pastry-with-a-shovel/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>[Video] Access WhatsApp on your Tablet and Phone Simultaneously</title>
		<link>https://www.shubhamoy.com/access-whatsapp-on-your-tablet-and-phone-simultaneously/</link>
					<comments>https://www.shubhamoy.com/access-whatsapp-on-your-tablet-and-phone-simultaneously/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Mon, 23 Mar 2015 08:10:55 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Whatsapp]]></category>
		<category><![CDATA[phone tablet whatsapp]]></category>
		<category><![CDATA[whatsapp web]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1243</guid>

					<description><![CDATA[Hey Folks, Recently I got a Nexus 7(2013) WiFi tablet and out of curiosity wanted to install WhatsApp Messenger. There are plenty of methods available online which requires either rooting or installing the messenger through the APK file. Thanks to WhatsApp Web we can access it on our tablet! Let&#8217;s see how to achieve it: ... <a title="[Video] Access WhatsApp on your Tablet and Phone Simultaneously" class="read-more" href="https://www.shubhamoy.com/access-whatsapp-on-your-tablet-and-phone-simultaneously/" aria-label="Read more about [Video] Access WhatsApp on your Tablet and Phone Simultaneously">Read more</a>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Hey Folks,</p>
<p style="text-align: justify;">Recently I got a Nexus 7(2013) WiFi tablet and out of curiosity wanted to install WhatsApp Messenger. There are plenty of methods available online which requires either rooting or installing the messenger through the APK file.</p>
<p style="text-align: justify;">Thanks to WhatsApp Web we can access it on our tablet! Let&#8217;s see how to achieve it:</p>
<p style="text-align: justify;"><strong>Step 1:</strong> Open Google Chrome on your tablet</p>
<p style="text-align: justify;"><strong>Step 2:</strong> From options menu, tick the <span style="text-decoration: underline;">Request Desktop Site</span>.<strong> </strong></p>
<p style="text-align: justify;"><strong>Step 3</strong>: Open <a title="WhatsApp for Web" href="http://web.whatsapp.com" target="_blank">web.whatsapp.com</a></p>
<p style="text-align: justify;"><strong>Step 4</strong>: Scan the QR Code using your phone having your WhatsApp</p>
<p style="text-align: justify;"><strong>Step 5</strong>: Now you can access your WhatsApp Messenger simultaneously on your tablet and phone</p>
<p style="text-align: justify;">I&#8217;ve prepared a video with the screenshots. Do check it out <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p style="text-align: justify;"><iframe loading="lazy" src="https://www.youtube.com/embed/Q-BRE7j7PeQ" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/access-whatsapp-on-your-tablet-and-phone-simultaneously/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What are the activities of Smartphone Users?</title>
		<link>https://www.shubhamoy.com/what-are-the-activities-of-smartphone-users/</link>
					<comments>https://www.shubhamoy.com/what-are-the-activities-of-smartphone-users/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Wed, 09 Oct 2013 13:32:33 +0000</pubDate>
				<category><![CDATA[statistics]]></category>
		<category><![CDATA[android v/s ios]]></category>
		<category><![CDATA[infographic]]></category>
		<category><![CDATA[ios share]]></category>
		<category><![CDATA[smartphone share]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1208</guid>

					<description><![CDATA[Infographic on What are the activities of Smartphone Users? This Infographic is produced by Coupon Audit (provides Shoebacca coupon) and Shubhamoy&#8217;s Blog Use the following code to embed this infographic on your website/blog: [html] This Infographic is produced by Coupon Audit (provides Shoebacca coupon) and Shubhamoy&#8217;s Blog[/html]]]></description>
										<content:encoded><![CDATA[<p>Infographic on What are the activities of Smartphone Users?</p>
<p><span id="more-1208"></span><br />
<a href="http://www.shubhamoy.com/wp-content/uploads/2013/10/What-Are-The-Activities-Of-Smartphone-Users.jpg"><img loading="lazy" decoding="async" class="size-full wp-image-1209" alt="What are the activities of Smartphone Users" src="http://www.shubhamoy.com/wp-content/uploads/2013/10/What-Are-The-Activities-Of-Smartphone-Users.jpg" width="553" height="4700" /></a></p>
<p>This Infographic is produced by <a href="http://www.couponaudit.com/coupons/shoebacca">Coupon Audit (provides Shoebacca coupon) </a> and <a href="http://www.shubhamoy.com/">Shubhamoy&#8217;s Blog</a></p>
<p>Use the following code to embed this infographic on your website/blog:<br />
[html]<img decoding="async" style="max-width: 100%;" alt="What Are The Activities Of Smartphone Users?" src="http://www.couponaudit.com/blog/wp-content/uploads/2013/10/What-Are-The-Activities-Of-Smartphone-Users..jpg" /><br />
This Infographic is produced by <a href="http://www.couponaudit.com/coupons/shoebacca">Coupon Audit (provides Shoebacca coupon) </a> and <a href="http://www.shubhamoy.com/">Shubhamoy&#8217;s Blog</a>[/html]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/what-are-the-activities-of-smartphone-users/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>An Evening with MongoDB</title>
		<link>https://www.shubhamoy.com/an-evening-with-mongodb/</link>
					<comments>https://www.shubhamoy.com/an-evening-with-mongodb/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Sun, 06 Oct 2013 15:43:32 +0000</pubDate>
				<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[mongodb codeigniter]]></category>
		<category><![CDATA[mongodb shell script]]></category>
		<category><![CDATA[mongodb with node.js]]></category>
		<category><![CDATA[mongodb with php]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1193</guid>

					<description><![CDATA[Few months back, I was planning for my major project at college. I was pretty confused since I didn&#8217;t wanted to work with PHP and MySQL that was the time when Abhishek suggested about MongoDB. Initially I faced a little bit difficulty due to the transition from schema to schema-less database. The best part that ... <a title="An Evening with MongoDB" class="read-more" href="https://www.shubhamoy.com/an-evening-with-mongodb/" aria-label="Read more about An Evening with MongoDB">Read more</a>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Few months back, I was planning for my major project at college. I was pretty confused since I didn&#8217;t wanted to work with PHP and MySQL that was the time when Abhishek suggested about MongoDB. Initially I faced a little bit difficulty due to the transition from schema to schema-less database. The best part that kept to hooked to it was the simplicity since it allows to keep the focus on the application and the database automatically adapts to the changes. Now after working on MongoDB for quite a long time and tackling various issues I thought of writing this article. It is divided into four phases consisting of Installation and Configuration, Working with MongoDB Shell, Working with PHP and MongoDB, and finally Working with node.js and MongoDB. This article is dedicated to the Facebook Group of MongoDB Developers, check link at the end of the article.</p>
<p style="text-align: justify;"><span id="more-1193"></span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Phase 1: Installation &amp; Configuration</strong></span></p>
<p style="text-align: justify;">Installation is pretty simple but still I&#8217;ve added it for the fulfillment of this article.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>For Windows Users</strong></span>: The following URL will guide you to install MongoDB and configure it for working with PHP.</p>
<p style="text-align: justify;">[box type=&#8221;info&#8221;]<a title="Installing and Configuring MongoDB on a Windows Machine with WAMP Server" href="http://www.pronique.com/blog/installing-mongodb-on-windows-the-wamp-way" target="_blank">www.pronique.com/blog/installing-mongodb-on-windows-the-wamp-way</a>[/box]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>For Linux Users</strong></span>: The following URL guides to install MongoDB based on the flavor used.</p>
<p style="text-align: justify;"><a title="Installing MongoDB on Linux" href="http://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/" target="_blank">docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/</a></p>
<p style="text-align: justify;">The following is a set of commands to add the PHP driver for MongoDB on a Linux box.</p>
<p>[shell]<br />
sudo yum install php-pear| sudo apt-get install php-pear<br />
sudo yum install php-devel | sudo apt-get install php-devel<br />
sudo pecl install mongo<br />
sudo echo &#8216;extension=mongo.so&#8217; &gt;&gt; /etc/php.ini<br />
[/shell]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Phase 2: Working with MongoDB Shell</strong></span></p>
<p style="text-align: justify;">Working with MongoDB shell is seriously fun. Following are some of the basic commands to start with:</p>
<p>[shell]<br />
&gt; show dbs //Displays the list of database<br />
&gt; use //Selects a database<br />
&gt; show collections //Displays collections inside a database<br />
&gt; db..find() //Displays all the records inside a collection<br />
[/shell]</p>
<p>The following code snippet helps in adding a user with password and set of roles to a database for authentication purposes.<br />
[shell]<br />
&gt; use<br />
&gt; db.addUser( { user: &#8220;&#8221;, pwd: &#8220;&#8221;, roles: [ &#8220;readWrite&#8221; ] } )<br />
[/shell]</p>
<p style="text-align: justify;">For correctly assigning roles to a user, the following link is quite helpful.</p>
<p style="text-align: justify;">[box type=&#8221;info&#8221;]<a title="User Privileges in MongoDB " href="http://docs.mongodb.org/manual/reference/user-privileges/" target="_blank">docs.mongodb.org/manual/reference/user-privileges/</a>[/box]</p>
<p style="text-align: justify;">We can also pass scripts written in simple javascript for interacting with the MongoDB shell. Following is a piece of code for adding a user &#8220;<em>sadmin</em>&#8221; with password &#8220;<em>blog</em>&#8221; with default privileges.</p>
<p>[javascript]<br />
//Source Code of Mongo_addUser.js<br />
db = db.getSiblingDB(&#8220;shubhamoy&#8221;); // Selects or Creates the Database<br />
db.addUser(&#8220;sadmin&#8221;, &#8220;blog&#8221;);<br />
[/javascript]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Phase 3: Working with PHP and MongoDB</strong></span></p>
<p style="text-align: justify;">The following PHP function would return all the entries of the &#8220;<em>emps</em>&#8221; collection in the descending order.</p>
<p>[php]<br />
public function getAllEmployees()<br />
{<br />
$m = new MongoClient(&#8220;mongodb://scott:tiger@localhost:27017/employee&#8221;); //MongoDB Connection with Authentication on default port<br />
$database = $m-&gt;selectDB( &#8220;employee&#8221; ); //MongoDB Database Selection<br />
$db = $database-&gt;emps; //MongoDB Collection<br />
$result=$db-&gt;find(array(), array(&#8220;empno&#8221; =&gt; 1,&#8221;name&#8221; =&gt; 1, &#8220;deptno&#8221; =&gt; 1, &#8220;manager&#8221; =&gt; 1))-&gt;sort(array(&#8220;_id&#8221; =&gt; -1)); //Query<br />
return $result;<br />
}<br />
[/php]</p>
<p style="text-align: justify;">The main issue faced by developers coming from SQL background is with writing queries. <a title="Service for Converting MySQL Queries to MongoDB" href="http://www.querymongo.com/" target="_blank">QueryMongo.com</a> allows to generate MongoDB queries from traditional MySQL queries. It is quite useful for understanding the basics though I won&#8217;t suggest it for advanced or real-world applications instead refer the MongoDB Documentation for writing advanced queries.<a title="Service for Converting MySQL Queries to MongoDB" href="http://www.querymongo.com/" target="_blank"><br />
</a></p>
<p style="text-align: justify;">MongoDB can be easily integrated into CodeIgniter. Check out this repository for smooth integration  of MongoDB with CodeIgniter <a title="MongoDB Library for CodeIgniter" href="https://github.com/alexbilbie/MongoQB" target="_blank">github.com/alexbilbie/MongoQB</a></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Phase 4: Working node.js and MongoDB</strong></span></p>
<p style="text-align: justify;">Recently I was working on writing a HTTP Proxy server with node.js. It gave me an opportunity to integrate it with MongoDB. So we only need the MongoJS library for integrating MongoDB with node.js.  Following command will install the MongoJS module for node.js</p>
<p>[box type=&#8221;info&#8221;]npm install mongojs[/box]</p>
<p>Following are some snippets to start your work:</p>
<p>[javascript]<br />
var m = require(&#8216;mongojs&#8217;); //Include MongoJS Module<br />
var db = m(&#8216;myDB&#8217;); //Selects myDB Database<br />
var contact = db.collection(&#8216;contact&#8217;); //Selects contact Collection<br />
contact.insert({name: name, age:age}, function(err, doc)<br />
{<br />
console.log(&#8220;Record Inserted Successfully&#8221;);<br />
});<br />
[/javascript]</p>
<p style="text-align: justify;">For more examples and sample code snippets. Check out: <a title="MongoJS Usage for node.js" href="https://github.com/mafintosh/mongojs#usage" target="_blank">github.com/mafintosh/mongojs#usage</a></p>
<p style="text-align: justify;"><b><span style="text-decoration: underline;">Acknowledgement</span></b></p>
<p style="text-align: justify;">1. Abhishek Gahlot: The guy who introduced MongoDB and whose article(<a title="MongoDB and PHP Tutorial" href="http://www.tutstub.com/mongodb-php-tutorial/" target="_blank">link</a>) was quite useful in writing this article.</p>
<p style="text-align: justify;">2. MongoDB Group on Facebook <a href="https://www.facebook.com/groups/mongodbgroup/">facebook.com/groups/mongodbgroup/</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/an-evening-with-mongodb/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Disaster Management for a Web Developer</title>
		<link>https://www.shubhamoy.com/disaster-management-for-a-web-developer/</link>
					<comments>https://www.shubhamoy.com/disaster-management-for-a-web-developer/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Sun, 30 Jun 2013 18:36:44 +0000</pubDate>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[disaster management]]></category>
		<category><![CDATA[linux server backup]]></category>
		<category><![CDATA[vps backup]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1179</guid>

					<description><![CDATA[In today&#8217;s world, everyone owns a blog but have we ever wondered that what are we going to do in case of a disaster leading to loss of all the content? Just imagine a scenario where a popular blog crashes and all data is lost. We are living in a world where things are expected ... <a title="Disaster Management for a Web Developer" class="read-more" href="https://www.shubhamoy.com/disaster-management-for-a-web-developer/" aria-label="Read more about Disaster Management for a Web Developer">Read more</a>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">In today&#8217;s world, everyone owns a blog but have we ever wondered that what are we going to do in case of a disaster leading to loss of all the content? Just imagine a scenario where a popular blog crashes and all data is lost. We are living in a world where things are expected to happen instantly and at every point of time there are 1000+ alternatives for a given item. So to beat this situation we must be well prepared else we would end up messing up everything.</p>
<p style="text-align: justify;">Recently while working on a newspaper&#8217;s website, I was wondering that what if all the content is lost since how much can we trust the cloud; is a big question? I ended up writing a script which would dump the MySQL database and would create a final archive with the content and database dump. Finally this archive is transferred to another server.</p>
<p style="text-align: justify;">Now this script also has many limitations and issues but at least solves the purpose. The main focus is to handle some uncertain situations and secondly implementing a backup script on a server isn&#8217;t a rocket science but at least helps us prepare to handle a disaster.</p>
<p>[box type=&#8221;info&#8221;]</p>
<p style="text-align: center;"> <a title="VPS Backup Script by Shubhamoy on GitHub" href="https://github.com/shubhamoy/vpsbackup" target="_blank">VPS Backup Script</a></p>
<p>[/box]</p>
<p style="text-align: justify;">Finally I would like to request everyone to suggest more functions to the backup script as well as try installing it on their servers. In today&#8217;s world to actually create a difference one only needs to follow some basic tricks of trade which does the magic. Happy Coding <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p style="text-align: center;">
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/disaster-management-for-a-web-developer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Android Development 101</title>
		<link>https://www.shubhamoy.com/android-development-101/</link>
					<comments>https://www.shubhamoy.com/android-development-101/#comments</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Mon, 03 Sep 2012 19:17:11 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Mobile App Development]]></category>
		<category><![CDATA[android development]]></category>
		<category><![CDATA[free android training]]></category>
		<category><![CDATA[learn android]]></category>
		<category><![CDATA[online android training]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1155</guid>

					<description><![CDATA[Recently I had attended a conference EMERGE OUT Delhi by NASSCOM. One of the speaker in the conference was Mr. Rajan Anandan who is the Managing Director of Google India! His best words were, if you want to be a successful in next 2-3 years then switch to mobile application development and as a company ... <a title="Android Development 101" class="read-more" href="https://www.shubhamoy.com/android-development-101/" aria-label="Read more about Android Development 101">Read more</a>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Recently I had attended a conference EMERGE OUT Delhi by NASSCOM. One of the speaker in the conference was Mr. Rajan Anandan who is the Managing Director of Google India! His best words were, if you want to be a successful in next 2-3 years then switch to mobile application development and as a company if you wish to become a millionaire or billionaire then hire 100 mobile application developers. His words motivated me a lot and forced me to start learning mobile application development.</p>
<p style="text-align: justify;">Let&#8217;s find out that how can we actually start diving deep into learning Android:</p>
<blockquote><p>1.<span style="text-decoration: underline;"> <strong><a title="Android Development Reference" href="http://developer.android.com/" target="_blank">developer.android.com</a></strong></span></p>
<p>This website is sufficient for someone to learning android app development. It acts as a guide which covers from soups to nuts of android development. It also has a training feature where step by step methods are used.</p>
<p>2. <span style="text-decoration: underline;"><strong><a title="TheNewBoston Channel on YouTube for Android Development" href="http://www.youtube.com/course?list=EC2F07DBCDCC01493A&amp;feature=plcp" target="_blank">TheNewBoston</a> Channel on YouTUBE (Thanks to Abhishek Gahlot for sharing)</strong></span></p>
<p>As per Mr. Anandan in the coming times, 90% of a website&#8217;s content will be video. Since every likes watching a video. So the above mentioned channel has 200 videos for dedicated android training.</p></blockquote>
<p style="text-align: justify;">The above mentioned resources are more than sufficient for someone who wish to learn android.</p>
<p style="text-align: justify;"><span id="more-1155"></span></p>
<p style="text-align: justify;">Kindly check the following presentation on design and development of mobile apps since mobile app development is different from native app development.</p>
<p><iframe loading="lazy" style="border: 1px solid #CCC; border-width: 1px 1px 0; margin-bottom: 5px;" src="http://www.slideshare.net/slideshow/embed_code/5465097" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="427" height="356"></iframe></p>
<div style="margin-bottom: 5px; text-align: center;"><strong> <a title="Mobile Application Design &amp; Development" href="http://www.slideshare.net/ronnieliew/mobile-application-design-development-5465097" target="_blank">Mobile Application Design &amp; Development</a> </strong> from <strong><a href="http://www.slideshare.net/ronnieliew" target="_blank">Ronnie Liew</a></strong></div>
<div style="margin-bottom: 5px; text-align: left;">[box type=&#8221;info&#8221;]</div>
<div style="margin-bottom: 5px; text-align: left;"><span style="text-decoration: underline;"><strong>Useful Links</strong></span>:</div>
<div style="margin-bottom: 5px; text-align: left;"><a title="Android Cheat Sheet" href="http://acetips.wordpress.com/cheat-sheet/" target="_blank">Android Cheat Sheet</a></div>
<div style="margin-bottom: 5px; text-align: left;">[/box]</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/android-development-101/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Repair Damaged WordPress Installation</title>
		<link>https://www.shubhamoy.com/repair-damaged-wordpress-installation/</link>
					<comments>https://www.shubhamoy.com/repair-damaged-wordpress-installation/#respond</comments>
		
		<dc:creator><![CDATA[Shubhamoy]]></dc:creator>
		<pubDate>Thu, 26 Jul 2012 22:17:46 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress Security]]></category>
		<category><![CDATA[repair wordpress free]]></category>
		<category><![CDATA[repairing wordpress]]></category>
		<category><![CDATA[save hacked wordpress]]></category>
		<category><![CDATA[wordpress repair tut]]></category>
		<guid isPermaLink="false">http://www.shubhamoy.com/?p=1144</guid>

					<description><![CDATA[Recently one of my close friend&#8217;s WordPress site got attacked and he approached for a possible solution. After some basic assessment I found that the attacker had accessed the database and deleted the entries from wp_users table. So after restoring the values, the site started working smoothly. This experience led to the inspiration for writing ... <a title="Repair Damaged WordPress Installation" class="read-more" href="https://www.shubhamoy.com/repair-damaged-wordpress-installation/" aria-label="Read more about Repair Damaged WordPress Installation">Read more</a>]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Recently one of my close friend&#8217;s WordPress site got attacked and he approached for a possible solution. After some basic assessment I found that the attacker had accessed the database and deleted the entries from wp_users table. So after restoring the values, the site started working smoothly. This experience led to the inspiration for writing this article. Before we start, let&#8217;s find the reasons for a possible attack:</p>
<ol>
<li style="text-align: justify;"><span style="text-decoration: underline;"><strong>Site Hosted on a Vulnerable Server</strong></span>: Most of the times a WordPress site gets attacked just because of a vulnerable server since WordPress is highly secured from various attacks. So running after cheap web hosts isn&#8217;t a good decision.</li>
<li style="text-align: justify;"><span style="text-decoration: underline;"><strong>Badly Configured WordPress Installation</strong></span>: Most of the times the site isn&#8217;t properly configured in terms of security which leads to many exploits.</li>
</ol>
<p>Now let&#8217;s consider a attack scenario to understand the topic in a better way:</p>
<blockquote>
<p style="text-align: justify;">An attacker first of all attacks the most vulnerable site hosted on a server. After that he simply uploads a script known as shell and tries to traverse the whole server, which results in access to many websites. Most of the times a SymLink Attack is done to get access to all the domains hosted on that particular server. This results to access the wp-config.php file of any site using WordPress. Now the attacker gets access to the database and simply adds a new user to the database or modifies the password of the present user. Finally he logs into the admin panel and modifies any theme or plugin with the shell and thus gains full access.</p>
</blockquote>
<p style="text-align: justify;"><span id="more-1144"></span></p>
<p style="text-align: justify;">Now we have sufficient information to repair a WordPress Installation. Let&#8217;s divide the cases:</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Case 1: The homepage is showing something inappropriate and we can&#8217;t log into the admin panel</strong></span></p>
<blockquote>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step1</span>: Access PHPMyAdmin and check the wp_users table. If no values are present then move to Step 2 else move to Step 3</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 2</span>: Execute the following queries:</p>
<p style="text-align: justify;">[HTML]</p>
<p>INSERT INTO `databasename`.`wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES (&#8216;1&#8217;, &#8216;myblog&#8217;, MD5(&#8216;password&#8217;), &#8216;John Doe&#8217;, &#8216;info@johndoe.com&#8217;, &#8216;http://www.johndoe.com/&#8217;, &#8216;2012-06-07 21:03:00&#8217;, &#8221;, &#8216;0&#8217;, &#8216;John Doe&#8217;);</p>
<p>INSERT INTO `databasename`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, &#8216;1&#8217;, &#8216;wp_capabilities&#8217;, &#8216;a:1:{s:13:&#8221;administrator&#8221;;b:1;}&#8217;);</p>
<p>INSERT INTO `databasename`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, &#8216;1&#8217;, &#8216;wp_user_level&#8217;, &#8217;10&#8217;);</p>
<p style="text-align: justify;">[/HTML]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 3</span>: If the table wp_users and wp_usermeta has values then the delete all the records and then move to Step 2.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 4</span>: Remove all other index.html or index.php files and create a index.php in the root with the following code:</p>
<p style="text-align: justify;">[PHP]</p>
<p>&lt;?php</p>
<p>define(&#8216;WP_USE_THEMES&#8217;, true);</p>
<p>require(&#8216;./wp-blog-header.php&#8217;);</p>
<p style="text-align: justify;">[/PHP]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 5</span>: Your installation should work fine, if still you find some error then check another case.</p>
</blockquote>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong>Case 2: We can&#8217;t log in to the Admin Panel and the site working fine</strong></span></p>
<blockquote>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 1</span>: This means that someone has simply deleted the username or changed the password.</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 2</span>: Access PHPMyAdmin and access the wp_users table, if the user is available and all the other values like email, etc. are correct then execute the following query:</p>
<p style="text-align: justify;">[HTML]</p>
<p style="text-align: justify;">UPDATE  `database`.`wp_users` SET  `user_pass` = MD5(  &#8216;password&#8217; ) WHERE  `wp_users`.`ID` =&lt;your user id&gt;;</p>
<p style="text-align: justify;">[/HTML]</p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Step 3</span>: After successfully logging into Admin Panel, kindly change your password once again since WordPress has a flaw, i.e., it stores salted passwords but work with simple MD5 Hashed password.</p>
</blockquote>
<p style="text-align: justify;">There can be many other cases but mainly the above two solves the issue unless someone hadn&#8217;t deleted the whole database. Finally here&#8217;s a list of things to do for future protection:</p>
<ol>
<li>Delete all the files of WordPress installation except the wp-content folder</li>
<li>Upload the wp-admin, wp-includes and root files from latest WordPress archive</li>
<li>Upload the <a title="Emposha's PHP Shell Detector" href="https://github.com/emposha/PHP-Shell-Detector" target="_blank"><span style="text-decoration: underline;"><strong>Emposha&#8217;s PHP Shell Detector</strong></span></a> and scan for any shell script</li>
<li>Finally run the installation and follow the steps mentioned in <a title="Securing WordPress Installation" href="http://www.shubhamoy.com/securing-wordpress-installation/" target="_blank">this article</a></li>
</ol>
<p style="text-align: justify;"> This brings us to the end of this article and I guess that next time when someone&#8217;s WordPress installation is attacked then he/she should be able to repair on its own. Now if you&#8217;ve any types of questions then please proceed. Even I can assist you as well.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.shubhamoy.com/repair-damaged-wordpress-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
