Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

interactive-mode

Git diff: Write output and exit instead of interactive mode

July 31, 2023 by Tarik

Disable the interactive pager with the –no-pager option. Usage: git –no-pager diff (note how it’s not specific to git-diff, so it’s usable with any git command!) Documentation: https://git-scm.com/docs/git Copied from https://stackoverflow.com/a/2183920/2221472

Categories macos Tags diff, git, interactive-mode, macos Leave a comment

Is there an “immediate window” in Visual Studio Code to run Javascript?

June 6, 2023 by Tarik

As of (at least) my current version of VS Code (1.5.2), the “Debug Console”, while debugging, lets you run arbitrary JavaScript code as you would in the VS Immediate Window. (Similar to as you would for the Chrome Dev Tools Console.)

Categories javascript Tags interactive-mode, interpreter, javascript, visual-studio, visual-studio-code Leave a comment

‘git stash apply’ with Interactive Mode

March 23, 2023 by Tarik

Is it possible? Yes it is! git checkout -p stash@{0} Where you can replace the 0 in stash@{0} with the index of the stash you want to apply. Use git stash list and git show -p stash@{n} if unsure which n is the stash you want to apply. Don’t forget to git stash drop stash@{n} … Read more

Categories git Tags chunks, git, git-stash, interactive-mode Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa