Drupal Code: Fetch Link, Title, Category names, tag names from every article
See the code below: The output will be 4 columns separated by comma. You can…
May 30, 2019
Github is an awesome place of storing your code. Now, it also allows you to have private repositories for free. But, only projects in your personal account, not in your organization.
Github web view provides lot of shortcuts which increase your productivity. Here, I will list down only those shortcuts which are very useful:
Make sure you are in Code tab in your repository. There is a shortcut of going there as well. Look below in this post.
Press 't' button
This activates file finder. Now, start typing some name. As you type it will start searching. It will start showing the list of matching files in below area. And, you can select them using up and down arrow keys.
Press 'w' button
This will activates the Branches drop down, and you can start typing which branch you want to select. Or, you can create a new branch by typing a new name. Plus, you can also switch to a tag
First goto that file either by browsing, or by searching by pressing ‘t’ button. Now, when you have opened up a file.
Press 'y' button
The URL in browser expands to give you the direct link to this file. Note, you were already to the direct link of that file. But, that link will always to latest file in that branch. This link will give you always this file, which includes the commit id as well.
Press 's' or '/' button
You will goto search bar on top. Now start typing anything you want to search.
Press 'gn' i.e. first 'g', then 'n'
Press 'gc', i.e. first 'g' then 'c'
Similarly you can goto other tabs as well:
'gi' for Issues tab
'gp' for Pull requests tab
'gb' for Projects tab
'gw' for Wiki tab
See the code below: The output will be 4 columns separated by comma. You can…
While running docker commands with some images, I started getting error: The…
Introduction There might be a situation when you are doing some changes in the…
Being a drupal user from last around 5 years, I used to know small codes for…
Introduction In this post, I will show how to validate your json schema…
Assuming you have a java project and is using Visual Studio Code as IDE. All of…
In this post, we will see some of the frequently used concepts/vocabulary in…
System design interview is pretty common these days, specially if you are having…
Introduction You are given an array of integers with size N, and a number K…
Graph Topological Sorting This is a well known problem in graph world…
Problem Statement Given a Binary tree, print out nodes in level order traversal…
Problem Statement Given an array nums of n integers and an integer target, are…