Skip to main content

Posts

How to Upgrade PostgreSQL from 9.6 to 10.0 on Ubuntu 16

A Step-by-Step Guide to upgrade postgresql from 9-6 to 10 on ubuntu 16 1.Make a backup. Make sure that your database is not being updated.   pg_dumpall > outputfile  2. Install Postgres 10.             a) Create the file /etc/apt/sources.list.d/pgdg.list and add a line for the repository                     deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main                       b) Import the repository signing key, and update the package lists                    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update 3. Run sudo apt-get install postgresql-10 . A newer version will be installed side-by-side with the earlier version. 4. Run pg_lsclusters: Ver  Cluster   Port     S...

How to copy data from one ubuntu machine to another

How can I copy folder from one computer to another in ubuntu? If you want to transfer some files from Ubuntu to Windows or Ubuntu to Ubuntu , you can transfer via smba or sftp using below steps : Steps to share from ubuntu To get started, right-click on the folder you wish to share and select ‘Sharing Options’ When prompted to install Samba services, do it. Then click ‘Create Share’ to complete the process. Access it from Windows On the Windows machine, go to Start –> All Programs –> Accessories –> run and type the command: \\computer_name\share_name computer name can be ip address of ubuntu machine , to check ip of ubuntu machine , go to ubuntu machine & open terminal & type ifconfig Type the Ubuntu computer name and the share name of the resource. You will get a prompted to enter your credentials. Type your Ubuntu username and password and click ‘OK’ Access it from ubuntu on same network sftp://192.168.x.x Username = Ubuntu Machine Username from whe...

How to Clear LinkedIn Cache for Link Preview - Clear LinkedIn Cache

While Sharing the url via social fb , twitter , linkedin etc , sometime we face the issue of old version of image/content. This mostly happens with LinkedIn ;) If you share an older post or page it will grab the Open Graph tags to display the image and meta information. The problem is LinkedIn probably has your old tags cached on its system. So you need a way to refresh it. To fix this you simply need to add a query string to the end of the URL. For example, I changed the following: https://svikramjeet.blogspot.in to https://svikramjeet.blogspot.in/?ref=home It doesn’t matter what it is, and in fact the URL above will still work. This will then update the post information as LinkedIn can’t cache query strings. You can in fact then actually remove the query string, leaving your original URL, as LinkedIn will then have the up to date Open Graph tags. You can see below the new information that was now pulled from the same URL. And that’s it! You have now cleared LinkedIn cach...

Buildup Makes Russia Battle-Ready for Ukraine

Buildup Makes Russia Battle-Ready for Ukraine Over 300 Ukrainian troops have crossed into Russia during heavy fighting with pro-Russian separatists. The border area is very tense amid Ukrainian allegations that Russian forces have been helping the separatists with rocket barrages.Russia has announced that it will hold an air force exercise this week near the border. A Russian defence ministry spokesman said 100 aircraft would take part in the operation. Recently near Ukraine border, Russia has nearly doubled the number of its battalions.Over the few past weeks, Russia has built up 17 battalions ,totaling around 21,000 troops, according to one estimate within a few miles of the border. In addition, it has vastly expanded its firepower.President of Russia could be seeking to pressurize ukraine and the United States to agree to a political settlement that would grant the eastern provinces of Ukraine.

World Cup 2014

FIFA World Cup 2014 The 2014 FIFA World Cup is the 20th FIFA World Cup, a tournament for the men's football world championship, which is currently taking place in Brazil.It began on 12 June, with a group stage, and is scheduled to conclude on 13 July with the final. Prediction & Results The final eight teams in the 2014 World Cup Brazil are now known, so thoughts turn to the quarter-final matches and who will place themselves just one step away from the final.There is little surprise that Brazil are favourites to beat Colombia considering the hype surrounding the host nation. But those odds certainly do not reflect form or the current state of play.brazil beat colombia  to enter world cup 2014 brazil semi-final . France and Germany began the World Cup 2014 strongly, but have been less spectacular in recent games and in Germany’s case their defensive vulnerabilities have been all-too easily exposed. Interestingly, both coaches appeared to find the right formula late o...

World Cup 2014 Brazil : Germany Defeats United States, 1-0

World Cup 2014 Brazil Group G Match Thomas Müuler’s goal in the 55th minute gave the Germans a 1-0 victory, but that result, coupled with Portugal’s 2-1 win over Ghana, left the Americans in second place in Group G, the so-called Group of Death . That is good enough for Team USA to qualify for the round of 16, where they will probably meet Belgium. “It’s huge for us, getting out of this group,” Coach Jurgen Klinsmann said. “Everybody said you have no chance. We took that chance, and we move on and now we really want to prove a point.” “Today was a tough game, tough conditions,” goalkeeper Tim Howard said. “Hats off to Germany. I think they have a chance to win the World Cup -- that’s how good I think they are. But we get to the round of 16. It shows how far we’ve come that we’re not happy, that we want to progress.” The heavy-legged Americans rarely tested Germany, who finished with 68 percent ball possession for the match and 7 points as champions of the group. Th...

Do a Google image search for 'Atari Breakout' and let the rest of your day disappear?

Always looking for new opportunities to turn its mammoth search engine and associated features into interactive and exceedingly distracting Easter eggs, Google has put on another show in honor of the 37th birthday of Atari's classic video game "Breakout." Just try typing "Atari Breakout" into Google's image search. Instead of getting the usual cluster of high- and low-resolution images of the retro paddle-based game, the screen then transforms all the images into tiny bricks for you to destroy in a game Google is calling "Image Breakout." Occasionally and for whatever reason, Google image search will redirect to another search entirely before activating the game. I got "Parmigiana" and "Chicago" in that order, so I was destroying tiny little bricks made out of Italian Parm sandwiches and Windy City landmarks. Originally created by Nolan Bushnell and Steve Bristow, "Breakout" debuted in 1976. It was based on a simil...