Friday, April 19, 2019

There appears to be trouble with your network connection. Retrying... [SOLVED]

So recently I was facing an issue while adding Yarn package to my application. Every time I was doing Yarn add it was showing me error like There appears to be trouble with your network connection. So problem is, this happens when your network is too slow or the package being installed is too large, and yarn just assumes it's a network problem. Lets try increasing Yarn network timeout!

To resolve this problem all you need to do is:

yarn add <yourPackage> --network-timeout 100000


Now if problem still exists then you need to add proxy.
To add proxy just do below.

$ yarn config set proxy http://your_company_proxy_url:port
$ yarn config set https-proxy http://localhost:3128

example $ yarn config set https-proxy http://proxy.example.com:8080

Add a comment below if problem still exists :) Will be happy to help you!


Thursday, July 16, 2015

Google News Reader using javascript and jQuery

Hey everyone,

Just developed a Google News Reader using google news api.

So just to sharpen my javascript skills, I have developed this small project.

What's special ?

  • Auto update. If turned on, it will keep on refreshing the news based on selected intervals.
  • Choose news from various country.
  • Responsive page design. Page will load as per the device width.

How to download ?

I have created a repository on my GitHub.
All you need to do is download the zip.
Click on below link to download google news reader!

DOWNLOAD NEWS READER


How to use ?

Once you download the news reader, just extract the zip and open the index.html file. That's it! you are done!
Enjoy the latest news.  Let me know your valuable comments :)

I am planning to develop more javascript webapp/addon's/modules.



Thanks for reading,
Amit

Monday, April 6, 2015

GNU/Linux Distribution Timeline

GNU/Linux Distribution Timeline

Ladies and gentlemen here is GNU/Linux distribution timeline. Look at my favorite Debian > Ubuntu  branch :) so many distributions under that. Feeling great :)

Full Screen Image

Click to see full screen

Click here to see Full Screen


Thursday, April 2, 2015

Error: Apache shutdown unexpectedly [SOLVED]

Hello Guys,

So, I have been installing XAMPP on my office windows 8 machine and it didn't worked in first attempt. I knew it something is wrong with ports/config settings.
When I clicked on 'Start' button of XAMPP control panel, it showed me below error.

Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums

Problem detected!
Port 80 in use by "Unable to open process" with PID 4!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application

or reconfigure Apache and the Control Panel to listen on a different port

Please follow the steps to solve this problem:

1) From XAMPP control panel click on Apache 'config' button. 

2) Now, httpd.conf file will be opened in text editor. 

3) Find (Control + F) Listen 80 replace it to Listen 8080

4) Again find ServerName localhost:80 replace it to ServerName localhost:8080

5) Now save the file and go to XAMPP control panel and click on 'Start' button. 

6) Now go to http://localhost:8080 you should see XAMPP index page. 
    Congratulations: You have successfully installed XAMPP on your system! :) 


So how did it worked ?

Your port 80 was busy and we are now using unique port i.e. 8080
So remember whenever you are going to access the localhost you will be using it like http://localhost:8080 same for phpmyadmin http://localhost:8080/phpmyadmin/

If you insist with default port 80 then you need to look in your computer and find which installed software is using port 80. 

e.g. skype uses default port 80. 
To clear that port, open skype then go to Tools > Options > Advanced > Connection > and in that uncheck 'Use port 80 and 443 for additional incoming connections' option. Then save it and restart the skype. Now your skype will use another unique port. 
Thats how you can clear port 80. 


Helpful ? comments please :)


Tuesday, September 16, 2014

Linux Commands Cheat Sheet

Hi Guys,

I have an idea! I have created most useful and important linux commands cheat sheet.

To make it more easy, I have created a short URL. So now you can access this cheat sheet file with simple URL.



Linux command cheat sheet
CopyLeft Linux Command Cheat Sheet

Note : Click on above image to see full size.



Thanks for reading!
Enjoy and be open
Amit Naik

Monday, September 15, 2014

Freedom of Operating System

Windows! windows everywhere!

Just open the window and see the magical world of linux.





That's right! I still remember when I was in my college, I used to wonder that how these operating systems so called as "Linux" are powerful, faster, safer and yet free!! But now after so many years of exploration and usage I can bet that these are the most faster, safer and free (truly free..where you can share its source code with your friend, you can share the bootable disc with your friend).

Enough said, Lets look at some of the major Linux distributions.

1) Linux Mint
Download page: http://www.linuxmint.com/download.php



2) Ubuntu
Download page: http://www.ubuntu.com/download/desktop/



3) Debain
Download page: https://www.debian.org/CD/http-ftp/



4) Fedora
Download page: http://fedoraproject.org/en/get-fedora



5) Open Suse
Download page: http://software.opensuse.org/



6) Arch Linux
Download page: https://www.archlinux.org/download/



7) Mageia
Download page: https://www.mageia.org/en/downloads/



8) Cent OS
Download page: http://www.centos.org/download/



9) PCLinuxOS
Download page: http://pclinuxos.com/?page_id=10



10) FreeBSD
Download page: https://www.freebsd.org/where.html



So what are you waiting for. Just choose your favorite Linux OS and download it today!
Share your experience with the community.

Thanks for reading.
Enjoy and be open!
Amit Naik


Thursday, October 10, 2013

How to podcast feeds using FeedBurner

Hey Guys,

Now I have my very own podcast powered by FeedBurner! You can also burn feeds of your blog or for your website! Process is very simple...

1) Just go to http://feedburner.google.com/
2) Sign in with your google account and then enter your blog URL at "Burn a feed right this instant"
3) Make sure you have checked I am a podcaster! option and then hit Next.
4) Next step is 'Identify Feed Source', just keep the selected option and hit Next.
5) Now final step is 'Welcome! Let us burn a feed for you'. Now after this step it will show you your FeedBurner URL. Just save that URL and show it on your blog.

If you are using FeedBurner then people can subscribe to your feeds.
Other blogs or websites can easily import your posts.
The very important use of FeedBurner is analyze Feeds! You can simply track your feeds. Traffic to your feeds using its tracker. If you are logged in then just visist the admin dashboard.
FeedBurner was acquired by Google Inc. on June 2007. Now it is free of cost. :) 
FeedBurner is also available in plain XML format. e.g. My blog feeds in XML

Now here, you can do one trick ;) If you are using Firefox (greatest browser ever made) then just visit your XML FeedBurner URL. At the top you will see a dropdown and Subscribe Now button.
Here, just select Live Bookmarks option from dropdown! and hit Subscribe Now button. Now you will see subscribe bookmark popup. Just select your bookmark folder and save it.
Now you will get to see feeds directly in your Firefox's bookmarks menu bar. :) Simply Awesome!

E.g.


So here is my blog's FeedBurner URL :) http://feeds.feedburner.com/blogspot/WrQrB
Now you can subscribe to my feeds!

Thanks for reading,
Amit Naik