Here “public_profile” means to view your post to public. This permission is must. This is obtain when we click “get access token” it ask for to show the post to [public, friends, only me]. Select Public. It took complete one day to debug the problem.:P

Now check the Page_id of the page in which you want to publish. It is displayed in URL or you also see in the “About” Section of the page.

Create the new object just like “graph” object created with new access token.

The purpose of this blog is to inculcate the readers with some of the important network related commands and other command used on daily basis.

Rename multiple files in the same directory with extension phps to php.

$ rename ‘s/.phps$/.php/’ *.phps

History Command in Ubuntu

$history //This command maintains history of the commands you applied

The output of this command displays serial number and command only. What if you want to know when that command is applied and at what time? What to do so that your history command always display date and time also?

Now, I want to create a new branch exact copy of existing branch of remote amisha.

$git checkout -b new amisha/master

2. Pull the PR to the new branch

$git pull <remote_URL> <branch_name>

Here remote_URL is the URL of the repository who has opened/send that PR and branch_name is the name of branch where he has committed that changes. In the image the branch _name is HTML_files.

But in my case the situation was not that easy. Actually the person who has send that PR has deleted the fork of that repository.

Here branch name is unknown repository. So, the solution is below.

$git checkout master

$ git fetch -f origin pull/2/head:new

Second command means to fetch the changes from PR #ID(here ID is 2) to the newly created branch new. Remember this command won’t work if you are in the same branch where changes to be applied(here branch name is new). That is why I checkout to master branch initially.

If you have to login for wifi through browser. You can follow steps listed below.

$nmcli d wifi connect <WifiSSID> //WifiSSID means name of Wifi

Then install elink through

$sudo apt install elink

If already done then type

$elink

Enter URL of login page and password. Congratulation you are connected through Wifi from terminal. It may seem tedious task but if you know the real power of terminal than this long procedure is worth in.

Inspite of this I used to online tool to edit the properties like aspect ratio, height and width of image through online tool http://resizeyourimage.com/ . I have used it to fill GATE examination form.

set imap_user = "userName@gmail.com"
set imap_pass = "password"
set smtp_url = "smtp://userName@smtp.gmail.com:587/"
set smtp_pass = "password"
set from = "userName@gmail.com"
set realname = "Sender Name"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no