{"componentChunkName":"component---src-templates-blog-post-js","path":"/applications/","result":{"data":{"site":{"siteMetadata":{"title":"Recipes Collection","author":"Internet Community"}},"markdownRemark":{"id":"db6bf6b4-85d3-502e-a47d-c9a8ac13e11d","html":"<h2 id=\"sourcetree\"><a href=\"#sourcetree\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>SourceTree</h2>\n<h3 id=\"q---how-to-notify-sourcetree-to-use-latest-credentials-when-scb-account-password-is-updated\"><a href=\"#q---how-to-notify-sourcetree-to-use-latest-credentials-when-scb-account-password-is-updated\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Q - How to notify SourceTree to use latest credentials when SCB account password is updated?</h3>\n<ul>\n<li>Go to Keychain and remove SourceTree credentials entry. (Select all the entries in the keychain application and look for ‘Where: SourceTree’ in the entry. Delete such entry.)</li>\n<li>Go to SourceTree and ‘pull’ or ‘fetch from origin’. It will ask for you to enter password.</li>\n<li>Add the new password and click the checkbox of ‘Store Password in Keychain’</li>\n</ul>\n<h3 id=\"q---in-macos-when-you-make-a-change-in-the-code-sourcetree-might-show-that-entire-file-is-changed-how-to-fix-this\"><a href=\"#q---in-macos-when-you-make-a-change-in-the-code-sourcetree-might-show-that-entire-file-is-changed-how-to-fix-this\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Q - In MacOS, when you make a change in the code, sourceTree might show that entire file is changed. How to fix this?</h3>\n<ul>\n<li>This would happen because of the line separators used in the file.</li>\n<li>In Such case follow the step “Change line separator for a file currently opened in the editor” in following documentation</li>\n<li><a href=\"https://www.jetbrains.com/help/webstorm/configuring-line-endings-and-line-separators.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://www.jetbrains.com/help/webstorm/configuring-line-endings-and-line-separators.html</a></li>\n</ul>\n<h2 id=\"iterm\"><a href=\"#iterm\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>iTerm</h2>\n<h3 id=\"q---how-can-i-save-tabs-in-iterm-2-so-they-restore-the-next-time-the-app-is-run\"><a href=\"#q---how-can-i-save-tabs-in-iterm-2-so-they-restore-the-next-time-the-app-is-run\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Q - How can I save tabs in iTerm 2 so they restore the next time the app is run?</h3>\n<ul>\n<li>You can Save and Restore Window Arrangement with ⇧ ⌘ S and ⇧ ⌘ R options under the Window screen in iTerm2</li>\n<li>You can add arrangements with the ⇧ ⌘ S and manage them under Preferences -> Arrangements tab .</li>\n<li>You can start the default Arrangement Option to enable are at Preferences -> General -> Startup -> Open default window arrangement .</li>\n<li><a href=\"https://apple.stackexchange.com/a/25084\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://apple.stackexchange.com/a/25084</a></li>\n</ul>\n<h2 id=\"chrome\"><a href=\"#chrome\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Chrome</h2>\n<h3 id=\"keyboard-shortcuts\"><a href=\"#keyboard-shortcuts\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Keyboard Shortcuts</h3>\n<table>\n<thead>\n<tr>\n<th>Command</th>\n<th align=\"right\">Shortcut Key</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Focus on the address bar</td>\n<td align=\"right\">Mac - Command + L , Windows - Control + L</td>\n</tr>\n<tr>\n<td></td>\n<td align=\"right\"></td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"extensions\"><a href=\"#extensions\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Extensions</h3>\n<ol>\n<li>\n<p>Vimium</p>\n<ul>\n<li>Allows keyboard navigation</li>\n<li>Useful Vimium Keyboard shortcuts</li>\n</ul>\n</li>\n</ol>\n<table>\n<thead>\n<tr>\n<th>Command</th>\n<th align=\"right\">Shortcut Key</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Open a link in the current tab (LinkHints.activateMode)</td>\n<td align=\"right\">f</td>\n</tr>\n<tr>\n<td>Open a link in a new tab (LinkHints.activateModeToOpenInNewTab)</td>\n<td align=\"right\">F</td>\n</tr>\n<tr>\n<td>Reload the page (reload)</td>\n<td align=\"right\">r</td>\n</tr>\n<tr>\n<td>Open URL, bookmark or history entry (Vomnibar.activate)</td>\n<td align=\"right\">o</td>\n</tr>\n<tr>\n<td>Open URL, bookmark or history entry in a new tab (Vomnibar.activateInNewTab)</td>\n<td align=\"right\">O</td>\n</tr>\n<tr>\n<td>Search through your open tabs (Vomnibar.activateTabSelection)</td>\n<td align=\"right\">T</td>\n</tr>\n</tbody>\n</table>\n<h3 id=\"open-chrome-by-disabling-web-security-to-avoid-cors-issue\"><a href=\"#open-chrome-by-disabling-web-security-to-avoid-cors-issue\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Open chrome by disabling web-security to avoid CORS issue</h3>\n<p>Run below command in <code class=\"language-text\">Run</code> dialog [Windows+R]</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token comment\"># MacOS (in Terminal)</span>\n<span class=\"token function\">open</span> -na Google<span class=\"token punctuation\">\\</span> Chrome --args --user-data-dir<span class=\"token operator\">=</span>/tmp/temporary-chrome-profile-dir --disable-web-security --disable-site-isolation-trials\n\n<span class=\"token comment\"># Windows (from \"Run\" dialog [Windows+R])</span>\nchrome.exe --disable-web-security --disable-site-isolation-trials --user-data-dir<span class=\"token operator\">=</span><span class=\"token string\">\"C:<span class=\"token entity\" title=\"\\\\\">\\\\</span>Users\\Username<span class=\"token entity\" title=\"\\t\">\\t</span>emp\\Chrome\"</span></code></pre></div>\n<p>Reference - <a href=\"https://stackoverflow.com/a/58658101\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://stackoverflow.com/a/58658101</a></p>","timeToRead":3,"frontmatter":{"title":"Applications","date":"October 29, 2019","spoiler":"Following are some notes collected through internet"},"fields":{"slug":"/applications/","langKey":"en"}}},"pageContext":{"slug":"/applications/","previous":{"fields":{"slug":"/csharp/","langKey":"en","directoryName":"csharp","maybeAbsoluteLinks":[]},"frontmatter":{"title":"CSharp Notes"}},"next":{"fields":{"slug":"/javascript-tools/","langKey":"en","directoryName":"javascript-tools","maybeAbsoluteLinks":[]},"frontmatter":{"title":"JavaScript Tools"}},"translations":[],"translatedLinks":[]}}}